mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
add HitCount enum and replace string usage with enum
This commit is contained in:
@ -7,6 +7,7 @@ using osu.Game.Beatmaps;
|
||||
using osu.Game.Rulesets.Mods;
|
||||
using osu.Game.Users;
|
||||
using osu.Game.Rulesets.Replays;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace osu.Game.Rulesets.Scoring
|
||||
{
|
||||
@ -40,6 +41,21 @@ namespace osu.Game.Rulesets.Scoring
|
||||
|
||||
public DateTimeOffset Date;
|
||||
|
||||
public Dictionary<string, object> Statistics = new Dictionary<string, object>();
|
||||
public Dictionary<HitCount, object> Statistics = new Dictionary<HitCount, object>();
|
||||
|
||||
public enum HitCount
|
||||
{
|
||||
[Description("300")]
|
||||
Great,
|
||||
|
||||
[Description("100")]
|
||||
Good,
|
||||
|
||||
[Description("50")]
|
||||
Meh,
|
||||
|
||||
[Description("x")]
|
||||
Miss
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user