diff --git a/osu.Game/Rulesets/Scoring/HitResult.cs b/osu.Game/Rulesets/Scoring/HitResult.cs
index a254f9b760..68a03fa061 100644
--- a/osu.Game/Rulesets/Scoring/HitResult.cs
+++ b/osu.Game/Rulesets/Scoring/HitResult.cs
@@ -5,6 +5,7 @@ using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
+using System.Runtime.Serialization;
using osu.Framework.Utils;
namespace osu.Game.Rulesets.Scoring
@@ -16,6 +17,7 @@ namespace osu.Game.Rulesets.Scoring
/// Indicates that the object has not been judged yet.
///
[Description(@"")]
+ [EnumMember(Value = "none")]
[Order(14)]
None,
@@ -27,32 +29,39 @@ namespace osu.Game.Rulesets.Scoring
/// "too far in the future). It should also define when a forced miss should be triggered (as a result of no user input in time).
///
[Description(@"Miss")]
+ [EnumMember(Value = "miss")]
[Order(5)]
Miss,
[Description(@"Meh")]
+ [EnumMember(Value = "meh")]
[Order(4)]
Meh,
[Description(@"OK")]
+ [EnumMember(Value = "ok")]
[Order(3)]
Ok,
[Description(@"Good")]
+ [EnumMember(Value = "good")]
[Order(2)]
Good,
[Description(@"Great")]
+ [EnumMember(Value = "great")]
[Order(1)]
Great,
[Description(@"Perfect")]
+ [EnumMember(Value = "perfect")]
[Order(0)]
Perfect,
///
/// Indicates small tick miss.
///
+ [EnumMember(Value = "small_tick_miss")]
[Order(11)]
SmallTickMiss,
@@ -60,12 +69,14 @@ namespace osu.Game.Rulesets.Scoring
/// Indicates a small tick hit.
///
[Description(@"S Tick")]
+ [EnumMember(Value = "small_tick_hit")]
[Order(7)]
SmallTickHit,
///
/// Indicates a large tick miss.
///
+ [EnumMember(Value = "large_tick_miss")]
[Order(10)]
LargeTickMiss,
@@ -73,6 +84,7 @@ namespace osu.Game.Rulesets.Scoring
/// Indicates a large tick hit.
///
[Description(@"L Tick")]
+ [EnumMember(Value = "large_tick_hit")]
[Order(6)]
LargeTickHit,
@@ -80,6 +92,7 @@ namespace osu.Game.Rulesets.Scoring
/// Indicates a small bonus.
///
[Description("S Bonus")]
+ [EnumMember(Value = "small_bonus")]
[Order(9)]
SmallBonus,
@@ -87,18 +100,21 @@ namespace osu.Game.Rulesets.Scoring
/// Indicates a large bonus.
///
[Description("L Bonus")]
+ [EnumMember(Value = "large_bonus")]
[Order(8)]
LargeBonus,
///
/// Indicates a miss that should be ignored for scoring purposes.
///
+ [EnumMember(Value = "ignore_miss")]
[Order(13)]
IgnoreMiss,
///
/// Indicates a hit that should be ignored for scoring purposes.
///
+ [EnumMember(Value = "ignore_hit")]
[Order(12)]
IgnoreHit,
}