From 674fe1e955f729e8328772313c45fe76857ec835 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 19 Aug 2012 21:14:45 +0000 Subject: Window, Chest, Furnace and Pawn are not using cPackets at all git-svn-id: http://mc-server.googlecode.com/svn/trunk@762 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunkMap.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/cChunkMap.h') diff --git a/source/cChunkMap.h b/source/cChunkMap.h index fc595c906..69867cd2f 100644 --- a/source/cChunkMap.h +++ b/source/cChunkMap.h @@ -20,6 +20,7 @@ class cPacket; class cPlayer; class cChestEntity; class cFurnaceEntity; +class cPawn; typedef std::list cClientHandleList; typedef cChunk * cChunkPtr; @@ -70,6 +71,10 @@ public: void BroadcastDestroyEntity(const cEntity & a_Entity, const cClientHandle * a_Exclude = NULL); + void BroadcastEntityStatus(const cEntity & a_Entity, char a_Status, const cClientHandle * a_Exclude = NULL); + + void BroadcastMetadata(const cPawn & a_Pawn, const cClientHandle * a_Exclude = NULL); + /// a_Player rclked block entity at the coords specified, handle it void UseBlockEntity(cPlayer * a_Player, int a_X, int a_Y, int a_Z); -- cgit v1.2.3