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

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

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

import com.bselzer.gw2.v2.model.enumeration.wrapper.TrinketDetailType
import com.bselzer.gw2.v2.model.item.ItemId
import com.bselzer.gw2.v2.model.item.detail.infix.InfixUpgrade
import com.bselzer.gw2.v2.model.item.detail.infusion.InfusionSlot
import com.bselzer.gw2.v2.model.itemstat.ItemStatId
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class TrinketDetails(
    @SerialName("type")
    val type: TrinketDetailType = TrinketDetailType(),

    @SerialName("infusion_slots")
    val infusionSlots: List = emptyList(),

    /**
     * The adjustment to combine with the item stat attribute.
     */
    @SerialName("attribute_adjustment")
    val attributeAdjustment: Double = 0.0,

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

    /**
     * The id of the suffix item.
     * @see the wiki
     */
    @SerialName("suffix_item_id")
    val suffixItemId: ItemId = ItemId(),

    /**
     * The id of the secondary suffix item.
     * @see the wiki
     */
    @SerialName("secondary_suffix_item_id")
    val secondarySuffixItemId: ItemId = ItemId(),

    /**
     * The ids of the selectable stats.
     * @see the wiki
     */
    @SerialName("stat_choices")
    val statChoices: List = emptyList()
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy