mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 17:13:06 +08:00
Remove user
from SubmittableScore
This wasn't being used by osu-web, and included far too much unnecessary data. Of note, `pp` and `ruleset_id` are also not strictly required, but there's no harm in sending them so I've left them be for now.
This commit is contained in:
parent
719331420c
commit
b0f40d9e45
@ -46,9 +46,6 @@ namespace osu.Game.Online.Solo
|
|||||||
[JsonProperty("mods")]
|
[JsonProperty("mods")]
|
||||||
public APIMod[] Mods { get; set; }
|
public APIMod[] Mods { get; set; }
|
||||||
|
|
||||||
[JsonProperty("user")]
|
|
||||||
public APIUser User { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("statistics")]
|
[JsonProperty("statistics")]
|
||||||
public Dictionary<HitResult, int> Statistics { get; set; }
|
public Dictionary<HitResult, int> Statistics { get; set; }
|
||||||
|
|
||||||
@ -67,7 +64,6 @@ namespace osu.Game.Online.Solo
|
|||||||
RulesetID = score.RulesetID;
|
RulesetID = score.RulesetID;
|
||||||
Passed = score.Passed;
|
Passed = score.Passed;
|
||||||
Mods = score.APIMods;
|
Mods = score.APIMods;
|
||||||
User = score.User;
|
|
||||||
Statistics = score.Statistics;
|
Statistics = score.Statistics;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user