1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-30 21:42:56 +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.

24 lines
683 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.
2022-06-17 15:37:17 +08:00
#nullable disable
2019-08-09 15:47:52 +08:00
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";
}
}