*add 11 new event hooks to the OnEvents system, by Hawthorne

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-23 20:19:21 -07:00
parent 8102372a67
commit 906b00465a
16 changed files with 319 additions and 6 deletions
+2 -1
View File
@@ -76,6 +76,7 @@ class TRINITY_DLL_SPEC ChatHandler
static ChatCommand* getCommandTable();
bool isValidChatMessage(const char* msg);
void SendGlobalSysMessage(const char *str);
protected:
explicit ChatHandler() : m_session(NULL) {} // for CLI subclass
@@ -91,7 +92,7 @@ class TRINITY_DLL_SPEC ChatHandler
bool HasLowerSecurity(Player* target, uint64 guid, bool strong = false);
bool HasLowerSecurityAccount(WorldSession* target, uint32 account, bool strong = false);
void SendGlobalSysMessage(const char *str);
void SendGlobalGMSysMessage(const char *str);
static bool SetDataForCommandInTable(ChatCommand *table, const char* text, uint32 security, std::string const& help, std::string const& fullcommand );