mirror of
https://github.com/ppy/osu
synced 2025-01-09 23:59:44 +00:00
added new tabs and sort criteria
This commit is contained in:
parent
699902234b
commit
0e361aefeb
@ -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,
|
||||||
|
@ -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")]
|
||||||
|
Loading…
Reference in New Issue
Block a user