2020-02-24 02:47:21 +00:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
|
|
using System.ComponentModel;
|
2021-06-30 19:28:07 +00:00
|
|
|
|
using osu.Framework.Localisation;
|
|
|
|
|
using osu.Game.Resources.Localisation.Web;
|
2020-02-24 02:47:21 +00:00
|
|
|
|
|
2020-03-16 06:42:21 +00:00
|
|
|
|
namespace osu.Game.Overlays.Dashboard.Friends
|
2020-02-24 02:47:21 +00:00
|
|
|
|
{
|
|
|
|
|
public partial class UserSortTabControl : OverlaySortTabControl<UserSortCriteria>
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum UserSortCriteria
|
|
|
|
|
{
|
2021-07-30 22:38:54 +00:00
|
|
|
|
[LocalisableDescription(typeof(SortStrings), nameof(SortStrings.LastVisit))]
|
2020-02-24 02:47:21 +00:00
|
|
|
|
[Description(@"Recently Active")]
|
|
|
|
|
LastVisit,
|
2021-06-30 19:28:07 +00:00
|
|
|
|
|
2021-07-30 22:38:54 +00:00
|
|
|
|
[LocalisableDescription(typeof(SortStrings), nameof(SortStrings.Rank))]
|
|
|
|
|
Rank,
|
2021-06-30 19:28:07 +00:00
|
|
|
|
|
2021-07-30 22:38:54 +00:00
|
|
|
|
[LocalisableDescription(typeof(SortStrings), nameof(SortStrings.Username))]
|
|
|
|
|
Username
|
2021-06-30 19:28:07 +00:00
|
|
|
|
}
|
2020-02-24 02:47:21 +00:00
|
|
|
|
}
|