commonMain.com.bselzer.gw2.v2.model.profession.ProfessionSkill.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model Show documentation
Show all versions of v2-model Show documentation
Guild Wars 2 API models for v2-client.
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