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

@@ -4,6 +4,6 @@ namespace TOOHUCardAPI.DTO.PlayerData
{
public class PlayerDataGetRequestObject : AbstractRequest
{
public Dictionary<string, string> Ids;
public Dictionary<int, long> Ids;
}
}

View File

@@ -12,7 +12,7 @@ namespace TOOHUCardAPI.DTO.PlayerData
{
// Instead of using a defined object, use a dictionary so we can add the necessary cardgroup items. I dont want to make 20 of them in the class
[JsonProperty("bo")]
public Dictionary<string, Dictionary<string, object>> Players { get; set; }
public Dictionary<int, Dictionary<string, object>> Players { get; set; }
}
/**
@@ -22,7 +22,7 @@ namespace TOOHUCardAPI.DTO.PlayerData
public class PlayerDataGetResponseObjectPlayer: OkResponse
{
[JsonProperty("steamid")]
public string SteamId { get; set; }
public long SteamId { get; set; }
[JsonProperty("max_wave")] public int MaxWave { get; set; } = 0;
[JsonProperty("max_team_wave")] public int MaxTeamWave { get; set; } = 0;
[JsonProperty("pet_level")] public int PetLevel { get; set; } = 1;