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

commonMain.com.bselzer.gw2.v2.model.profession.ProfessionSkill.kt Maven / Gradle / Ivy

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

import com.bselzer.gw2.v2.model.enumeration.wrapper.AttunementName
import com.bselzer.gw2.v2.model.enumeration.wrapper.SkillSlot
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 ProfessionSkill(
    /**
     * The id of the skill.
     * @see the wiki
     */
    @SerialName("id")
    override val id: SkillId = SkillId(),

    /**
     * The skill slot the skill belongs to.
     */
    @SerialName("slot")
    val slot: SkillSlot = SkillSlot(),

    /**
     * The name of the required attunement. Used by Elementalists.
     */
    @SerialName("attunement")
    val attunement: AttunementName = AttunementName(),

    /**
     * The name of the profession that the skill is stolen from. Used by Thieves for their Steal skill.
     */
    @SerialName("source")
    val source: ProfessionId = ProfessionId()
) : Identifiable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy