]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/clientserver.h
Fix trees growing into any type of node
[dragonfireclient.git] / src / clientserver.h
index 5214068441947b34306275fb4c89f36bb8e9109d..82e485d95d96d2cf803461ac7c6d89569bc17a8e 100644 (file)
@@ -61,10 +61,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
                (some dev snapshot)
                TOCLIENT_INVENTORY_FORMSPEC
                (0.4.0, 0.4.1)
+       PROTOCOL_VERSION 12:
                TOSERVER_INVENTORY_FIELDS
+               16-bit node ids
+               TOCLIENT_DETACHED_INVENTORY
+       PROTOCOL_VERSION 13:
+               InventoryList field "Width" (deserialization fails with old versions)
 */
 
-#define PROTOCOL_VERSION 11
+#define PROTOCOL_VERSION 13
 
 #define PROTOCOL_ID 0x4f457403
 
@@ -319,6 +324,14 @@ enum ToClientCommand
                u32 len
                u8[len] formspec
        */
+
+       TOCLIENT_DETACHED_INVENTORY = 0x43,
+       /*
+               [0] u16 command
+               u16 len
+               u8[len] name
+               [2] serialized inventory
+       */
 };
 
 enum ToServerCommand