CatStation/Content.Server/Maps/GameMapPoolPrototype.cs
deltanedas cf7fde3d62
Big prototype and datafield cleanup (#45202)
* giant protoid cleanup

* yml changes

* !

---------

Co-authored-by: deltanedas <@deltanedas:goida.zip>
2026-08-12 02:07:22 +00:00

22 lines
595 B
C#

using Content.Shared.Maps;
using JetBrains.Annotations;
using Robust.Shared.Prototypes;
namespace Content.Server.Maps;
/// <summary>
/// Prototype that holds a pool of maps that can be indexed based on the map pool CCVar.
/// </summary>
[Prototype, PublicAPI]
public sealed partial class GameMapPoolPrototype : IPrototype
{
/// <inheritdoc/>
[IdDataField]
public string ID { get; private set; } = default!;
/// <summary>
/// Which maps are in this pool.
/// </summary>
[DataField(required: true)]
public HashSet<ProtoId<GameMapPrototype>> Maps = new(0);
}