GW2v2AccountMaterial

@Serializable
data class GW2v2AccountMaterial(val id: GW2ItemId, val category: Int, val count: Int, val binding: String? = null)

Information about a stack of materials in a player's vault.

Parameters

id

the material's item ID

category

the material category the item belongs to

count

the number of the material that is stored in the player's vault

binding

the binding of the material

Constructors

Link copied to clipboard
constructor(id: GW2ItemId, category: Int, count: Int, binding: String? = null)

Properties

Link copied to clipboard
val binding: String? = null

This field holds the binding of the material.

Link copied to clipboard

This field holds the material category the item belongs to.

Link copied to clipboard
val count: Int

This field holds the number of the material that is stored in the player's vault.

Link copied to clipboard

This field holds the material's item ID.