Method GetMasteryTrackById
- Namespace
- GuildWars2.Hero.Masteries
- Assembly
- GuildWars2.dll
GetMasteryTrackById(int, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a mastery track by its ID.
public Task<(MasteryTrack Value, MessageContext Context)> GetMasteryTrackById(int masteryTrackId, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
masteryTrackIdintThe mastery track ID.
languageLanguageThe language to use for descriptions.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<(MasteryTrack Value, MessageContext Context)>
A task that represents the API request.