mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 16:02:58 +08:00
Fix formatting
This commit is contained in:
parent
bcd568e607
commit
20c00720e5
@ -26,9 +26,17 @@ namespace osu.Game.Users
|
|||||||
[JsonProperty(@"age")]
|
[JsonProperty(@"age")]
|
||||||
public int? 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;
|
//public Team Team;
|
||||||
|
|
||||||
|
@ -23,7 +23,11 @@ namespace osu.Game.Users
|
|||||||
public decimal? PP;
|
public decimal? PP;
|
||||||
|
|
||||||
[JsonProperty(@"pp_rank")]
|
[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")]
|
[JsonProperty(@"rank")]
|
||||||
public UserRank Ranks;
|
public UserRank Ranks;
|
||||||
|
Loading…
Reference in New Issue
Block a user