More additions, lucky card based on day, redo of migrations because i messed up
This commit is contained in:
@@ -4,6 +4,6 @@ namespace TOOHUCardAPI.DTO.PlayerData
|
||||
{
|
||||
public class PlayerDataGetRequestObject : AbstractRequest
|
||||
{
|
||||
public Dictionary<string, string> Ids;
|
||||
public Dictionary<int, long> Ids;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user