Table of Contents

Method GetMatchesScoresByIds

Namespace
GuildWars2.Wvw
Assembly
GW2SDK.dll

GetMatchesScoresByIds(IEnumerable<string>, MissingMemberBehavior, CancellationToken)

Retrieves WvW matches by their IDs.

public Task<(HashSet<MatchScores> Value, MessageContext Context)> GetMatchesScoresByIds(IEnumerable<string> matchIds, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

matchIds IEnumerable<string>

The match IDs.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.