GW2v2AccountInventorySlot

@Serializable
data class GW2v2AccountInventorySlot(val id: GW2ItemId, val count: Int, val charges: Int? = null, val skin: GW2SkinId? = null, val upgrades: List<GW2ItemId>? = null, val infusions: List<GW2ItemId>? = null, val stats: GW2v2AccountInventorySlot.Stats? = null, val binding: String? = null)

Information about a stack of items in a player's shared inventory.

Parameters

id

the item's ID

count

the amount of items in the stack

charges

the amount of charges remaining on the item

skin

the ID of the skin applied to the item

upgrades

the array of item IDs of runes or sigils applied to the item

infusions

the array of item IDs of infusions applied to the item

stats

information about the stats chosen for the item (if the item offers the option to select stats/prefix)

binding

the binding of the item

Constructors

Link copied to clipboard
constructor(id: GW2ItemId, count: Int, charges: Int? = null, skin: GW2SkinId? = null, upgrades: List<GW2ItemId>? = null, infusions: List<GW2ItemId>? = null, stats: GW2v2AccountInventorySlot.Stats? = null, binding: String? = null)

Types

Link copied to clipboard
@Serializable
data class Stats(val id: Int, val power: Int? = null, val precision: Int? = null, val toughness: Int? = null, val vitality: Int? = null, val conditionDamage: Int? = null, val conditionDuration: Int? = null, val healing: Int? = null, val boonDuration: Int? = null)

Information about an item's stats.

Properties

Link copied to clipboard
val binding: String? = null

This field holds the binding of the item.

Link copied to clipboard
val charges: Int? = null

This field holds the amount of charges remaining on the item.

Link copied to clipboard
val count: Int

This field holds the amount of items in the stack.

Link copied to clipboard

This field holds the item's ID.

Link copied to clipboard
val infusions: List<GW2ItemId>? = null

This field holds the array of item IDs of infusions applied to the item.

Link copied to clipboard
val skin: GW2SkinId? = null

This field holds the ID of the skin applied to the item.

Link copied to clipboard

This field holds information about the stats chosen for the item (if the item offers the option to select stats/prefix).

Link copied to clipboard
val upgrades: List<GW2ItemId>? = null

This field holds the array of item IDs of runes or sigils applied to the item.