Consumable

constructor(id: Int, name: String, description: String, type: String, icon: String, buildTime: Int, requiredLevel: Int, experience: Int, prerequisites: List<Int>, costs: List<GW2v2GuildUpgrade.Cost>)

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