mirror of
https://github.com/ppy/osu
synced 2025-01-18 20:10:49 +00:00
Fix formatting
This commit is contained in:
parent
bcd568e607
commit
20c00720e5
@ -26,9 +26,17 @@ namespace osu.Game.Users
|
||||
[JsonProperty(@"age")]
|
||||
public int? Age;
|
||||
|
||||
public int GlobalRank { get => Statistics?.Ranks.GlobalRank ?? 0; set => Statistics.Ranks.GlobalRank = value; }
|
||||
public int GlobalRank
|
||||
{
|
||||
get => Statistics?.Ranks.GlobalRank ?? 0;
|
||||
set => Statistics.Ranks.GlobalRank = value;
|
||||
}
|
||||
|
||||
public int CountryRank { get => Statistics?.Ranks.CountryRank ?? 0; set => Statistics.Ranks.CountryRank = value; }
|
||||
public int CountryRank
|
||||
{
|
||||
get => Statistics?.Ranks.CountryRank ?? 0;
|
||||
set => Statistics.Ranks.CountryRank = value;
|
||||
}
|
||||
|
||||
//public Team Team;
|
||||
|
||||
|
@ -23,7 +23,11 @@ namespace osu.Game.Users
|
||||
public decimal? PP;
|
||||
|
||||
[JsonProperty(@"pp_rank")]
|
||||
public int Rank { get => Ranks.GlobalRank ?? 0; set => Ranks.GlobalRank = value; }
|
||||
public int Rank
|
||||
{
|
||||
get => Ranks.GlobalRank ?? 0;
|
||||
set => Ranks.GlobalRank = value;
|
||||
}
|
||||
|
||||
[JsonProperty(@"rank")]
|
||||
public UserRank Ranks;
|
||||
|
Loading…
Reference in New Issue
Block a user