mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Add support for country rank
This commit is contained in:
@ -23,7 +23,19 @@ namespace osu.Game.Users
|
||||
public decimal? PP;
|
||||
|
||||
[JsonProperty(@"pp_rank")]
|
||||
public int Rank;
|
||||
public int Rank { get => Ranks.GlobalRank; set => Ranks.GlobalRank = value; }
|
||||
|
||||
[JsonProperty(@"rank")]
|
||||
public UserRank Ranks;
|
||||
|
||||
public struct UserRank
|
||||
{
|
||||
[JsonProperty(@"global")]
|
||||
public int GlobalRank;
|
||||
|
||||
[JsonProperty(@"country")]
|
||||
public int CountryRank;
|
||||
}
|
||||
|
||||
[JsonProperty(@"ranked_score")]
|
||||
public long RankedScore;
|
||||
|
Reference in New Issue
Block a user