BankBag

data class BankBag(val id: Int, val name: String, val description: String, val type: String, val icon: String, val buildTime: Int, val requiredLevel: Int, val experience: Int, val prerequisites: List<Int>, val costs: List<GW2v2GuildUpgrade.Cost>, val bagMaxItems: Int, val bagMaxCoins: Int) : GW2v2GuildUpgrade

Information about a guild bank upgrades.

Parameters

id

the upgrade's ID

name

the upgrade's name

description

the upgrade's description

type

the upgrade's type

icon

the URL for the upgrade's icon

buildTime

the time it takes to build the upgrade

requiredLevel

the prerequisite level the guild must be at to build the upgrade

experience

the amount of guild experience that will be awarded upon building the upgrade

prerequisites

an array of upgrade IDs that must be completed before this can be built

costs

an array of objects describing the upgrade's cost

bagMaxItems

the maximum item slots of the guild bank tab

bagMaxCoins

the maximum amount of coins that can be stored in the bank tab

Constructors

Link copied to clipboard
constructor(id: Int, name: String, description: String, type: String, icon: String, buildTime: Int, requiredLevel: Int, experience: Int, prerequisites: List<Int>, costs: List<GW2v2GuildUpgrade.Cost>, bagMaxItems: Int, bagMaxCoins: Int)

Properties

Link copied to clipboard
@SerialName(value = "bag_max_coins")
val bagMaxCoins: Int

This field holds the maximum amount of coins that can be stored in the bank tab.

Link copied to clipboard
@SerialName(value = "bag_max_items")
val bagMaxItems: Int

This field holds the maximum item slots of the guild bank tab.

Link copied to clipboard
@SerialName(value = "build_time")
open override val buildTime: Int
Link copied to clipboard
open override val costs: List<GW2v2GuildUpgrade.Cost>
Link copied to clipboard
open override val description: String
Link copied to clipboard
open override val experience: Int
Link copied to clipboard
open override val icon: String
Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val prerequisites: List<Int>
Link copied to clipboard
@SerialName(value = "required_level")
open override val requiredLevel: Int
Link copied to clipboard
open override val type: String