using JetBrains.Annotations; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set; namespace Content.Server.Maps; /// /// Prototype that holds a pool of maps that can be indexed based on the map pool CCVar. /// [Prototype("gameMapPool"), PublicAPI] public sealed class GameMapPoolPrototype : IPrototype { /// [IdDataField] public string ID { get; } = default!; /// /// Which maps are in this pool. /// [DataField("maps", customTypeSerializer:typeof(PrototypeIdHashSetSerializer), required: true)] public readonly HashSet Maps = new(0); }