Order sections.

This commit is contained in:
Huo Yaoyuan
2017-06-15 23:47:34 +08:00
parent 2770ccb782
commit 9a77332063
9 changed files with 22 additions and 3 deletions

View File

@ -1,10 +1,13 @@
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Users.Profile
{
public class AboutSection : ProfileSection
{
public override string Title => "me!";
public override string Identifier => "me";
}
}

View File

@ -6,5 +6,7 @@ namespace osu.Game.Users.Profile
public class BeatmapsSection : ProfileSection
{
public override string Title => "Beatmaps";
public override string Identifier => "beatmaps";
}
}

View File

@ -6,5 +6,7 @@ namespace osu.Game.Users.Profile
public class HistoricalSection : ProfileSection
{
public override string Title => "Historical";
public override string Identifier => "historical";
}
}

View File

@ -6,5 +6,7 @@ namespace osu.Game.Users.Profile
public class KudosuSection : ProfileSection
{
public override string Title => "Kudosu!";
public override string Identifier => "kudosu";
}
}

View File

@ -6,5 +6,7 @@ namespace osu.Game.Users.Profile
public class MedalsSection : ProfileSection
{
public override string Title => "Medals";
public override string Identifier => "medals";
}
}

View File

@ -15,6 +15,8 @@ namespace osu.Game.Users.Profile
{
public abstract string Title { get; }
public abstract string Identifier { get; }
private readonly FillFlowContainer content;
protected override Container<Drawable> Content => content;

View File

@ -6,5 +6,7 @@ namespace osu.Game.Users.Profile
public class RanksSection : ProfileSection
{
public override string Title => "Ranks";
public override string Identifier => "top_ranks";
}
}

View File

@ -6,5 +6,7 @@ namespace osu.Game.Users.Profile
public class RecentSection : ProfileSection
{
public override string Title => "Recent";
public override string Identifier => "recent_activities";
}
}