added new tabs and sort criteria

This commit is contained in:
Aergwyn 2018-01-03 17:52:11 +01:00
parent 699902234b
commit 0e361aefeb
2 changed files with 6 additions and 2 deletions

View File

@ -21,7 +21,9 @@ namespace osu.Game.Overlays.Social
public enum SocialSortCriteria
{
Relevance,
Rank,
Name,
//Location,
//[Description("Time Zone")]
//TimeZone,

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")]