Table of Contents

Method GetRecipesByIngredientItemIdByPage

Namespace
GuildWars2.Hero.Crafting.Recipes
Assembly
GW2SDK.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

ingredientItemId int

The item ID of the ingredient.

pageIndex int

How many pages to skip. The first page starts at 0.

pageSize int?

How many entries to take.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.