mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-06-08 23:19:14 +08:00
22 lines
491 B
C#
22 lines
491 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace GrasscutterTools.DispatchServer.Model
|
|
{
|
|
public class ServerStatus
|
|
{
|
|
[JsonProperty("playerCount")]
|
|
public int PlayerCount { get; set; }
|
|
|
|
[JsonProperty("version")]
|
|
public string Version { get; set; }
|
|
}
|
|
|
|
public class ServerStatusResponse
|
|
{
|
|
[JsonProperty("retcode")]
|
|
public int RetCode { get; set; }
|
|
|
|
[JsonProperty("status")]
|
|
public ServerStatus Status { get; set; }
|
|
}
|
|
} |