diff options
Diffstat (limited to 'src/server/game/Chat/Chat.h')
-rwxr-xr-x | src/server/game/Chat/Chat.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/server/game/Chat/Chat.h b/src/server/game/Chat/Chat.h index b3d9ae1e262..b33a4944e6b 100755 --- a/src/server/game/Chat/Chat.h +++ b/src/server/game/Chat/Chat.h @@ -40,25 +40,25 @@ class ChatCommand bool AllowConsole; bool (*Handler)(ChatHandler*, const char* args); std::string Help; - ChatCommand * ChildCommands; + ChatCommand* ChildCommands; }; class ChatHandler { public: - WorldSession * GetSession() { return m_session; } + WorldSession* GetSession() { return m_session; } explicit ChatHandler(WorldSession* session) : m_session(session) {} explicit ChatHandler(Player* player) : m_session(player->GetSession()) {} virtual ~ChatHandler() {} - static void FillMessageData(WorldPacket *data, WorldSession* session, uint8 type, uint32 language, const char *channelName, uint64 target_guid, const char *message, Unit *speaker); + static void FillMessageData(WorldPacket* data, WorldSession* session, uint8 type, uint32 language, const char *channelName, uint64 target_guid, const char *message, Unit* speaker); - void FillMessageData(WorldPacket *data, uint8 type, uint32 language, uint64 target_guid, const char* message) + void FillMessageData(WorldPacket* data, uint8 type, uint32 language, uint64 target_guid, const char* message) { FillMessageData(data, m_session, type, language, NULL, target_guid, message, NULL); } - void FillSystemMessageData(WorldPacket *data, const char* message) + void FillSystemMessageData(WorldPacket* data, const char* message) { FillMessageData(data, CHAT_MSG_SYSTEM, LANG_UNIVERSAL, 0, message); } @@ -126,10 +126,10 @@ class ChatHandler protected: explicit ChatHandler() : m_session(NULL) {} // for CLI subclass - 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& fullcmd); - bool ShowHelpForCommand(ChatCommand *table, const char* cmd); - bool ShowHelpForSubCommands(ChatCommand *table, char const* cmd, char const* subcmd); + 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& fullcmd); + bool ShowHelpForCommand(ChatCommand* table, const char* cmd); + bool ShowHelpForSubCommands(ChatCommand* table, char const* cmd, char const* subcmd); bool HandleNameAnnounceCommand(const char* args); bool HandleGMNameAnnounceCommand(const char* args); @@ -376,7 +376,7 @@ class ChatHandler private: bool _HandleGMTicketResponseAppendCommand(const char* args, bool newLine); - WorldSession * m_session; // != NULL for chat command call and NULL for CLI command + WorldSession* m_session; // != NULL for chat command call and NULL for CLI command // common global flag static bool load_command_table; |