DEADSOFTWARE

4d57886372db315bea5d5fa884099c90c0e0aca8
[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / model / dto / ItemDto.kt
1 package ru.deadsoftware.cavedroid.game.model.dto
3 import kotlinx.serialization.SerialName
4 import kotlinx.serialization.Serializable
6 @Serializable
7 data class ItemDto(
8 @Deprecated("numeric ids will be removed") @SerialName("id") val id: Int,
9 @SerialName("name") val name: String,
10 @SerialName("type") val type: String,
11 @SerialName("texture") val texture: String,
12 @SerialName("origin_x") val originX: Float = 0f,
13 @SerialName("origin_y") val origin_y: Float = 1f,
14 @SerialName("action_key") val actionKey: String? = null,
15 @SerialName("mob_damage_multiplier") val mobDamageMultiplier: Float = 1f,
16 @SerialName("block_damage_multiplier") val blockDamageMultiplier: Float = 1f,
17 @SerialName("top_slab_block") val topSlabBlock: String? = null,
18 @SerialName("bottom_slab_block") val bottomSlabBlock: String? = null,
19 )