1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 05:29:57 +08:00

added new tabs and sort criteria

This commit is contained in:
Aergwyn
2018-01-03 17:52:11 +01:00
Unverified
parent 699902234b
commit 0e361aefeb
2 changed files with 6 additions and 2 deletions
@@ -21,7 +21,9 @@ namespace osu.Game.Overlays.Social
public enum SocialSortCriteria
{
Relevance,
Rank,
Name,
//Location,
//[Description("Time Zone")]
//TimeZone,
+4 -2
View File
@@ -18,6 +18,7 @@ namespace osu.Game.Overlays.Social
protected override Color4 BackgroundColour => OsuColour.FromHex(@"38202e");
protected override float TabStripWidth => 438;
protected override SocialTab DefaultTab => SocialTab.OnlinePlayers;
protected override FontAwesome Icon => FontAwesome.fa_users;
@@ -53,10 +54,11 @@ namespace osu.Game.Overlays.Social
public enum SocialTab
{
Search,
[Description("Players")]
OnlinePlayers,
OnlinePlayers = SocialSortCriteria.Rank,
[Description("Friends")]
OnlineFriends,
OnlineFriends = SocialSortCriteria.Name,
//[Description("Online Team Members")]
//OnlineTeamMembers,
//[Description("Chat Channels")]