mirror of
https://github.com/osukey/osukey.git
synced 2025-05-04 21:27:22 +09:00
24 lines
769 B
C#
24 lines
769 B
C#
// 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.
|
|
|
|
using osu.Game.Online.API;
|
|
|
|
namespace osu.Game.Online.Multiplayer
|
|
{
|
|
public class ShowPlaylistUserScoreRequest : APIRequest<MultiplayerScore>
|
|
{
|
|
private readonly int roomId;
|
|
private readonly int playlistItemId;
|
|
private readonly long userId;
|
|
|
|
public ShowPlaylistUserScoreRequest(int roomId, int playlistItemId, long userId)
|
|
{
|
|
this.roomId = roomId;
|
|
this.playlistItemId = playlistItemId;
|
|
this.userId = userId;
|
|
}
|
|
|
|
protected override string Target => $"rooms/{roomId}/playlist/{playlistItemId}/scores/users/{userId}";
|
|
}
|
|
}
|