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/Server.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'source/Server.h') 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 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 -- cgit v1.2.3