]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/clientserver.h
Add disable_jump and fall_damage_add_percent node groups
[dragonfireclient.git] / src / clientserver.h
index 5214068441947b34306275fb4c89f36bb8e9109d..a6ba8fe45c82d837404024f7b407b5c2928aada3 100644 (file)
@@ -61,10 +61,13 @@ 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
 */
 
-#define PROTOCOL_VERSION 11
+#define PROTOCOL_VERSION 12
 
 #define PROTOCOL_ID 0x4f457403
 
@@ -319,6 +322,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