Method GetRecipesByIngredientItemIdByPage
- Namespace
- GuildWars2.Hero.Crafting.Recipes
- Assembly
- GuildWars2.dll
GetRecipesByIngredientItemIdByPage(int, int, int?, MissingMemberBehavior, CancellationToken)
Retrieves a page of recipes that require the specified ingredient.
public Task<(HashSet<Recipe> Value, MessageContext Context)> GetRecipesByIngredientItemIdByPage(int ingredientItemId, int pageIndex, int? pageSize = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
ingredientItemIdintThe item ID of the ingredient.
pageIndexintHow many pages to skip. The first page starts at 0.
pageSizeint?How many entries to take.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.