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

commonMain.com.bselzer.gw2.v2.model.quest.Quest.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.gw2.v2.model.quest

import com.bselzer.gw2.v2.model.character.CharacterLevel
import com.bselzer.gw2.v2.model.story.StoryId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class Quest(
    @SerialName("id")
    override val id: QuestId = QuestId(),

    @SerialName("name")
    val name: String = "",

    /**
     * The minimum level required to begin this quest.
     */
    @SerialName("level")
    val level: CharacterLevel = CharacterLevel(),

    /**
     * The id of the story.
     * @see the wiki
     */
    @SerialName("story")
    val storyId: StoryId = StoryId(),

    @SerialName("goals")
    val goals: List = emptyList()
) : Identifiable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy