Player data initial

This commit is contained in:
2021-10-26 00:26:52 -04:00
parent ab8937f7cd
commit 7b73d23b9e
8 changed files with 80 additions and 40 deletions

View File

@@ -19,16 +19,16 @@ namespace TOOHUCardAPI.Models
public class GameConfigResponse
{
private static string SUCCESS_CODE = "0000";
[JsonPropertyName("code")] public string Code { get; set; } = SUCCESS_CODE;
[JsonPropertyName("msg")] public string Message { get; set; } = string.Empty;
[JsonPropertyName("game_code")] public string GameCode { get; set; } = string.Empty;
[JsonPropertyName("game_msg")] public string GameMessage { get; set; } = string.Empty;
[JsonPropertyName("luck_card")] public string LuckCard { get; set; } = string.Empty;
[JsonPropertyName("luck_crit")] public float LuckCrit { get; set; }
[JsonPropertyName("new_card_list")] public string NewCardList { get; set; } = string.Empty;
[JsonPropertyName("open_day_list")] public string OpenDayList { get; set; } = String.Empty;
[JsonPropertyName("is_open_day")] public int IsOpenDay { get; set; }
[JsonPropertyName("server_time")] public string ServerTime { get; set; } = string.Empty;
[JsonProperty("code")] public string Code { get; set; } = SUCCESS_CODE;
[JsonProperty("msg")] public string Message { get; set; } = string.Empty;
[JsonProperty("game_code")] public string GameCode { get; set; } = string.Empty;
[JsonProperty("game_msg")] public string GameMessage { get; set; } = string.Empty;
[JsonProperty("luck_card")] public string LuckCard { get; set; } = string.Empty;
[JsonProperty("luck_crit")] public float LuckCrit { get; set; }
[JsonProperty("new_card_list")] public string NewCardList { get; set; } = string.Empty;
[JsonProperty("open_day_list")] public string OpenDayList { get; set; } = String.Empty;
[JsonProperty("is_open_day")] public int IsOpenDay { get; set; }
[JsonProperty("server_time")] public string ServerTime { get; set; } = string.Empty;
}
}