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

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

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

import com.bselzer.gw2.v2.model.enumeration.wrapper.WeaponDamageType
import com.bselzer.gw2.v2.model.enumeration.wrapper.WeaponDetailType
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 WeaponDetails(
    @SerialName("type")
    val type: WeaponDetailType = WeaponDetailType(),

    @SerialName("damage_type")
    val damageType: WeaponDamageType = WeaponDamageType(),

    @SerialName("min_power")
    val minPower: Int = 0,

    @SerialName("max_power")
    val maxPower: Int = 0,

    @SerialName("defense")
    val defense: Int = 0,

    @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