GW2v2AccountBankSlot

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

Information about a bank slot.

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

dyes

the IDs of the dyes applied to the item

upgrades

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

upgradeSlotIndices

the slot of the corresponding upgrade

infusions

the array of item IDs of infusions applied to the item

stats

contains information on the stats chosen if the item offers an option for stats/prefix

binding

the binding of the material

boundTo

name of the character the item is bound to

Constructors

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

Types

Link copied to clipboard
@Serializable
data class Stats(val id: Int, val attributes: GW2v2AccountBankSlot.Stats.Attributes)

Information about an item's stats.

Properties

Link copied to clipboard
val binding: String? = null

This field holds the binding of the material.

Link copied to clipboard
@SerialName(value = "bound_to")
val boundTo: String? = null

This field holds name of the character the item is bound to.

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
val dyes: List<Int>? = null

This field holds the IDs of the dyes applied to the item.

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 contains information on the stats chosen if the item offers an option for 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.

Link copied to clipboard
@SerialName(value = "upgrade_slot_indices")
val upgradeSlotIndices: List<Int>? = null

This field holds the slot of the corresponding upgrade.