diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 23:14:45 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 23:14:45 +0200 |
commit | 674fe1e955f729e8328772313c45fe76857ec835 (patch) | |
tree | 49511bc948f76825ee1ad6be310034f261b35e90 /source/cChunk.h | |
parent | Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. (diff) | |
download | cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar.gz cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar.bz2 cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar.lz cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar.xz cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar.zst cuberite-674fe1e955f729e8328772313c45fe76857ec835.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cChunk.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/cChunk.h b/source/cChunk.h index 71811c7d5..1678bbf91 100644 --- a/source/cChunk.h +++ b/source/cChunk.h @@ -41,6 +41,7 @@ class cChunkMap; class cChestEntity; class cFurnaceEntity; class cBlockArea; +class cPawn; typedef std::list<cClientHandle *> cClientHandleList; typedef cItemCallback<cEntity> cEntityCallback; @@ -182,7 +183,9 @@ public: void BroadcastEntLook (const cEntity & a_Entity, const cClientHandle * a_Exclude = NULL); void BroadcastEntHeadLook (const cEntity & a_Entity, const cClientHandle * a_Exclude = NULL); void BroadcastBlockAction (int a_BlockX, int a_BlockY, int a_BlockZ, char a_Byte1, char a_Byte2, const cClientHandle * a_Exclude = NULL); - void BroadcastDestroyEntity(const cEntity & a_Entity, const cClientHandle * a_Exclude = NULL); + 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); void PositionToWorldPosition(int a_ChunkX, int a_ChunkY, int a_ChunkZ, int & a_X, int & a_Y, int & a_Z); Vector3i PositionToWorldPosition( const Vector3i & a_InChunkPos ) { return PositionToWorldPosition( a_InChunkPos.x, a_InChunkPos.y, a_InChunkPos.z ); } |