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

commonMain.com.bselzer.gw2.v2.model.legend.Legend.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.gw2.v2.model.legend

import com.bselzer.gw2.v2.model.skill.SkillId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class Legend(
    @SerialName("id")
    override val id: LegendId = LegendId(),

    /**
     * The id used in build template chat links.
     * @see the wiki
     */
    @SerialName("code")
    val code: LegendCode = LegendCode(),

    /**
     * The id of the profession skill used to swap to this legend.
     * @see the wiki
     */
    @SerialName("swap")
    val swapLegendId: SkillId = SkillId(),

    /**
     *  The id of the heal skill.
     *  @see the wiki
     */
    @SerialName("heal")
    val healId: SkillId = SkillId(),

    /**
     * The id of the elite skill.
     * @see the wiki
     */
    @SerialName("elite")
    val eliteId: SkillId = SkillId(),

    /**
     * The ids of the utility skills.
     * @see the wiki
     */
    @SerialName("utilities")
    val utilityIds: List = emptyList()
) : Identifiable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy