diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-15 14:00:59 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-15 14:00:59 +0100 |
commit | 34b3c13404c466c8f64d198dce914a1e3fa094c2 (patch) | |
tree | 351964785344dd92f2f0043fab89878b1abf5b6b /source/Server.h | |
parent | Fixed one-hit-blocks not being broken server-side (diff) | |
download | cuberite-34b3c13404c466c8f64d198dce914a1e3fa094c2.tar cuberite-34b3c13404c466c8f64d198dce914a1e3fa094c2.tar.gz cuberite-34b3c13404c466c8f64d198dce914a1e3fa094c2.tar.bz2 cuberite-34b3c13404c466c8f64d198dce914a1e3fa094c2.tar.lz cuberite-34b3c13404c466c8f64d198dce914a1e3fa094c2.tar.xz cuberite-34b3c13404c466c8f64d198dce914a1e3fa094c2.tar.zst cuberite-34b3c13404c466c8f64d198dce914a1e3fa094c2.zip |
Diffstat (limited to 'source/Server.h')
-rw-r--r-- | source/Server.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/Server.h b/source/Server.h index 0910e7c28..707f91261 100644 --- a/source/Server.h +++ b/source/Server.h @@ -38,14 +38,18 @@ public: // tolua_export bool IsConnected(){return m_bIsConnected;} // returns connection status void StartListenClient(); // Listen to client - void BroadcastChat(const AString & a_Message, const cClientHandle * a_Exclude = NULL); + void BroadcastChat(const AString & a_Message, const cClientHandle * a_Exclude = NULL); // tolua_export bool Tick(float a_Dt); void StartListenThread(); bool Command(cClientHandle & a_Client, const AString & a_Cmd); - void ServerCommand(const AString & a_Cmd); // tolua_export + void ExecuteConsoleCommand(const AString & a_Cmd); + + /// Binds the built-in console commands with the plugin manager + static void BindBuiltInConsoleCommands(void); + void Shutdown(); void SendMessage(const AString & a_Message, cPlayer * a_Player = NULL, bool a_bExclude = false ); // tolua_export |