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