namespace Content.Server.Maps;
public sealed partial class GameMapPrototype
{
///
/// Controls if the map can be used as a fallback if no maps are eligible.
///
[DataField("fallback")]
public bool Fallback { get; }
///
/// Controls if the map can be voted for.
///
[DataField("votable")]
public bool Votable { get; } = true;
///
/// Minimum players for the given map.
///
[DataField("minPlayers", required: true)]
public uint MinPlayers { get; }
///
/// Maximum players for the given map.
///
[DataField("maxPlayers")]
public uint MaxPlayers { get; } = uint.MaxValue;
[DataField("conditions")] private readonly List _conditions = new();
///
/// The game map conditions that must be fulfilled for this map to be selectable.
///
public IReadOnlyList Conditions => _conditions;
}