Table of Contents

Method GetLearnedCraftingDisciplines

Namespace
GuildWars2.Hero.Crafting.Disciplines
Assembly
GW2SDK.dll

GetLearnedCraftingDisciplines(string, string?, MissingMemberBehavior, CancellationToken)

Retrieves the list of crafting disciplines that a character has learned. This endpoint is only accessible with a valid access token.

public Task<(LearnedCraftingDisciplines Value, MessageContext Context)> GetLearnedCraftingDisciplines(string characterName, string? accessToken, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

characterName string

A character name that belongs to the account associated with the access token.

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

A task that represents the API request.