From 219be8186c5b64df7f56cafe9e97322732c7a224 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 10 Mar 2012 22:27:24 +0000 Subject: Fixed a few obsoleted functions git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cRoot.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/cRoot.h') diff --git a/source/cRoot.h b/source/cRoot.h index 9505ff6f0..702768b0e 100644 --- a/source/cRoot.h +++ b/source/cRoot.h @@ -19,6 +19,8 @@ class cWebAdmin; class cPluginManager; class cServer; class cWorld; +class cPlayer; +typedef cItemCallback cPlayerListCallback; @@ -56,6 +58,12 @@ public: int GetTotalChunkCount(void); // tolua_export + /// Saves all chunks in all worlds + void SaveAllChunks(void); + + /// Calls the callback for each player in all worlds + bool ForEachPlayer(cPlayerListCallback & a_Callback); + private: void LoadGlobalSettings(); -- cgit v1.2.3