mirror of
https://github.com/JuniorDark/RustyHearts-Launcher.git
synced 2026-05-07 05:21:44 -04:00
36 lines
No EOL
735 B
C#
36 lines
No EOL
735 B
C#
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; }
|
|
} |