Types

Link copied to clipboard
data class Armor(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val armor: GW2v1ItemDetails.Armor.Armor) : GW2v1ItemDetails

Additional information about an armor item.

Link copied to clipboard
data class Back(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val back: GW2v1ItemDetails.Back.Back) : GW2v1ItemDetails

Additional information about a backpiece.

Link copied to clipboard
data class Bag(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val bag: GW2v1ItemDetails.Bag.Bag) : GW2v1ItemDetails

Additional information about a bag.

Link copied to clipboard
data class Consumable(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val consumable: GW2v1ItemDetails.Consumable.Consumable) : GW2v1ItemDetails

Additional information about a consumable item.

Link copied to clipboard
data class Container(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val container: GW2v1ItemDetails.Container.Container) : GW2v1ItemDetails

Additional information about a container.

Link copied to clipboard
data class GatheringTool(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val gathering: GW2v1ItemDetails.GatheringTool.GatheringTool) : GW2v1ItemDetails

Additional information about a gathering tool.

Link copied to clipboard
data class Gizmo(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val gizmo: GW2v1ItemDetails.Gizmo.Gizmo) : GW2v1ItemDetails

Additional information about a gizmo.

Link copied to clipboard
@Serializable
data class InfixUpgrade(val id: GW2ItemStatId, val attributes: List<GW2v1ItemDetails.InfixUpgrade.Attribute>, val buff: GW2v1ItemDetails.InfixUpgrade.Buff? = null)

Information about an item's infix upgrade.

Link copied to clipboard
@Serializable
data class InfusionSlot(val flags: List<String>, val itemId: GW2ItemId? = null)

Information about an items infusion slot.

Link copied to clipboard
data class MiniPet(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val mini_pet: GW2v1ItemDetails.MiniPet.MiniPet) : GW2v1ItemDetails

Additional information about a mini unlock item.

Link copied to clipboard
data class Tool(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val tool: GW2v1ItemDetails.Tool.Tool) : GW2v1ItemDetails

Additional information about a tool.

Link copied to clipboard
data class Trinket(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val trinket: GW2v1ItemDetails.Trinket.Trinket) : GW2v1ItemDetails

Additional information about a trinket.

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

Information about an item's upgrade.

Link copied to clipboard
data class UpgradeComponent(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val upgrade_component: GW2v1ItemDetails.UpgradeComponent.UpgradeComponent) : GW2v1ItemDetails

Additional information about an upgrade component.

Link copied to clipboard
data class Weapon(val itemId: GW2ItemId, val name: String, val type: String, val iconFileId: String, val iconFileSignature: String, val description: String? = null, val rarity: String, val level: Int, val vendorValue: Int, val defaultSkin: Int? = null, val flags: List<String>, val gameTypes: List<String>, val restrictions: List<String>, val upgradeRecipes: List<GW2v1ItemDetails.Upgrade>? = null, val weapon: GW2v1ItemDetails.Weapon.Weapon) : GW2v1ItemDetails

Additional information about a weapon.

Properties

Link copied to clipboard
abstract val defaultSkin: Int?

This field holds the ID of the item's default skin.

Link copied to clipboard
abstract val description: String?

This field holds the item's description.

Link copied to clipboard
abstract val flags: List<String>

This field holds flags applying to the item.

Link copied to clipboard
abstract val gameTypes: List<String>

This field holds the game types in which the item is usable.

Link copied to clipboard
abstract val iconFileId: String

This field holds the icon's file ID to be used with the render service.

Link copied to clipboard

This field holds the icon's file signature to be used with the render service.

Link copied to clipboard
abstract val itemId: GW2ItemId

This field holds the item's ID.

Link copied to clipboard
abstract val level: Int

This field holds the level required to use the item.

Link copied to clipboard
abstract val name: String

This field holds the item's name.

Link copied to clipboard
abstract val rarity: String

This field holds the item's rarity.

Link copied to clipboard
abstract val restrictions: List<String>

This field holds restrictions applied to the item.

Link copied to clipboard
abstract val type: String

This field holds the item's type.

Link copied to clipboard

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

Link copied to clipboard
abstract val vendorValue: Int

This field holds the value in coins when selling the item to a vendor.