osu/osu.Game/Scoring/ScoreRank.cs

45 lines
1.3 KiB
C#
Raw Normal View History

// 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.
2018-04-13 09:19:50 +00:00
using System.ComponentModel;
2021-06-16 10:07:11 +00:00
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
2018-04-13 09:19:50 +00:00
2018-11-28 07:12:57 +00:00
namespace osu.Game.Scoring
2018-04-13 09:19:50 +00:00
{
public enum ScoreRank
{
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankD))]
2019-06-08 16:10:00 +00:00
[Description(@"D")]
2018-04-13 09:19:50 +00:00
D,
2019-02-28 04:31:40 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankC))]
2018-04-13 09:19:50 +00:00
[Description(@"C")]
C,
2019-02-28 04:31:40 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankB))]
2018-04-13 09:19:50 +00:00
[Description(@"B")]
B,
2019-02-28 04:31:40 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankA))]
2018-04-13 09:19:50 +00:00
[Description(@"A")]
A,
2019-02-28 04:31:40 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankS))]
2018-04-13 09:19:50 +00:00
[Description(@"S")]
S,
2019-02-28 04:31:40 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankSH))]
[Description(@"S+")]
2018-04-13 09:19:50 +00:00
SH,
2019-02-28 04:31:40 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankX))]
2018-04-13 09:19:50 +00:00
[Description(@"SS")]
X,
2019-02-28 04:31:40 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankXH))]
[Description(@"SS+")]
2018-04-13 09:19:50 +00:00
XH,
}
}