mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Add concept of "initial items count" in paginated API requests
This commit is contained in:
@ -13,8 +13,8 @@ namespace osu.Game.Online.API.Requests
|
||||
|
||||
private readonly BeatmapSetType type;
|
||||
|
||||
public GetUserBeatmapsRequest(long userId, BeatmapSetType type, int page = 0, int itemsPerPage = 6)
|
||||
: base(page, itemsPerPage)
|
||||
public GetUserBeatmapsRequest(long userId, BeatmapSetType type, int page, int itemsPerPage, int initialItems)
|
||||
: base(page, itemsPerPage, initialItems)
|
||||
{
|
||||
this.userId = userId;
|
||||
this.type = type;
|
||||
|
Reference in New Issue
Block a user