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:
parent
4e63c977c7
commit
126f36c2e6
9 changed files with 26 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue