From 6def49d6a42f81bc2987fe87607a62e19fe334ca Mon Sep 17 00:00:00 2001 From: EVAST9919 Date: Sat, 11 Nov 2017 01:51:42 +0300 Subject: [PATCH] Allow beatmap set response get online id --- osu.Game/Online/API/Requests/GetBeatmapSetsResponse.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osu.Game/Online/API/Requests/GetBeatmapSetsResponse.cs b/osu.Game/Online/API/Requests/GetBeatmapSetsResponse.cs index f2ca0c1a2f..7a6b1132b5 100644 --- a/osu.Game/Online/API/Requests/GetBeatmapSetsResponse.cs +++ b/osu.Game/Online/API/Requests/GetBeatmapSetsResponse.cs @@ -50,6 +50,9 @@ namespace osu.Game.Online.API.Requests private class GetBeatmapSetsBeatmapResponse : BeatmapMetadata { + [JsonProperty(@"id")] + private int onlineBeatmapID { get; set; } + [JsonProperty(@"playcount")] private int playCount { get; set; } @@ -69,6 +72,7 @@ namespace osu.Game.Online.API.Requests Metadata = this, Ruleset = rulesets.GetRuleset(ruleset), StarDifficulty = starDifficulty, + OnlineBeatmapID = onlineBeatmapID, OnlineInfo = new BeatmapOnlineInfo { PlayCount = playCount,