UpgradeCost

@Serializable
data class UpgradeCost(val type: String? = null, val essenceType: EssenceType? = null, val amount: Int? = null, val itemId: String? = null)

Information about an upgrade for a dungeon item

Constructors

Link copied to clipboard
constructor(type: String? = null, essenceType: EssenceType? = null, amount: Int? = null, itemId: String? = null)

Properties

Link copied to clipboard
val amount: Int? = null

Amount of essence or item needed

Link copied to clipboard
@SerialName(value = "essence_type")
val essenceType: EssenceType? = null

Type of essence needed.

Link copied to clipboard
@SerialName(value = "item_id")
val itemId: String? = null

Item ID needed.

Link copied to clipboard
val type: String? = null

Upgrade type (ITEM or ESSENCE)