Types

Link copied to clipboard
data class Armor(val type: String, val weightClass: String, val defense: Int, val upgrades: GW2v2Item.Details.Upgrades) : GW2v2Item.Details

Additional information about an armor item.

Link copied to clipboard

Additional information about a backpiece.

Link copied to clipboard
data class Bag(val size: Int, val noSellOrSort: Boolean) : GW2v2Item.Details

Additional information about a bag.

Link copied to clipboard
data class Consumable(val type: String, val description: String? = null, val durationMs: Int? = null, val unlockType: String? = null, val colorId: Int? = null, val recipeId: Int? = null, val extraRecipeIds: List<Int>? = null, val guildUpgradeId: Int? = null, val applyCount: Int? = null, val name: String? = null, val icon: String? = null, val skins: List<Int>? = null) : GW2v2Item.Details

Additional information about a consumable item.

Link copied to clipboard

Additional information about a container.

Link copied to clipboard

Additional information about a gathering tool.

Link copied to clipboard
data class Gizmo(val type: String, val guildUpgradeId: Int? = null, val vendorIds: List<Int>? = null) : GW2v2Item.Details

Additional information about a gizmo.

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

Information about an item's infix upgrade.

Link copied to clipboard
data class MiniPet(val minipetId: Int) : GW2v2Item.Details

Additional information about a mini unlock item.

Link copied to clipboard
data class Tool(val type: String, val charges: Int) : GW2v2Item.Details

Additional information about a tool.

Link copied to clipboard

Additional information about a trinket.

Link copied to clipboard
data class UpgradeComponent(val type: String, val flags: List<String>, val infusionUpgradeFlags: List<String>, val suffix: String, val infixUpgrade: GW2v2Item.Details.InfixUpgrade? = null, val bonuses: List<String>? = null, val attributeAdjustment: Double? = null) : GW2v2Item.Details

Additional information about an upgrade component.

Link copied to clipboard
@Serializable
data class Upgrades(val infusionSlots: List<GW2v2Item.Details.Upgrades.InfusionSlot>, val infixUpgrade: GW2v2Item.Details.InfixUpgrade? = null, val suffixItemId: Int? = null, val secondarySuffixItemId: GW2ItemId? = null, val statChoices: List<Int>? = null, val attributeAdjustment: Double? = null)

Information about an item's upgrades.

Link copied to clipboard
data class Weapon(val type: String, val minPower: Int, val maxPower: Int, val damageType: String, val defense: Int, val upgrades: GW2v2Item.Details.Upgrades) : GW2v2Item.Details

Additional information about a weapon.