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 public enum SocialSortCriteria
{ {
Relevance,
Rank, Rank,
Name,
//Location, //Location,
//[Description("Time Zone")] //[Description("Time Zone")]
//TimeZone, //TimeZone,

View File

@ -18,6 +18,7 @@ namespace osu.Game.Overlays.Social
protected override Color4 BackgroundColour => OsuColour.FromHex(@"38202e"); protected override Color4 BackgroundColour => OsuColour.FromHex(@"38202e");
protected override float TabStripWidth => 438; protected override float TabStripWidth => 438;
protected override SocialTab DefaultTab => SocialTab.OnlinePlayers; protected override SocialTab DefaultTab => SocialTab.OnlinePlayers;
protected override FontAwesome Icon => FontAwesome.fa_users; protected override FontAwesome Icon => FontAwesome.fa_users;
@ -53,10 +54,11 @@ namespace osu.Game.Overlays.Social
public enum SocialTab public enum SocialTab
{ {
Search,
[Description("Players")] [Description("Players")]
OnlinePlayers, OnlinePlayers = SocialSortCriteria.Rank,
[Description("Friends")] [Description("Friends")]
OnlineFriends, OnlineFriends = SocialSortCriteria.Name,
//[Description("Online Team Members")] //[Description("Online Team Members")]
//OnlineTeamMembers, //OnlineTeamMembers,
//[Description("Chat Channels")] //[Description("Chat Channels")]