Table of Contents

Method GetRecipesByOutputItemId

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

GetRecipesByOutputItemId(int, MissingMemberBehavior, CancellationToken)

Retrieves all recipes for creating the specified output item.

public Task<(HashSet<Recipe> Value, MessageContext Context)> GetRecipesByOutputItemId(int outputItemId, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

outputItemId int

The item ID of the created item.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.