Table of Contents

Method GetMasteryTrackProgress

Namespace
GuildWars2.Hero.Masteries
Assembly
GW2SDK.dll

GetMasteryTrackProgress(string?, MissingMemberBehavior, CancellationToken)

Retrieves mastery track progress on the account associated with the access token. This endpoint is only accessible with a valid access token.

public Task<(HashSet<MasteryTrackProgress> Value, MessageContext Context)> GetMasteryTrackProgress(string? accessToken, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

accessToken string

An API key or subtoken.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.