Table of Contents

Method GetMistChampionById

Namespace
GuildWars2.Pvp
Assembly
GW2SDK.dll

GetMistChampionById(string, Language?, MissingMemberBehavior, CancellationToken)

Retrieves a Mist Champion by its ID.

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

Parameters

mistChampionId string

The Mist Champion ID.

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<(MistChampion Value, MessageContext Context)>

A task that represents the API request.