mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
add HitCount enum and replace string usage with enum
This commit is contained in:
@ -8,6 +8,7 @@ using osu.Game.Beatmaps;
|
||||
using osu.Game.Rulesets.Scoring;
|
||||
using osu.Game.Screens.Ranking;
|
||||
using osu.Game.Users;
|
||||
using static osu.Game.Rulesets.Scoring.Score;
|
||||
|
||||
namespace osu.Game.Tests.Visual
|
||||
{
|
||||
@ -41,12 +42,12 @@ namespace osu.Game.Tests.Visual
|
||||
MaxCombo = 123,
|
||||
Rank = ScoreRank.A,
|
||||
Date = DateTimeOffset.Now,
|
||||
Statistics = new Dictionary<string, dynamic>
|
||||
Statistics = new Dictionary<HitCount, dynamic>
|
||||
{
|
||||
{ "300", 50 },
|
||||
{ "100", 20 },
|
||||
{ "50", 50 },
|
||||
{ "x", 1 }
|
||||
{ HitCount.Great, 50 },
|
||||
{ HitCount.Good, 20 },
|
||||
{ HitCount.Meh, 50 },
|
||||
{ HitCount.Miss, 1 }
|
||||
},
|
||||
User = new User
|
||||
{
|
||||
|
Reference in New Issue
Block a user