Method GetRecipesIndexByIngredientItemId
- Namespace
- GuildWars2.Hero.Crafting.Recipes
- Assembly
- GuildWars2.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
ingredientItemIdintThe item ID of the ingredient.
cancellationTokenCancellationTokenA token to cancel the request.