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

commonMain.com.bselzer.gw2.v2.model.wvw.map.WvwMapObjective.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.gw2.v2.model.wvw.map

import com.bselzer.gw2.v2.model.enumeration.wrapper.WvwObjectiveOwner
import com.bselzer.gw2.v2.model.enumeration.wrapper.WvwObjectiveType
import com.bselzer.gw2.v2.model.guild.GuildId
import com.bselzer.gw2.v2.model.guild.upgrade.GuildUpgradeId
import com.bselzer.gw2.v2.model.wvw.objective.WvwMapObjectiveId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.datetime.Instant
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class WvwMapObjective(
    /**
     * The map identifier and objective identifier split by a dash (-).
     */
    @SerialName("id")
    override val id: WvwMapObjectiveId = WvwMapObjectiveId(),

    @SerialName("type")
    val type: WvwObjectiveType = WvwObjectiveType(),

    @SerialName("owner")
    val owner: WvwObjectiveOwner = WvwObjectiveOwner(),

    @SerialName("last_flipped")
    val lastFlippedAt: Instant? = null,

    @SerialName("claimed_by")
    val claimedBy: GuildId? = null,

    @SerialName("claimed_at")
    val claimedAt: Instant? = null,

    @SerialName("points_tick")
    val pointsPerTick: Int = 0,

    @SerialName("points_capture")
    val pointsPerCapture: Int = 0,

    @SerialName("guild_upgrades")
    val guildUpgradeIds: List = emptyList(),

    @SerialName("yaks_delivered")
    val yaksDelivered: Int = 0
) : Identifiable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy