More additions, lucky card based on day, redo of migrations because i messed up

This commit is contained in:
2021-11-01 14:59:36 -04:00
parent 685f09a889
commit 0b94455b4b
48 changed files with 284 additions and 7404 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Text.Json.Serialization;
using Newtonsoft.Json;
using TOOHUCardAPI.Data.Repositories;
namespace TOOHUCardAPI.DTO
{
@@ -25,11 +26,15 @@ namespace TOOHUCardAPI.DTO
[JsonProperty("game_code")] public string GameCode { get; set; } = string.Empty;
[JsonProperty("game_msg")] public string GameMessage { get; set; } = DEFAULT_GAME_MESSAGE;
[JsonProperty("luck_card")] public string LuckCard { get; set; } = string.Empty;
[JsonProperty("luck_crit")] public float LuckCrit { get; set; }
[JsonProperty("luck_crit")] public float LuckCrit { get; set; } = .25f;
[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; } = 1;
[JsonProperty("server_time")] public string ServerTime { get; set; } = string.Empty;
public GameConfigResponse()
{
}
}
}