From 3d66622772e66154b7624957a27f9be54c4c7c28 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Tue, 4 Dec 2018 20:37:48 +0100 Subject: Send only changed node metadata to clients instead of whole mapblock (#5268) Includes newer style changes and fixes by est31 Improve the block position de-serialization Add type NodeMetadataMap --- src/client/client.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client') diff --git a/src/client/client.h b/src/client/client.h index 68a832d8e..ef700e477 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -185,6 +185,7 @@ public: void handleCommand_AccessDenied(NetworkPacket* pkt); void handleCommand_RemoveNode(NetworkPacket* pkt); void handleCommand_AddNode(NetworkPacket* pkt); + void handleCommand_NodemetaChanged(NetworkPacket *pkt); void handleCommand_BlockData(NetworkPacket* pkt); void handleCommand_Inventory(NetworkPacket* pkt); void handleCommand_TimeOfDay(NetworkPacket* pkt); -- cgit v1.2.3