summaryrefslogtreecommitdiffstats
path: root/source/Root.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-12 05:46:01 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-12 05:46:01 +0100
commit43e684071933adef93040e8d4b830d5c6b71cf9a (patch)
tree014e5300feb1cdbbb8f24e4e42594eeb841f0be2 /source/Root.h
parentFixed rclk in doublechests (diff)
downloadcuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar.gz
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar.bz2
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar.lz
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar.xz
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar.zst
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.zip
Diffstat (limited to 'source/Root.h')
-rw-r--r--source/Root.h16
1 files changed, 8 insertions, 8 deletions
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<cWorld> 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