2018-04-18 15:46:53 -05:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace IW4MAdmin.Application.API.Master
|
|
|
|
|
{
|
|
|
|
|
public class ApiServer
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty("id")]
|
2018-11-27 18:31:48 -06:00
|
|
|
|
public long Id { get; set; }
|
2018-11-25 20:00:36 -06:00
|
|
|
|
[JsonProperty("ip")]
|
|
|
|
|
public string IPAddress { get; set; }
|
2018-04-18 15:46:53 -05:00
|
|
|
|
[JsonProperty("port")]
|
|
|
|
|
public short Port { get; set; }
|
2018-12-16 21:16:56 -06:00
|
|
|
|
[JsonProperty("version")]
|
|
|
|
|
public string Version { get; set; }
|
2018-04-18 15:46:53 -05:00
|
|
|
|
[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; }
|
|
|
|
|
}
|
|
|
|
|
}
|