1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 00:27:25 +08:00
osu-lazer/osu.Game/Online/Multiplayer/GetRoomLeaderboardRequest.cs

20 lines
526 B
C#
Raw Normal View History

// 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-12-22 14:45:16 +08:00
using osu.Game.Online.API;
2018-12-22 14:45:16 +08:00
namespace osu.Game.Online.Multiplayer
2018-12-22 14:45:16 +08:00
{
2020-08-31 18:54:41 +08:00
public class GetRoomLeaderboardRequest : APIRequest<APILeaderboard>
2018-12-22 14:45:16 +08:00
{
private readonly int roomId;
2020-08-31 18:54:41 +08:00
public GetRoomLeaderboardRequest(int roomId)
2018-12-22 14:45:16 +08:00
{
this.roomId = roomId;
}
protected override string Target => $@"rooms/{roomId}/leaderboard";
}
}