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:
parent
c9673bcd0d
commit
6def49d6a4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user