1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-09 04:57:41 +08:00
osu-lazer/osu.Game/Overlays/Dashboard/Friends/UserSortTabControl.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
816 B
C#
Raw Normal View History

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;
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
{
[LocalisableDescription(typeof(SortStrings), nameof(SortStrings.LastVisit))]
2020-02-24 10:47:21 +08:00
[Description(@"Recently Active")]
LastVisit,
[LocalisableDescription(typeof(SortStrings), nameof(SortStrings.Rank))]
Rank,
[LocalisableDescription(typeof(SortStrings), nameof(SortStrings.Username))]
Username
}
2020-02-24 10:47:21 +08:00
}