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