From 43e684071933adef93040e8d4b830d5c6b71cf9a Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 12 Jan 2013 04:46:01 +0000 Subject: Merged branch "branches/hooks" into "trunk". git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Root.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source/Root.h') diff --git a/source/Root.h b/source/Root.h index 482cc3d25..7cc33d6c1 100644 --- a/source/Root.h +++ b/source/Root.h @@ -27,22 +27,22 @@ typedef cItemCallback cWorldListCallback; -class cRoot //tolua_export -{ //tolua_export +class cRoot // tolua_export +{ // tolua_export public: /// The version of the protocol that is primary for the server (reported in the server list). All versions are still supported. int m_PrimaryServerVersion; // tolua_export - static cRoot* Get() { return s_Root; } //tolua_export + static cRoot* Get() { return s_Root; } // tolua_export cRoot(void); ~cRoot(); void Start(void); - cServer * GetServer(void) { return m_Server; } //tolua_export - cWorld * GetDefaultWorld(void); //tolua_export - cWorld * GetWorld(const AString & a_WorldName); //tolua_export + cServer * GetServer(void) { return m_Server; } // tolua_export + cWorld * GetDefaultWorld(void); // tolua_export + cWorld * GetWorld(const AString & a_WorldName); // tolua_export /// Calls the callback for each world; returns true if the callback didn't abort (return true) bool ForEachWorld(cWorldListCallback & a_Callback); // >> Exported in ManualBindings << @@ -62,7 +62,7 @@ public: cPluginManager * GetPluginManager (void) { return m_PluginManager; } // tolua_export cAuthenticator & GetAuthenticator (void) { return m_Authenticator; } - void ServerCommand(const AString & a_Cmd); //tolua_export + void ServerCommand(const AString & a_Cmd); // tolua_export void KickUser(int a_ClientID, const AString & a_Reason); // Kicks the user, no matter in what world they are. Used from cAuthenticator void AuthenticateUser(int a_ClientID); // Called by cAuthenticator to auth the specified user @@ -119,7 +119,7 @@ private: static void InputThread(void* a_Params); static cRoot* s_Root; -}; //tolua_export +}; // tolua_export -- cgit v1.2.3