EquipmentSlot

@Serializable
data class EquipmentSlot(val id: GW2ItemId, val slot: String? = null, val skin: GW2SkinId? = null, val dyes: List<Int?>? = null, val upgrades: List<GW2ItemId>? = null, val infusions: List<GW2ItemId>? = null, val charges: Int? = null, val binding: String? = null, val boundTo: String? = null, val stats: GW2v2CharactersEquipment.EquipmentSlot.Stats? = null, val location: String, val tabs: List<Int>? = null)

Information a character's equipment slot.

Parameters

id

the equipment piece's item ID

slot

the equipment piece's slot

skin

the ID of the skin transmuted onto the equipment piece

dyes

the IDs of the dyes applied to the item

upgrades

the IDs of the upgrade components slotted into the item

infusions

the IDs of the infusions slotted into the item

charges

the amount of charges remaining on the item

binding

the binding of the item

boundTo

name of the character the item is bound to

stats

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

location

the storage location of the equipment piece

tabs

the IDs of the tabs in which this item is used

Constructors

Link copied to clipboard
constructor(id: GW2ItemId, slot: String? = null, skin: GW2SkinId? = null, dyes: List<Int?>? = null, upgrades: List<GW2ItemId>? = null, infusions: List<GW2ItemId>? = null, charges: Int? = null, binding: String? = null, boundTo: String? = null, stats: GW2v2CharactersEquipment.EquipmentSlot.Stats? = null, location: String, tabs: List<Int>? = null)

Types

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

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

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

Link copied to clipboard

This field holds the equipment piece's item ID.

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

This field holds the IDs of the infusions slotted into the item.

Link copied to clipboard

This field holds the storage location of the equipment piece.

Link copied to clipboard
val skin: GW2SkinId? = null

This field holds the ID of the skin transmuted onto the equipment piece.

Link copied to clipboard
val slot: String? = null

This field holds the equipment piece's slot.

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

This field holds the IDs of the tabs in which this item is used.

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

This field holds the IDs of the upgrade components slotted into the item.