Table of Contents

Method GetMistChampionsByIds

Namespace
GuildWars2.Pvp
Assembly
GW2SDK.dll

GetMistChampionsByIds(IEnumerable<string>, Language?, MissingMemberBehavior, CancellationToken)

Retrieves Mist Champions by their IDs.

public Task<(HashSet<MistChampion> Value, MessageContext Context)> GetMistChampionsByIds(IEnumerable<string> mistChampionIds, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

mistChampionIds IEnumerable<string>

The Mist Champion IDs.

language Language

The language to use for descriptions.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.