diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-12 05:46:01 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-12 05:46:01 +0100 |
commit | 43e684071933adef93040e8d4b830d5c6b71cf9a (patch) | |
tree | 014e5300feb1cdbbb8f24e4e42594eeb841f0be2 /source/Server.h | |
parent | Fixed rclk in doublechests (diff) | |
download | cuberite-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/Server.h')
-rw-r--r-- | source/Server.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/source/Server.h b/source/Server.h index a93ee454a..0910e7c28 100644 --- a/source/Server.h +++ b/source/Server.h @@ -29,11 +29,9 @@ typedef std::list<cClientHandle *> cClientHandleList; -class cServer //tolua_export -{ //tolua_export -public: //tolua_export - static cServer * GetServer(); //tolua_export - +class cServer // tolua_export +{ // tolua_export +public: // tolua_export bool InitServer(cIniFile & a_SettingsIni); int GetPort() { return m_iServerPort; } @@ -47,7 +45,7 @@ public: //tolua_export void StartListenThread(); bool Command(cClientHandle & a_Client, const AString & a_Cmd); - void ServerCommand(const AString & a_Cmd); //tolua_export + void ServerCommand(const AString & a_Cmd); // tolua_export void Shutdown(); void SendMessage(const AString & a_Message, cPlayer * a_Player = NULL, bool a_bExclude = false ); // tolua_export @@ -129,7 +127,7 @@ private: /// Loads, or generates, if missing, RSA keys for protocol encryption void PrepareKeys(void); -}; //tolua_export +}; // tolua_export |