X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavedroid%2Fgame%2Fmodel%2Fdto%2FBlockDto.kt;h=69b1f18379bad1a778a62fa5e979e7f16abc93b9;hb=1e285247085ba04351feb486a0be6aa577f43093;hp=1a7dc4b3bf5a813354d65678b69a11b684bbe09d;hpb=a21a93fd9fa33adebe52d1f4478866dcc3b66d96;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 1a7dc4b..69b1f18 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,6 @@ import kotlinx.serialization.Serializable @Serializable data class BlockDto( - @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, @@ -30,4 +29,6 @@ data class BlockDto( @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, + @SerialName("tint") val tint: String? = null, )