mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Add best count from api
This commit is contained in:
parent
59cb5f4679
commit
3e74d61dab
@ -36,6 +36,9 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case ScoreType.Best:
|
||||
return user.ScoresBestCount;
|
||||
|
||||
case ScoreType.Firsts:
|
||||
return user.ScoresFirstCount;
|
||||
|
||||
|
@ -144,6 +144,9 @@ namespace osu.Game.Users
|
||||
[JsonProperty(@"unranked_beatmapset_count")]
|
||||
public int UnrankedBeatmapsetCount;
|
||||
|
||||
[JsonProperty(@"scores_best_count")]
|
||||
public int ScoresBestCount;
|
||||
|
||||
[JsonProperty(@"scores_first_count")]
|
||||
public int ScoresFirstCount;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user