mirror of
https://github.com/CommonLoon102/NBloodServerSupervisor.git
synced 2024-12-24 11:42:53 +01:00
a6dea8efbc
* add some mods * refactor * user friendly home page added * refactor * update readme * update readme
21 lines
618 B
C#
21 lines
618 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WebInterface
|
|
{
|
|
public class Server
|
|
{
|
|
public DateTime SpawnedAtUtc { get; set; } = DateTime.UtcNow;
|
|
public int Port { get; set; }
|
|
public bool IsStarted { get; set; }
|
|
public string CommandLine { get; set; }
|
|
public int CurrentPlayers { get; set; }
|
|
public int MaximumPlayers { get; set; }
|
|
public string GameType { get; set; }
|
|
public string Mod { get; set; }
|
|
public IList<Player> Players { get; set; } = new List<Player>();
|
|
}
|
|
}
|