osu/osu.Game/Overlays/Profile/Sections/RanksSection.cs

27 lines
897 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2018-04-13 09:19:50 +00:00
using osu.Game.Overlays.Profile.Sections.Ranks;
using osu.Game.Online.API.Requests;
2021-07-17 12:57:05 +00:00
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
2018-04-13 09:19:50 +00:00
namespace osu.Game.Overlays.Profile.Sections
{
public class RanksSection : ProfileSection
{
2021-07-17 12:57:05 +00:00
public override LocalisableString Title => UsersStrings.ShowExtraTopRanksTitle;
2018-04-13 09:19:50 +00:00
public override string Identifier => "top_ranks";
public RanksSection()
{
Children = new[]
{
2021-07-17 13:53:24 +00:00
new PaginatedScoreContainer(ScoreType.Best, User, UsersStrings.ShowExtraTopRanksBestTitle),
new PaginatedScoreContainer(ScoreType.Firsts, User, UsersStrings.ShowExtraTopRanksFirstTitle)
2018-04-13 09:19:50 +00:00
};
}
}
}