Table of Contents

Method GetRecipesIndexByIngredientItemId

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

GetRecipesIndexByIngredientItemId(int, CancellationToken)

Retrieves the IDs of all recipes that require the specified ingredient.

public Task<(HashSet<int> Value, MessageContext Context)> GetRecipesIndexByIngredientItemId(int ingredientItemId, CancellationToken cancellationToken = default)

Parameters

ingredientItemId int

The item ID of the ingredient.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.