NBloodServerSupervisor/Model/Server.cs
CommonLoon102 a6dea8efbc
Mods and home page (#3)
* add some mods

* refactor

* user friendly home page added

* refactor

* update readme

* update readme
2020-01-27 12:23:00 +00:00

23 lines
691 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 DateTime LastHeartBeatUtc { get; set; }
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 Mod Mod { get; set; }
public IList<Player> Players { get; set; } = new List<Player>();
}
}