aboutsummaryrefslogtreecommitdiff
path: root/src/game/Chat.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-16 00:07:17 -0500
committermegamage <none@none>2009-06-16 00:07:17 -0500
commit9049233629afdb88dd75f3429112f1bb3f41a2ba (patch)
treecf83b70596a1c80741e0faecc49299d32207c4f3 /src/game/Chat.h
parent74e4f3f0592ee2800a1bd4f3000b5429d7bb865f (diff)
parenta6d7f0805c5170036403c5902d77cdd0069b5ab3 (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Chat.h')
-rw-r--r--src/game/Chat.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/Chat.h b/src/game/Chat.h
index 6fbc9b30d34..f5d889479c2 100644
--- a/src/game/Chat.h
+++ b/src/game/Chat.h
@@ -73,6 +73,7 @@ class ChatHandler
int ParseCommands(const char* text);
+ static ChatCommand* getCommandTable();
protected:
explicit ChatHandler() : m_session(NULL) {} // for CLI subclass
@@ -91,13 +92,11 @@ class ChatHandler
void SendGlobalSysMessage(const char *str);
void SendGlobalGMSysMessage(const char *str);
- bool SetDataForCommandInTable(ChatCommand *table, const char* text, uint32 security, std::string const& help, std::string const& fullcommand );
+ static bool SetDataForCommandInTable(ChatCommand *table, const char* text, uint32 security, std::string const& help, std::string const& fullcommand );
bool ExecuteCommandInTable(ChatCommand *table, const char* text, const std::string& fullcommand);
bool ShowHelpForCommand(ChatCommand *table, const char* cmd);
bool ShowHelpForSubCommands(ChatCommand *table, char const* cmd, char const* subcmd);
- ChatCommand* getCommandTable();
-
bool HandleAccountCommand(const char* args);
bool HandleAccountCreateCommand(const char* args);
bool HandleAccountDeleteCommand(const char* args);