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

commonMain.com.bselzer.gw2.v2.model.template.build.BuildTemplate.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.gw2.v2.model.template.build

import com.bselzer.gw2.v2.model.legend.LegendId
import com.bselzer.gw2.v2.model.profession.ProfessionId
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class BuildTemplate(
    /**
     * The name of the template given by the player.
     */
    @SerialName("name")
    val name: String = "",

    /**
     * The profession the build template is for.
     */
    @SerialName("profession")
    val profession: ProfessionId = ProfessionId(),

    /**
     * The selected specializations and traits.
     */
    @SerialName("specializations")
    val specializations: List = emptyList(),

    /**
     * The selected skills on land.
     */
    @SerialName("skills")
    val terrestrialSkills: List = emptyList(),

    /**
     * The selected skills underwater.
     */
    @SerialName("aquatic_skills")
    val aquaticSkills: List = emptyList(),

    /**
     * The selected pets. For Rangers only.
     */
    @SerialName("pets")
    val pets: BuildPets = BuildPets(),

    /**
     * The selected legends on land. For Revenants only. A null indicates no selection.
     */
    @SerialName("legends")
    val terrestrialLegends: List = emptyList(),

    /**
     * The selected legends underwater. For Revenants only. A null indicates no selection.
     */
    @SerialName("aquatic_legends")
    val aquaticLegends: List = emptyList()
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy