using Content.Server.Chat.Systems; using Robust.Shared.Audio; using Robust.Shared.Maths; namespace Content.Server.Chat; /// /// Dispatches an announcement to everyone when the entity is mapinit'd. /// [RegisterComponent, Access(typeof(AnnounceOnSpawnSystem))] public sealed partial class AnnounceOnSpawnComponent : Component { /// /// Locale id of the announcement message. /// [DataField(required: true)] public LocId Message = string.Empty; /// /// Locale id of the announcement's sender, defaults to Central Command. /// [DataField] public LocId? Sender; /// /// Sound override for the announcement. /// [DataField] public SoundSpecifier? Sound; /// /// Color override for the announcement. /// [DataField] public Color? Color; }