X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavedroid%2Fgame%2Fmodel%2Fdto%2FItemDto.kt;h=0fa2075e5215416efa11bcfbb8405dd4e3c638a6;hb=a21a93fd9fa33adebe52d1f4478866dcc3b66d96;hp=4d57886372db315bea5d5fa884099c90c0e0aca8;hpb=3b6f968a7a7167b57f43e6e5290ba40547781a0b;p=cavedroid.git diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt b/core/src/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt index 4d57886..0fa2075 100644 --- a/core/src/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt +++ b/core/src/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt @@ -5,7 +5,7 @@ import kotlinx.serialization.Serializable @Serializable data class ItemDto( - @Deprecated("numeric ids will be removed") @SerialName("id") val id: Int, + @Deprecated("numeric ids will be removed") @SerialName("id") val id: Int? = null, @SerialName("name") val name: String, @SerialName("type") val type: String, @SerialName("texture") val texture: String, @@ -16,4 +16,5 @@ data class ItemDto( @SerialName("block_damage_multiplier") val blockDamageMultiplier: Float = 1f, @SerialName("top_slab_block") val topSlabBlock: String? = null, @SerialName("bottom_slab_block") val bottomSlabBlock: String? = null, + @SerialName("tool_level") val toolLevel: Int? = null, )