2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-06-07 22:49:14 +08:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-07-27 00:55:37 +08:00
|
|
|
|
using osu.Game.Overlays.Profile.Sections.Ranks;
|
2017-09-14 19:05:43 +08:00
|
|
|
|
using osu.Game.Online.API.Requests;
|
2017-07-27 00:55:37 +08:00
|
|
|
|
|
2017-07-13 12:53:45 +08:00
|
|
|
|
namespace osu.Game.Overlays.Profile.Sections
|
2017-06-07 22:49:14 +08:00
|
|
|
|
{
|
|
|
|
|
public class RanksSection : ProfileSection
|
|
|
|
|
{
|
|
|
|
|
public override string Title => "Ranks";
|
2017-06-15 23:47:34 +08:00
|
|
|
|
|
|
|
|
|
public override string Identifier => "top_ranks";
|
2017-07-27 00:55:37 +08:00
|
|
|
|
|
|
|
|
|
public RanksSection()
|
|
|
|
|
{
|
2017-10-26 02:15:45 +08:00
|
|
|
|
Children = new[]
|
2017-07-27 00:55:37 +08:00
|
|
|
|
{
|
2017-11-04 01:25:21 +08: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-27 00:55:37 +08:00
|
|
|
|
};
|
|
|
|
|
}
|
2017-06-07 22:49:14 +08:00
|
|
|
|
}
|
|
|
|
|
}
|