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
intThe item ID of the ingredient.
cancellationToken
CancellationTokenA token to cancel the request.