commonMain.com.bselzer.gw2.v2.model.character.progression.CharacterTraining.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.character.progression
import com.bselzer.gw2.v2.model.profession.TrainingId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class CharacterTraining(
/**
* The id of the skill tree associated with the profession's training.
* @see the wiki
*/
@SerialName("id")
override val id: TrainingId = TrainingId(),
/**
* The number of hero points spent.
*/
@SerialName("spent")
val spent: Int = 0,
/**
* Whether the skill tree is fully trained.
*/
@SerialName("done")
val isDone: Boolean = false
) : Identifiable