using Robust.Shared.Audio; using Robust.Shared.GameStates; namespace Content.Shared.Item.ItemToggle.Components; /// /// Handles the active sound being played continuously with some items that are activated (ie e-sword hum). /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class ItemToggleActiveSoundComponent : Component { /// /// The continuous noise this item makes when it's activated (like an e-sword's hum). /// [DataField(required: true), AutoNetworkedField] public SoundSpecifier? ActiveSound; /// /// Used when the item emits sound while active. /// [DataField] public EntityUid? PlayingStream; }