using Content.Server.GameTicking.Presets;
using Content.Shared.Sound;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
namespace Content.Server.Announcements;
///
/// Used for any announcements on the start of a round.
///
[Prototype("roundAnnouncement")]
public sealed class RoundAnnouncementPrototype : IPrototype
{
[IdDataFieldAttribute]
public string ID { get; } = default!;
[DataField("sound")] public SoundSpecifier? Sound;
[DataField("message")] public string? Message;
[DataField("presets", customTypeSerializer: typeof(PrototypeIdListSerializer))]
public List GamePresets = new();
}