summaryrefslogtreecommitdiff
path: root/src/clientserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/clientserver.h')
-rw-r--r--src/clientserver.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/clientserver.h b/src/clientserver.h
index def4570e1..461c13cd2 100644
--- a/src/clientserver.h
+++ b/src/clientserver.h
@@ -50,9 +50,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
PROTOCOL_VERSION 9:
ContentFeatures and NodeDefManager use a different serialization
format; better for future version cross-compatibility
+ Many things
+ PROTOCOL_VERSION 10:
+ TOCLIENT_PRIVILEGES
+ Version raised to force 'fly' and 'fast' privileges into effect.
*/
-#define PROTOCOL_VERSION 9
+#define PROTOCOL_VERSION 10
#define PROTOCOL_ID 0x4f457403
@@ -291,6 +295,15 @@ enum ToClientCommand
u16 command
s32 sound_id
*/
+
+ TOCLIENT_PRIVILEGES = 0x41,
+ /*
+ u16 command
+ u16 number of privileges
+ for each privilege
+ u16 len
+ u8[len] privilege
+ */
};
enum ToServerCommand