2019-01-24 17:43:03 +09:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-06-08 12:06:58 +09:00
|
|
|
|
|
2022-06-17 16:37:17 +09:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2018-06-08 12:06:58 +09:00
|
|
|
|
using Newtonsoft.Json;
|
2018-06-08 11:41:54 +09:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Online.API.Requests.Responses
|
|
|
|
|
{
|
|
|
|
|
public class APIUserMostPlayedBeatmap
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty("beatmap_id")]
|
2019-04-25 17:36:17 +09:00
|
|
|
|
public int BeatmapID { get; set; }
|
2018-06-08 11:41:54 +09:00
|
|
|
|
|
|
|
|
|
[JsonProperty("count")]
|
2019-04-25 17:36:17 +09:00
|
|
|
|
public int PlayCount { get; set; }
|
2018-06-08 11:41:54 +09:00
|
|
|
|
|
2021-10-05 21:12:35 +02:00
|
|
|
|
[JsonProperty("beatmap")]
|
2021-10-22 21:25:13 +09:00
|
|
|
|
private APIBeatmap beatmap { get; set; }
|
2018-06-08 11:41:54 +09:00
|
|
|
|
|
2021-10-22 21:25:13 +09:00
|
|
|
|
public APIBeatmap BeatmapInfo
|
2018-06-08 11:41:54 +09:00
|
|
|
|
{
|
2021-10-22 21:25:13 +09:00
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
// old osu-web code doesn't nest set.
|
|
|
|
|
beatmap.BeatmapSet = BeatmapSet;
|
|
|
|
|
return beatmap;
|
|
|
|
|
}
|
2018-06-08 11:41:54 +09:00
|
|
|
|
}
|
2021-10-22 21:25:13 +09:00
|
|
|
|
|
|
|
|
|
[JsonProperty("beatmapset")]
|
|
|
|
|
public APIBeatmapSet BeatmapSet { get; set; }
|
2018-06-08 11:41:54 +09:00
|
|
|
|
}
|
|
|
|
|
}
|