mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 05:23:05 +08:00
commit
1e71192915
@ -6,7 +6,7 @@ using osu.Game.Database;
|
|||||||
|
|
||||||
namespace osu.Game.Online.API.Requests
|
namespace osu.Game.Online.API.Requests
|
||||||
{
|
{
|
||||||
public class GetBeatmapDetailsRequest : APIRequest<GetBeatmapDeatilsResponse>
|
public class GetBeatmapDetailsRequest : APIRequest<GetBeatmapDetailsResponse>
|
||||||
{
|
{
|
||||||
private readonly BeatmapInfo beatmap;
|
private readonly BeatmapInfo beatmap;
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ namespace osu.Game.Online.API.Requests
|
|||||||
protected override string Target => $@"beatmaps/{lookupString}";
|
protected override string Target => $@"beatmaps/{lookupString}";
|
||||||
}
|
}
|
||||||
|
|
||||||
public class GetBeatmapDeatilsResponse : BeatmapMetrics
|
public class GetBeatmapDetailsResponse : BeatmapMetrics
|
||||||
{
|
{
|
||||||
//the online API returns some metrics as a nested object.
|
//the online API returns some metrics as a nested object.
|
||||||
[JsonProperty(@"failtimes")]
|
[JsonProperty(@"failtimes")]
|
||||||
|
Loading…
Reference in New Issue
Block a user