commonMain.com.bselzer.gw2.v2.model.profession.ProfessionWeaponSkill.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model-jvm Show documentation
Show all versions of v2-model-jvm 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.SkillSlot
import com.bselzer.gw2.v2.model.enumeration.wrapper.WeaponType
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 ProfessionWeaponSkill(
/**
* 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 weapon type of the required offhand. Used by Thieves for the dual wield skills.
*/
@SerialName("offhand")
val offhand: WeaponType = WeaponType()
) : Identifiable