mirror of
https://github.com/ppy/osu
synced 2025-02-17 10:57:03 +00:00
Restructure class slightly
This commit is contained in:
parent
841c2c56d9
commit
85a844a378
@ -39,6 +39,9 @@ namespace osu.Game.Users
|
||||
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 @@ namespace osu.Game.Users
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning disable 649
|
||||
private struct UserRanks
|
||||
{
|
||||
#pragma warning disable 649
|
||||
[JsonProperty(@"country")]
|
||||
public int? Country;
|
||||
}
|
||||
#pragma warning restore 649
|
||||
}
|
||||
|
||||
public RankHistoryData RankHistory;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user