1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Rename some packet and handlers to <packet>_Legacy name for compat layer between new network changes and old network clients

This commit is contained in:
Loic Blot 2015-03-13 13:40:48 +01:00
parent 4e63c977c7
commit 126f36c2e6
9 changed files with 26 additions and 26 deletions

View file

@ -43,7 +43,7 @@ void Server::handleCommand_Deprecated(NetworkPacket* pkt)
<< " not supported anymore" << std::endl;
}
void Server::handleCommand_Init(NetworkPacket* pkt)
void Server::handleCommand_Init_Legacy(NetworkPacket* pkt)
{
// [0] u8 SER_FMT_VER_HIGHEST_READ
// [1] u8[20] player_name
@ -942,7 +942,7 @@ void Server::handleCommand_Breath(NetworkPacket* pkt)
SendPlayerBreath(pkt->getPeerId());
}
void Server::handleCommand_Password(NetworkPacket* pkt)
void Server::handleCommand_Password_Legacy(NetworkPacket* pkt)
{
/*
[0] u16 TOSERVER_PASSWORD