Method GetLeaderboardEntries
- Namespace
- GuildWars2.Pvp
- Assembly
- GuildWars2.dll
GetLeaderboardEntries(string, string, string, int, int?, MissingMemberBehavior, CancellationToken)
Retrieves a page of the specified leaderboard in the specified PvP League season.
public Task<(HashSet<LeaderboardEntry> Value, MessageContext Context)> GetLeaderboardEntries(string seasonId, string boardId, string region, int pageIndex, int? pageSize = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
seasonIdstringThe season ID.
boardIdstringThe leaderboard ID.
regionstringThe region.
pageIndexintHow many pages to skip. The first page starts at 0.
pageSizeint?How many entries to take.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<(HashSet<LeaderboardEntry> Value, MessageContext Context)>
A task that represents the API request.