Equipment

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

Information about a piece of equipment.

Parameters

id

the equipped item's ID

slot

the slot in which the equipment piece is slotted into

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

binding

the binding of the item

boundTo

name of the character the item is bound to

location

the storage location of the equipment piece

stats

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

Constructors

Link copied to clipboard
constructor(id: Int, slot: String, skin: GW2SkinId? = null, dyes: List<Int?>? = null, upgrades: List<Int>? = null, infusions: List<Int>? = null, binding: String? = null, boundTo: String? = null, location: String, stats: GW2v2CharactersEquipmentTab.Equipment.Stats? = 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
@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 dyes: List<Int?>? = null

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

Link copied to clipboard
val id: Int

This field holds the equipped item's ID.

Link copied to clipboard
val infusions: List<Int>? = 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

This field holds the slot in which the equipment piece is slotted into.

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

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