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;
}
// populated via User model, as that's where the data currently lives.
public RankHistoryData RankHistory;
[JsonProperty(@"pp")]
public decimal? PP;
@ -117,14 +120,12 @@ public int this[ScoreRank rank]
}
}
#pragma warning disable 649
private struct UserRanks
{
#pragma warning disable 649
[JsonProperty(@"country")]
public int? Country;
#pragma warning restore 649
}
public RankHistoryData RankHistory;
#pragma warning restore 649
}
}