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

commonMain.com.bselzer.gw2.v2.model.character.progression.CharacterTraining.kt Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy