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

xyz.cssxsh.arknights.excel.Skill.kt Maven / Gradle / Ivy

There is a newer version: 2.3.1
Show newest version
package xyz.cssxsh.arknights.excel

import kotlinx.serialization.*

typealias SkillTable = Map

@Serializable
data class Skill(
    @SerialName("hidden")
    val hidden: Boolean,
    @SerialName("iconId")
    val iconId: String?,
    @SerialName("levels")
    val levels: List,
    @SerialName("skillId")
    override val id: String
) : Id

@Serializable
data class Level(
    @SerialName("blackboard")
    val blackboard: List,
    @SerialName("description")
    val description: String,
    @SerialName("duration")
    val duration: Double,
    @SerialName("name")
    override val name: String,
    @SerialName("prefabId")
    val prefabId: String?,
    @SerialName("rangeId")
    val rangeId: String?,
    @SerialName("skillType")
    val type: Int,
    @SerialName("spData")
    val data: SpData
) : Name

@Serializable
data class SpData(
    @SerialName("increment")
    val increment: Double,
    @SerialName("initSp")
    val initSp: Int,
    @SerialName("levelUpCost")
    val levelUpCost: Int?,
    @SerialName("maxChargeTime")
    val maxChargeTime: Int,
    @SerialName("spCost")
    val spCost: Int,
    @SerialName("spType")
    val spType: Int
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy