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

commonMain.com.bselzer.gw2.v2.model.template.equipment.EquipmentTemplateTab.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.gw2.v2.model.template.equipment

import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

/**
 * The position of the tab.
 */
@Serializable
data class EquipmentTemplateTab(
    /**
     * The id and index of the tab.
     */
    @SerialName("tab")
    override val id: EquipmentTemplateTabId = EquipmentTemplateTabId(),

    /**
     * The name of the tab given by the player.
     */
    @SerialName("name")
    val name: String = "",

    /**
     * Whether this tab is the currently selected tab.
     */
    @SerialName("is_active")
    val isActive: Boolean = false,

    /**
     * The pieces of equipment.
     */
    @SerialName("equipment")
    val equipment: List = emptyList(),

    /**
     * The pieces of equipment for player vs. player.
     */
    @SerialName("equipment_pvp")
    val pvpEquipment: EquipmentTemplatePvp = EquipmentTemplatePvp()
) : Identifiable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy