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
stringThe Mist Champion ID.
language
LanguageThe language to use for descriptions.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(MistChampion Value, MessageContext Context)>
A task that represents the API request.