mirror of
https://github.com/CommonLoon102/NBloodServerSupervisor.git
synced 2024-12-23 11:12:47 +01:00
21 lines
599 B
C#
21 lines
599 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace Model
|
|||
|
{
|
|||
|
[Serializable]
|
|||
|
public class Server
|
|||
|
{
|
|||
|
public DateTime SpawnedAtUtc { get; set; } = DateTime.UtcNow;
|
|||
|
public int ProcessId { get; set; }
|
|||
|
public int Port { get; set; }
|
|||
|
public bool IsStarted { get; set; }
|
|||
|
public bool IsPrivate { get; set; }
|
|||
|
public int CurrentPlayers { get; set; }
|
|||
|
public int MaximumPlayers { get; set; }
|
|||
|
public string GameType { get; set; }
|
|||
|
public IList<Player> Players { get; set; } = new List<Player>();
|
|||
|
}
|
|||
|
}
|