Update many score-related classes to move closer to being able to persist to realm

This commit is contained in:
Dean Herbert
2021-12-06 22:47:00 +09:00
parent e44751c275
commit 2a4bee61dd
14 changed files with 58 additions and 61 deletions

View File

@ -10,6 +10,7 @@ using osu.Game.Online.API;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Rulesets.Scoring;
using osu.Game.Scoring;
using osu.Game.Users;
using APIUser = osu.Game.Online.API.Requests.Responses.APIUser;
namespace osu.Game.Online.Solo
@ -48,7 +49,7 @@ namespace osu.Game.Online.Solo
public APIMod[] Mods { get; set; }
[JsonProperty("user")]
public APIUser User { get; set; }
public IUser User { get; set; }
[JsonProperty("statistics")]
public Dictionary<HitResult, int> Statistics { get; set; }