]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/network/networkprotocol.h
RTT fixes (#7428)
[dragonfireclient.git] / src / network / networkprotocol.h
index 1f10822e17a2d7ab5759981f462550e884b1b3ef..0a5701e59dcfcb417f5749f83038a3600189fae8 100644 (file)
@@ -185,6 +185,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
                Mod channels
                Raise ObjectProperties version to 3 for removing 'can_zoom' and adding
                        'zoom_fov'.
+               Nodebox version 5
+               Add disconnected nodeboxes
+               Add TOCLIENT_FORMSPEC_PREPEND
 */
 
 #define LATEST_PROTOCOL_VERSION 36
@@ -642,7 +645,13 @@ enum ToClientCommand
                std::string bytes_B
        */
 
-       TOCLIENT_NUM_MSG_TYPES = 0x61,
+       TOCLIENT_FORMSPEC_PREPEND = 0x61,
+       /*
+               u16 len
+               u8[len] formspec
+       */
+
+       TOCLIENT_NUM_MSG_TYPES = 0x62,
 };
 
 enum ToServerCommand
@@ -928,4 +937,3 @@ enum CSMFlavourLimit : u64 {
        CSM_FL_LOOKUP_NODES = 0x00000010, // Limit node lookups
        CSM_FL_ALL = 0xFFFFFFFF,
 };
-