1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-22 00:43:25 +08:00

Allow beatmap set response get online id

This commit is contained in:
EVAST9919 2017-11-11 01:51:42 +03:00
parent c9673bcd0d
commit 6def49d6a4

View File

@ -50,6 +50,9 @@ namespace osu.Game.Online.API.Requests
private class GetBeatmapSetsBeatmapResponse : BeatmapMetadata private class GetBeatmapSetsBeatmapResponse : BeatmapMetadata
{ {
[JsonProperty(@"id")]
private int onlineBeatmapID { get; set; }
[JsonProperty(@"playcount")] [JsonProperty(@"playcount")]
private int playCount { get; set; } private int playCount { get; set; }
@ -69,6 +72,7 @@ namespace osu.Game.Online.API.Requests
Metadata = this, Metadata = this,
Ruleset = rulesets.GetRuleset(ruleset), Ruleset = rulesets.GetRuleset(ruleset),
StarDifficulty = starDifficulty, StarDifficulty = starDifficulty,
OnlineBeatmapID = onlineBeatmapID,
OnlineInfo = new BeatmapOnlineInfo OnlineInfo = new BeatmapOnlineInfo
{ {
PlayCount = playCount, PlayCount = playCount,