serverpackethandler: Reduce pkt->getPeerId() invocations and more (#9689)

This commit is contained in:
HybridDog 2020-04-18 17:19:53 +02:00 committed by GitHub
parent 23c6d0c31f
commit 7b57d3f613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 272 additions and 342 deletions

File diff suppressed because it is too large Load Diff

View File

@ -165,7 +165,6 @@ public:
void handleCommand_InventoryAction(NetworkPacket* pkt);
void handleCommand_ChatMessage(NetworkPacket* pkt);
void handleCommand_Damage(NetworkPacket* pkt);
void handleCommand_Password(NetworkPacket* pkt);
void handleCommand_PlayerItem(NetworkPacket* pkt);
void handleCommand_Respawn(NetworkPacket* pkt);
void handleCommand_Interact(NetworkPacket* pkt);