1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 23:23:30 +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
{
[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,