Restructure class slightly

This commit is contained in:
Dean Herbert 2021-02-19 13:40:12 +09:00
parent 841c2c56d9
commit 85a844a378
1 changed files with 5 additions and 4 deletions

View File

@ -39,6 +39,9 @@ private UserRanks ranks
set => CountryRank = value.Country; set => CountryRank = value.Country;
} }
// populated via User model, as that's where the data currently lives.
public RankHistoryData RankHistory;
[JsonProperty(@"pp")] [JsonProperty(@"pp")]
public decimal? PP; public decimal? PP;
@ -117,14 +120,12 @@ public int this[ScoreRank rank]
} }
} }
#pragma warning disable 649
private struct UserRanks private struct UserRanks
{ {
#pragma warning disable 649
[JsonProperty(@"country")] [JsonProperty(@"country")]
public int? Country; public int? Country;
#pragma warning restore 649
} }
#pragma warning restore 649
public RankHistoryData RankHistory;
} }
} }