Cost

constructor(type: String, name: String, count: Int, itemId: GW2ItemId? = null)

Parameters

id

the upgrade's ID

name

the cost's name

description

the upgrade's description

type

the cost'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

count

the amount needed

itemId

the ID of the cost's item