mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 17:27:48 +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)
|
switch (type)
|
||||||
{
|
{
|
||||||
|
case ScoreType.Best:
|
||||||
|
return user.ScoresBestCount;
|
||||||
|
|
||||||
case ScoreType.Firsts:
|
case ScoreType.Firsts:
|
||||||
return user.ScoresFirstCount;
|
return user.ScoresFirstCount;
|
||||||
|
|
||||||
|
@ -144,6 +144,9 @@ namespace osu.Game.Users
|
|||||||
[JsonProperty(@"unranked_beatmapset_count")]
|
[JsonProperty(@"unranked_beatmapset_count")]
|
||||||
public int UnrankedBeatmapsetCount;
|
public int UnrankedBeatmapsetCount;
|
||||||
|
|
||||||
|
[JsonProperty(@"scores_best_count")]
|
||||||
|
public int ScoresBestCount;
|
||||||
|
|
||||||
[JsonProperty(@"scores_first_count")]
|
[JsonProperty(@"scores_first_count")]
|
||||||
public int ScoresFirstCount;
|
public int ScoresFirstCount;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user