IW4M-Admin/Application/API/Master/ApiServer.cs
RaidMax 12cf2e8247 Add server version to master api
Add IsEvadedOffense to EFPenalty
Fix remote log reading in not Windows
2018-12-16 21:16:56 -06:00

32 lines
936 B
C#

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace IW4MAdmin.Application.API.Master
{
public class ApiServer
{
[JsonProperty("id")]
public long Id { get; set; }
[JsonProperty("ip")]
public string IPAddress { get; set; }
[JsonProperty("port")]
public short Port { get; set; }
[JsonProperty("version")]
public string Version { get; set; }
[JsonProperty("gametype")]
public string Gametype { get; set; }
[JsonProperty("map")]
public string Map { get; set; }
[JsonProperty("game")]
public string Game { get; set; }
[JsonProperty("hostname")]
public string Hostname { get; set; }
[JsonProperty("clientnum")]
public int ClientNum { get; set; }
[JsonProperty("maxclientnum")]
public int MaxClientNum { get; set; }
}
}