DEADSOFTWARE

Add my repo for automultibind
[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / model / dto / BlockDto.kt
index b8c63268825acc07430df7e9bfaee7aa5c7b10fe..69b1f18379bad1a778a62fa5e979e7f16abc93b9 100644 (file)
@@ -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,
@@ -31,4 +30,5 @@ data class BlockDto(
     @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,
 )