1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 09:47:24 +08:00
osu-lazer/osu.Game/Online/API/Requests/GetUserKudosuHistoryRequest.cs

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

22 lines
664 B
C#
Raw Normal View History

2019-08-09 15:47:52 +08:00
// 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 System.Collections.Generic;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetUserKudosuHistoryRequest : PaginatedAPIRequest<List<APIKudosuHistory>>
{
private readonly long userId;
2022-04-19 07:48:34 +08:00
public GetUserKudosuHistoryRequest(long userId, PaginationParameters pagination)
: base(pagination)
2019-08-09 15:47:52 +08:00
{
this.userId = userId;
}
protected override string Target => $"users/{userId}/kudosu";
}
}