summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-08 03:02:13 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-08 03:02:13 +0100
commit9ad53cde45fe6c4445a66b8ca969ec8b6025b3b1 (patch)
treeefb1ba794c3c647690be34dabadae3899be6d082 /source/cWorld.h
parentForgot to add squirrel project for windows (diff)
downloadcuberite-9ad53cde45fe6c4445a66b8ca969ec8b6025b3b1.tar
cuberite-9ad53cde45fe6c4445a66b8ca969ec8b6025b3b1.tar.gz
cuberite-9ad53cde45fe6c4445a66b8ca969ec8b6025b3b1.tar.bz2
cuberite-9ad53cde45fe6c4445a66b8ca969ec8b6025b3b1.tar.lz
cuberite-9ad53cde45fe6c4445a66b8ca969ec8b6025b3b1.tar.xz
cuberite-9ad53cde45fe6c4445a66b8ca969ec8b6025b3b1.tar.zst
cuberite-9ad53cde45fe6c4445a66b8ca969ec8b6025b3b1.zip
Diffstat (limited to '')
-rw-r--r--source/cWorld.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cWorld.h b/source/cWorld.h
index e8ad0f517..10e181e48 100644
--- a/source/cWorld.h
+++ b/source/cWorld.h
@@ -8,6 +8,7 @@ enum ENUM_ITEM_ID;
#include <list>
+class cPacket;
class cWaterSimulator;
class cLavaSimulator;
class cChunkMap;
@@ -48,6 +49,8 @@ public:
//void RemoveClient( cClientHandle* a_Client );
//ClientList & GetClients();
+ void Broadcast( const cPacket & a_Packet, cClientHandle* a_Exclude = 0 );
+
void AddPlayer( cPlayer* a_Player );
void RemovePlayer( cPlayer* a_Player );
PlayerList & GetAllPlayers();