Method GetRecipesByIngredientItemId
- Namespace
- GuildWars2.Hero.Crafting.Recipes
- Assembly
- GuildWars2.dll
GetRecipesByIngredientItemId(int, MissingMemberBehavior, CancellationToken)
Retrieves all recipes that require the specified ingredient.
public Task<(HashSet<Recipe> Value, MessageContext Context)> GetRecipesByIngredientItemId(int ingredientItemId, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
ingredientItemIdintThe item ID of the ingredient.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.