using Robust.Shared.Audio; namespace Content.Shared.Sound.Components; /// /// Base sound emitter which defines most of the data fields. /// Accepts both single sounds and sound collections. /// public abstract partial class BaseEmitSoundComponent : Component { /// /// The to play. /// [DataField(required: true), AutoNetworkedField] public SoundSpecifier? Sound; /// /// Play the sound at the position instead of parented to the source entity. /// Useful if the entity is deleted after. /// [DataField, AutoNetworkedField] public bool Positional; }