X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavedroid%2Fgame%2Fmodel%2Fdto%2FBlockDto.kt;h=b8c63268825acc07430df7e9bfaee7aa5c7b10fe;hb=dfe9ff3e9253c250f62ee029411f773916948601;hp=697a04201da7f1ec1984426bbfbec4fa81eabbd1;hpb=63ffd8af5e9788f36fc75b6d5c29ae525eb74692;p=cavedroid.git diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/dto/BlockDto.kt b/core/src/ru/deadsoftware/cavedroid/game/model/dto/BlockDto.kt index 697a042..b8c6326 100644 --- a/core/src/ru/deadsoftware/cavedroid/game/model/dto/BlockDto.kt +++ b/core/src/ru/deadsoftware/cavedroid/game/model/dto/BlockDto.kt @@ -5,7 +5,7 @@ import kotlinx.serialization.Serializable @Serializable data class BlockDto( - @Deprecated("numeric ids will be removed") @SerialName("id") val id: Int, + @Deprecated("numeric ids will be removed") @SerialName("id") val id: Int? = null, @SerialName("left") val left: Int = 0, @SerialName("top") val top: Int = 0, @SerialName("right") val right: Int = 0, @@ -26,4 +26,9 @@ data class BlockDto( @SerialName("frames") val frames: Int = 0, @SerialName("drop_count") val dropCount: Int = 1, @SerialName("full_block") val fullBlock: String? = null, + @SerialName("state") val state: Int? = null, + @SerialName("other_part") val otherPart: String? = null, + @SerialName("tool_level") val toolLevel: Int = 0, + @SerialName("tool_type") val toolType: String? = null, + @SerialName("damage") val damage: Int = 0, )