mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 02:22:56 +08:00
Add maxCombo to APIBeatmap
This commit is contained in:
parent
62227ad856
commit
23c9782f50
@ -61,6 +61,9 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
[JsonProperty(@"failtimes")]
|
||||
private BeatmapMetrics metrics { get; set; }
|
||||
|
||||
[JsonProperty(@"max_combo")]
|
||||
private int? maxCombo { get; set; }
|
||||
|
||||
public BeatmapInfo ToBeatmap(RulesetStore rulesets)
|
||||
{
|
||||
var set = BeatmapSet?.ToBeatmapSet(rulesets);
|
||||
@ -76,6 +79,7 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
Status = Status,
|
||||
BeatmapSet = set,
|
||||
Metrics = metrics,
|
||||
MaxCombo = maxCombo,
|
||||
BaseDifficulty = new BeatmapDifficulty
|
||||
{
|
||||
DrainRate = drainRate,
|
||||
|
Loading…
Reference in New Issue
Block a user