using System.Numerics; using Robust.Shared.Audio; using Robust.Shared.GameStates; namespace Content.Shared.Item.ItemToggle.Components; /// /// Handles the embeddable stats for activated items. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class ItemToggleEmbeddableProjectileComponent : Component { /// /// The removal time when this item is activated. /// [DataField, AutoNetworkedField] public float? ActivatedRemovalTime; /// /// The offset of the sprite when this item is activated. /// [DataField, AutoNetworkedField] public Vector2? ActivatedOffset; /// /// Whether this entity will embed when thrown when this item is activated. /// [DataField, AutoNetworkedField] public bool? ActivatedEmbedOnThrow; /// /// The sound to play after embedding when this item is activated. /// [DataField, AutoNetworkedField] public SoundSpecifier? ActivatedSound; /// /// The removal time when this item is deactivated. /// [DataField, AutoNetworkedField] public float? DeactivatedRemovalTime; /// /// The offset of the sprite when this item is deactivated. /// [DataField, AutoNetworkedField] public Vector2? DeactivatedOffset; /// /// Whether this entity will embed when thrown when this item is deactivated. /// [DataField, AutoNetworkedField] public bool? DeactivatedEmbedOnThrow; /// /// The sound to play after embedding when this item is deactivated. /// [DataField, AutoNetworkedField] public SoundSpecifier? DeactivatedSound; }