Table of Contents

Method GetLeaderboardEntries

Namespace
GuildWars2.Pvp
Assembly
GW2SDK.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

seasonId string

The season ID.

boardId string

The leaderboard ID.

region string

The region.

pageIndex int

How many pages to skip. The first page starts at 0.

pageSize int?

How many entries to take.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(HashSet<LeaderboardEntry> Value, MessageContext Context)>

A task that represents the API request.