mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2026-11-05 15:11:59 +08:00
Clean up all files
This commit is contained in:
1 parent
3defcbbdc1
commit
2a3ba29b1d
18 files changed
+68
-88
No files matched your search
@@ -7,12 +7,10 @@ namespace GrasscutterTools.DispatchServer
|
||||
{
|
||||
public static class DispatchServerAPI
|
||||
{
|
||||
|
||||
public static async Task<ServerStatus> QueryServerStatus(string host)
|
||||
{
|
||||
var response = await HttpHelper.GetAsync<ServerStatusResponse>(host + "/status/server");
|
||||
return response?.Status;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace GrasscutterTools.DispatchServer.Model
|
||||
{
|
||||
@@ -20,4 +19,4 @@ namespace GrasscutterTools.DispatchServer.Model
|
||||
[JsonProperty("status")]
|
||||
public ServerStatus Status { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user