mirror of
https://github.com/JuniorDark/RustyHearts-Launcher.git
synced 2026-05-07 13:31:45 -04:00
Changes for RustyHearts-API 1.3.0
This commit is contained in:
parent
558761943e
commit
1692923e18
14 changed files with 500 additions and 226 deletions
36
RHLauncher.Helper/HttpResponse.cs
Normal file
36
RHLauncher.Helper/HttpResponse.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
using Newtonsoft.Json;
|
||||
|
||||
namespace RHLauncher.RHLauncher.Helper;
|
||||
|
||||
public class HttpResponse
|
||||
{
|
||||
[JsonProperty("success")]
|
||||
public string? Success { get; set; }
|
||||
|
||||
[JsonProperty("result")]
|
||||
public string? Result { get; set; }
|
||||
|
||||
[JsonProperty("message")]
|
||||
public string? Message { get; set; }
|
||||
}
|
||||
|
||||
public class LoginResponse
|
||||
{
|
||||
[JsonProperty("result")]
|
||||
public string? Result { get; set; }
|
||||
|
||||
[JsonProperty("token")]
|
||||
public string? Token { get; set; }
|
||||
|
||||
[JsonProperty("windyCode")]
|
||||
public string? WindyCode { get; set; }
|
||||
|
||||
[JsonProperty("message")]
|
||||
public string? Message { get; set; }
|
||||
}
|
||||
|
||||
public class ServerStatusResponse
|
||||
{
|
||||
[JsonProperty("status")]
|
||||
public string? Status { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue