Remove APIPlaylistBeatmap subclass

This commit is contained in:
Dean Herbert
2021-10-21 16:43:46 +09:00
parent ea2b2a3beb
commit a5c155bc87
3 changed files with 6 additions and 24 deletions

View File

@ -19,6 +19,9 @@ namespace osu.Game.Online.API.Requests.Responses
[JsonProperty(@"status")]
public BeatmapSetOnlineStatus Status { get; set; }
[JsonProperty("checksum")]
public string Checksum { get; set; }
[JsonProperty(@"beatmapset")]
public APIBeatmapSet BeatmapSet { get; set; }
@ -78,6 +81,7 @@ namespace osu.Game.Online.API.Requests.Responses
// this is actually an incorrect mapping (Length is calculated as drain length in lazer's import process, see BeatmapManager.calculateLength).
Length = TimeSpan.FromSeconds(length).TotalMilliseconds,
Status = Status,
MD5Hash = Checksum,
BeatmapSet = set,
Metrics = metrics,
MaxCombo = maxCombo,