summaryrefslogtreecommitdiff
path: root/src/network/networkprotocol.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-03-13 13:40:48 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-03-13 13:40:48 +0100
commit126f36c2e6c153f2791db743a8ceca44b6b36b10 (patch)
tree5c75157f79481f58bed0fe15f187374e351b2370 /src/network/networkprotocol.h
parent4e63c977c782e81e828445d20c836d84e3ba1766 (diff)
downloadminetest-126f36c2e6c153f2791db743a8ceca44b6b36b10.tar.gz
minetest-126f36c2e6c153f2791db743a8ceca44b6b36b10.tar.bz2
minetest-126f36c2e6c153f2791db743a8ceca44b6b36b10.zip
Rename some packet and handlers to <packet>_Legacy name for compat layer between new network changes and old network clients
Diffstat (limited to 'src/network/networkprotocol.h')
-rw-r--r--src/network/networkprotocol.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h
index 425f61fda..18905a22b 100644
--- a/src/network/networkprotocol.h
+++ b/src/network/networkprotocol.h
@@ -270,7 +270,7 @@ enum ToClientCommand
f1000 player yaw
*/
- TOCLIENT_ACCESS_DENIED = 0x35,
+ TOCLIENT_ACCESS_DENIED_LEGACY = 0x35,
/*
u16 command
u16 reason_length
@@ -457,7 +457,7 @@ enum ToClientCommand
u32 id
*/
- TOCLIENT_DELETE_PARTICLESPAWNER = 0x48,
+ TOCLIENT_DELETE_PARTICLESPAWNER_LEGACY = 0x48,
/*
u16 command
u32 id
@@ -562,7 +562,7 @@ enum ToClientCommand
enum ToServerCommand
{
- TOSERVER_INIT=0x10,
+ TOSERVER_INIT_LEGACY = 0x10,
/*
Sent first after connected.
@@ -694,7 +694,7 @@ enum ToServerCommand
u8 amount
*/
- TOSERVER_PASSWORD=0x36,
+ TOSERVER_PASSWORD_LEGACY = 0x36,
/*
Sent to change password.
@@ -703,7 +703,7 @@ enum ToServerCommand
[30] u8[28] new password
*/
- TOSERVER_PLAYERITEM=0x37,
+ TOSERVER_PLAYERITEM = 0x37,
/*
Sent to change selected item.
@@ -711,7 +711,7 @@ enum ToServerCommand
[2] u16 item
*/
- TOSERVER_RESPAWN=0x38,
+ TOSERVER_RESPAWN = 0x38,
/*
u16 TOSERVER_RESPAWN
*/