2019-01-24 17:43:03 +09: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.
|
2018-04-13 18:19:50 +09:00
|
|
|
|
|
2017-03-15 13:55:29 +09:00
|
|
|
|
using System.ComponentModel;
|
2021-06-16 19:07:11 +09:00
|
|
|
|
using osu.Framework.Localisation;
|
|
|
|
|
using osu.Game.Resources.Localisation.Web;
|
2018-04-13 18:19:50 +09:00
|
|
|
|
|
2018-11-28 16:12:57 +09:00
|
|
|
|
namespace osu.Game.Scoring
|
2017-03-14 10:58:28 -03:00
|
|
|
|
{
|
|
|
|
|
public enum ScoreRank
|
|
|
|
|
{
|
2022-07-15 15:58:52 +09:00
|
|
|
|
// TODO: Localisable?
|
|
|
|
|
[Description(@"F")]
|
|
|
|
|
F = -1,
|
|
|
|
|
|
2021-07-31 01:38:54 +03:00
|
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankD))]
|
2019-06-08 19:10:00 +03:00
|
|
|
|
[Description(@"D")]
|
2017-03-15 13:55:29 +09:00
|
|
|
|
D,
|
2019-02-28 13:31:40 +09:00
|
|
|
|
|
2021-07-31 01:38:54 +03:00
|
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankC))]
|
2017-03-15 13:55:29 +09:00
|
|
|
|
[Description(@"C")]
|
2017-03-14 10:58:28 -03:00
|
|
|
|
C,
|
2019-02-28 13:31:40 +09:00
|
|
|
|
|
2021-07-31 01:38:54 +03:00
|
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankB))]
|
2017-03-15 13:55:29 +09:00
|
|
|
|
[Description(@"B")]
|
2017-03-14 10:58:28 -03:00
|
|
|
|
B,
|
2019-02-28 13:31:40 +09:00
|
|
|
|
|
2021-07-31 01:38:54 +03:00
|
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankA))]
|
2017-03-15 13:55:29 +09:00
|
|
|
|
[Description(@"A")]
|
2017-03-14 10:58:28 -03:00
|
|
|
|
A,
|
2019-02-28 13:31:40 +09:00
|
|
|
|
|
2021-07-31 01:38:54 +03:00
|
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankS))]
|
2017-03-15 13:55:29 +09:00
|
|
|
|
[Description(@"S")]
|
2017-03-14 10:58:28 -03:00
|
|
|
|
S,
|
2019-02-28 13:31:40 +09:00
|
|
|
|
|
2021-07-31 01:38:54 +03:00
|
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankSH))]
|
2019-04-21 21:38:12 +09:00
|
|
|
|
[Description(@"S+")]
|
2024-05-01 17:20:57 +03:00
|
|
|
|
// ReSharper disable once InconsistentNaming
|
2017-03-15 13:55:29 +09:00
|
|
|
|
SH,
|
2019-02-28 13:31:40 +09:00
|
|
|
|
|
2021-07-31 01:38:54 +03:00
|
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankX))]
|
2017-03-15 13:55:29 +09:00
|
|
|
|
[Description(@"SS")]
|
|
|
|
|
X,
|
2019-02-28 13:31:40 +09:00
|
|
|
|
|
2021-07-31 01:38:54 +03:00
|
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankXH))]
|
2019-04-21 21:38:12 +09:00
|
|
|
|
[Description(@"SS+")]
|
2024-05-01 17:20:57 +03:00
|
|
|
|
// ReSharper disable once InconsistentNaming
|
2017-03-15 13:55:29 +09:00
|
|
|
|
XH,
|
2017-03-14 10:58:28 -03:00
|
|
|
|
}
|
|
|
|
|
}
|