2020-02-24 10:47:21 +08: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.
|
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2020-02-24 10:47:21 +08:00
|
|
|
|
using System.ComponentModel;
|
2021-07-01 03:28:07 +08:00
|
|
|
|
using osu.Framework.Localisation;
|
|
|
|
|
using osu.Game.Resources.Localisation.Web;
|
2020-02-24 10:47:21 +08:00
|
|
|
|
|
2020-03-16 14:42:21 +08:00
|
|
|
|
namespace osu.Game.Overlays.Dashboard.Friends
|
2020-02-24 10:47:21 +08:00
|
|
|
|
{
|
2022-11-24 13:32:20 +08:00
|
|
|
|
public partial class UserSortTabControl : OverlaySortTabControl<UserSortCriteria>
|
2020-02-24 10:47:21 +08:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum UserSortCriteria
|
|
|
|
|
{
|
2021-07-31 06:38:54 +08:00
|
|
|
|
[LocalisableDescription(typeof(SortStrings), nameof(SortStrings.LastVisit))]
|
2020-02-24 10:47:21 +08:00
|
|
|
|
[Description(@"Recently Active")]
|
|
|
|
|
LastVisit,
|
2021-07-01 03:28:07 +08:00
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
|
[LocalisableDescription(typeof(SortStrings), nameof(SortStrings.Rank))]
|
|
|
|
|
Rank,
|
2021-07-01 03:28:07 +08:00
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
|
[LocalisableDescription(typeof(SortStrings), nameof(SortStrings.Username))]
|
|
|
|
|
Username
|
2021-07-01 03:28:07 +08:00
|
|
|
|
}
|
2020-02-24 10:47:21 +08:00
|
|
|
|
}
|