Table of Contents

Method GetUnlockedRecipes

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

GetUnlockedRecipes(string?, CancellationToken)

Retrieves the IDs of all recipes that were unlocked account-wide by learning a recipe sheet. These recipes are automatically learned by characters once they reach the required crafting level. This endpoint is only accessible with a valid access token.

public Task<(HashSet<int> Value, MessageContext Context)> GetUnlockedRecipes(string? accessToken, CancellationToken cancellationToken = default)

Parameters

accessToken string

An API key or subtoken.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.