mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Allow beatmap set response get online id
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user