mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
16 lines
438 B
C#
16 lines
438 B
C#
using System.Threading.Tasks;
|
|
using Robust.Server.Player;
|
|
using Robust.Shared.Network;
|
|
|
|
namespace Content.Server.Connection.Whitelist.Conditions;
|
|
|
|
/// <summary>
|
|
/// Condition that matches if the player count is within a certain range.
|
|
/// </summary>
|
|
public sealed partial class ConditionPlayerCount : WhitelistCondition
|
|
{
|
|
[DataField]
|
|
public int MinimumPlayers = 0;
|
|
[DataField]
|
|
public int MaximumPlayers = int.MaxValue;
|
|
}
|