mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Introduce Pagination
and simplify paginated API requests
This commit is contained in:
@ -10,8 +10,8 @@ namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
private readonly long userId;
|
||||
|
||||
public GetUserMostPlayedBeatmapsRequest(long userId, int page, int itemsPerPage, int initialItems)
|
||||
: base(page, itemsPerPage, initialItems)
|
||||
public GetUserMostPlayedBeatmapsRequest(long userId, Pagination pagination)
|
||||
: base(pagination)
|
||||
{
|
||||
this.userId = userId;
|
||||
}
|
||||
|
Reference in New Issue
Block a user