From 9ad53cde45fe6c4445a66b8ca969ec8b6025b3b1 Mon Sep 17 00:00:00 2001 From: faketruth Date: Tue, 8 Nov 2011 02:02:13 +0000 Subject: Fixed world time git-svn-id: http://mc-server.googlecode.com/svn/trunk@78 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cWorld.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/cWorld.h') 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 +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(); -- cgit v1.2.3