Remove OnlineBeatmapSetID from BeatmapMetadata

This commit is contained in:
Dean Herbert
2018-06-08 12:46:34 +09:00
parent d1e9dba4aa
commit 8220e0c79a
10 changed files with 30 additions and 30 deletions

View File

@ -10,7 +10,10 @@ namespace osu.Game.Online.API.Requests.Responses
public class APIBeatmap : BeatmapMetadata
{
[JsonProperty(@"id")]
private int onlineBeatmapID { get; set; }
public int OnlineBeatmapID { get; set; }
[JsonProperty(@"beatmapset_id")]
public int OnlineBeatmapSetID { get; set; }
[JsonProperty(@"playcount")]
private int playCount { get; set; }
@ -55,7 +58,8 @@ namespace osu.Game.Online.API.Requests.Responses
Metadata = this,
Ruleset = rulesets.GetRuleset(ruleset),
StarDifficulty = starDifficulty,
OnlineBeatmapID = onlineBeatmapID,
OnlineBeatmapID = OnlineBeatmapID,
OnlineBeatmapSetID = OnlineBeatmapSetID,
Version = version,
BaseDifficulty = new BeatmapDifficulty
{