Method GetMatchStatsByWorldId
- Namespace
- GuildWars2.Wvw
- Assembly
- GW2SDK.dll
GetMatchStatsByWorldId(int, MissingMemberBehavior, CancellationToken)
Retrieves a WvW match by one of the participating world IDs.
public Task<(MatchStats Value, MessageContext Context)> GetMatchStatsByWorldId(int worldId, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
worldId
intThe world ID.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(MatchStats Value, MessageContext Context)>
A task that represents the API request.