All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.bselzer.gw2.v2.model.item.detail.UpgradeComponentDetails.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.gw2.v2.model.item.detail

import com.bselzer.gw2.v2.model.enumeration.wrapper.InfusionUpgradeFlag
import com.bselzer.gw2.v2.model.enumeration.wrapper.UpgradeComponentDetailType
import com.bselzer.gw2.v2.model.enumeration.wrapper.UpgradeComponentFlag
import com.bselzer.gw2.v2.model.item.detail.infix.InfixUpgrade
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class UpgradeComponentDetails(
    @SerialName("type")
    val type: UpgradeComponentDetailType = UpgradeComponentDetailType(),

    /**
     * The flags indicating what type of items can be upgraded.
     */
    @SerialName("flags")
    val flags: List = emptyList(),

    @SerialName("infusion_upgrade_flags")
    val infusionUpgradeFlags: List = emptyList(),

    @SerialName("suffix")
    val suffix: String = "",

    @SerialName("infix_upgrade")
    val infixUpgrade: InfixUpgrade = InfixUpgrade(),

    /**
     * The effect bonuses if this component is for a rune. The [infixUpgrade] will not contain a buff.
     */
    @SerialName("bonuses")
    val bonuses: List = emptyList()
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy