Upgrade

@Serializable
data class Upgrade(val type: String, val from: GW2ItemId? = null, val into: GW2ItemId? = null)

Information about an item's upgrade.

Parameters

itemId

the item's ID

name

the item's name

type

describes the method of upgrading

iconFileId

the icon's file ID to be used with the render service

iconFileSignature

the icon's file signature to be used with the render service

description

the item's description

rarity

the item's rarity

level

the level required to use the item

vendorValue

the value in coins when selling the item to a vendor

defaultSkin

the ID of the item's default skin

flags

flags applying to the item

gameTypes

the game types in which the item is usable

restrictions

restrictions applied to the item

upgradeRecipes

lists what items this item can be upgraded from and into, and the method of upgrading

from

the ID of the item that is upgraded into the item

into

the ID of the item that results from performing the upgrade

Constructors

Link copied to clipboard
constructor(type: String, from: GW2ItemId? = null, into: GW2ItemId? = null)

Properties

Link copied to clipboard
val from: GW2ItemId? = null

This field holds the ID of the item that is upgraded into the item.

Link copied to clipboard
val into: GW2ItemId? = null

This field holds the ID of the item that results from performing the upgrade.

Link copied to clipboard

This field holds describes the method of upgrading.