mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 19:42:56 +08:00
22 lines
502 B
C#
22 lines
502 B
C#
using osu.Game.Beatmaps;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace osu.Game.Online.API.Requests
|
|
{
|
|
public class GetBeatmapRequest : APIRequest<BeatmapInfo>
|
|
{
|
|
private readonly int beatmapId;
|
|
|
|
public GetBeatmapRequest(int beatmapId)
|
|
{
|
|
this.beatmapId = beatmapId;
|
|
}
|
|
|
|
protected override string Target => $@"beatmaps/{beatmapId}";
|
|
}
|
|
}
|