osu/osu.Game/Online/Rooms/GetRoomLeaderboardRequest.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
541 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 06:45:16 +00:00
2022-06-17 07:37:17 +00:00
#nullable disable
using osu.Game.Online.API;
2018-12-22 06:45:16 +00:00
2020-12-25 04:38:11 +00:00
namespace osu.Game.Online.Rooms
2018-12-22 06:45:16 +00:00
{
2020-08-31 10:54:41 +00:00
public class GetRoomLeaderboardRequest : APIRequest<APILeaderboard>
2018-12-22 06:45:16 +00:00
{
private readonly long roomId;
2018-12-22 06:45:16 +00:00
public GetRoomLeaderboardRequest(long roomId)
2018-12-22 06:45:16 +00:00
{
this.roomId = roomId;
}
protected override string Target => $@"rooms/{roomId}/leaderboard";
}
}