2018-01-05 11:21:19 +00:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-06-07 14:49:14 +00:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-07-26 16:55:37 +00:00
|
|
|
|
using osu.Game.Overlays.Profile.Sections.Ranks;
|
2017-09-14 11:05:43 +00:00
|
|
|
|
using osu.Game.Online.API.Requests;
|
2017-07-26 16:55:37 +00:00
|
|
|
|
|
2017-07-13 04:53:45 +00:00
|
|
|
|
namespace osu.Game.Overlays.Profile.Sections
|
2017-06-07 14:49:14 +00:00
|
|
|
|
{
|
|
|
|
|
public class RanksSection : ProfileSection
|
|
|
|
|
{
|
|
|
|
|
public override string Title => "Ranks";
|
2017-06-15 15:47:34 +00:00
|
|
|
|
|
|
|
|
|
public override string Identifier => "top_ranks";
|
2017-07-26 16:55:37 +00:00
|
|
|
|
|
|
|
|
|
public RanksSection()
|
|
|
|
|
{
|
2017-10-25 18:15:45 +00:00
|
|
|
|
Children = new[]
|
2017-07-26 16:55:37 +00:00
|
|
|
|
{
|
2017-11-03 17:25:21 +00:00
|
|
|
|
new PaginatedScoreContainer(ScoreType.Best, User, "Best Performance", "No performance records. :(", true),
|
|
|
|
|
new PaginatedScoreContainer(ScoreType.Firsts, User, "First Place Ranks", "No awesome performance records yet. :("),
|
2017-07-26 16:55:37 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
2017-06-07 14:49:14 +00:00
|
|
|
|
}
|
|
|
|
|
}
|