Ingredient

@Serializable
data class Ingredient(val itemId: GW2ItemId, val count: Int)

Information about a recipe ingredient.

Parameters

itemId

the ingredient's item ID

count

the quantity of this ingredient

Constructors

Link copied to clipboard
constructor(itemId: GW2ItemId, count: Int)

Properties

Link copied to clipboard
val count: Int

This field holds the quantity of this ingredient.

Link copied to clipboard
@SerialName(value = "item_id")
val itemId: GW2ItemId

This field holds the ingredient's item ID.