GW2v2GuildTreasurySlot

@Serializable
data class GW2v2GuildTreasurySlot(val itemId: GW2ItemId, val count: Int, val neededBy: List<GW2v2GuildTreasurySlot.UpgradeRequirement>)

Information about an item in a guild's treasury.

Parameters

itemId

the item's ID

count

the amount of the item in the guild's treasury

neededBy

the currently in-progress upgrades requiring the item

Constructors

Link copied to clipboard
constructor(itemId: GW2ItemId, count: Int, neededBy: List<GW2v2GuildTreasurySlot.UpgradeRequirement>)

Types

Link copied to clipboard
@Serializable
data class UpgradeRequirement(val upgradeId: Int, val count: Int)

Information about the usage for an item.

Properties

Link copied to clipboard
val count: Int

This field holds the amount of the item in the guild's treasury.

Link copied to clipboard
@SerialName(value = "item_id")
val itemId: GW2ItemId

This field holds the item's ID.

Link copied to clipboard
@SerialName(value = "needed_by")
val neededBy: List<GW2v2GuildTreasurySlot.UpgradeRequirement>

This field holds the currently in-progress upgrades requiring the item.