diff options
| author | Rat <none@none> | 2010-10-25 18:25:21 +0200 |
|---|---|---|
| committer | Rat <none@none> | 2010-10-25 18:25:21 +0200 |
| commit | e4c27a2ffa58bd62f8e3d78067e5bc312c2e3c42 (patch) | |
| tree | 539533c77eee8fa2f5089b238106a0d69c0fea71 /src/server/game/Texts/CreatureTextMgr.h | |
| parent | a792e3d67ca3e93fff07940a30b53d33ff28973a (diff) | |
Core/TextMgr: updated with new funtions for future useage
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Texts/CreatureTextMgr.h')
| -rwxr-xr-x | src/server/game/Texts/CreatureTextMgr.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/game/Texts/CreatureTextMgr.h b/src/server/game/Texts/CreatureTextMgr.h index 5f4e4f12cc7..f367ea7d3e0 100755 --- a/src/server/game/Texts/CreatureTextMgr.h +++ b/src/server/game/Texts/CreatureTextMgr.h @@ -62,18 +62,18 @@ class CreatureTextMgr void LoadCreatureTexts(); CreatureTextMap const& GetTextMap() const { return mTextMap; } - void SendSound(Creature* source,uint32 sound, ChatType msgtype, uint64 whisperGuid, TextRange range); + void SendSound(Creature* source,uint32 sound, ChatType msgtype, uint64 whisperGuid, TextRange range, Team team, bool gmOnly); void SendEmote(Creature* source, uint32 emote); //if sent, returns the 'duration' of the text else 0 if error - uint32 SendChat(Creature* source, uint8 textGroup, uint64 whisperGuid = 0, ChatType msgtype = CHAT_TYPE_END, Language language = LANG_ADDON, TextRange range = TEXT_RANGE_NORMAL, uint32 sound = 0); - void SendChatString(WorldObject* source, char const* text, ChatType msgtype = CHAT_TYPE_SAY, Language language = LANG_UNIVERSAL, uint64 whisperGuid = 0, TextRange range = TEXT_RANGE_NORMAL) const; - + uint32 SendChat(Creature* source, uint8 textGroup, uint64 whisperGuid = 0, ChatType msgtype = CHAT_TYPE_END, Language language = LANG_ADDON, TextRange range = TEXT_RANGE_NORMAL, uint32 sound = 0, Team team = TEAM_OTHER, bool gmOnly = false); + void SendChatString(WorldObject* source, char const* text, ChatType msgtype = CHAT_TYPE_SAY, Language language = LANG_UNIVERSAL, uint64 whisperGuid = 0, TextRange range = TEXT_RANGE_NORMAL, Team team = TEAM_OTHER, bool gmOnly = false) const; + bool TextExist(uint32 sourceEntry, uint8 textGroup); private: CreatureTextRepeatIds GetRepeatGroup(Creature* source, uint8 textGroup); void SetRepeatId(Creature* source, uint8 textGroup, uint8 id); void BuildMonsterChat(WorldPacket *data, WorldObject* source, ChatType msgtype, char const* text, Language language, uint64 whisperGuid) const; - void SendChatPacket(WorldPacket *data, WorldObject* source, ChatType msgtype, uint64 whisperGuid, TextRange range) const; + void SendChatPacket(WorldPacket *data, WorldObject* source, ChatType msgtype, uint64 whisperGuid, TextRange range, Team team, bool gmOnly) const; CreatureTextMap mTextMap; CreatureTextRepeatMap mTextRepeatMap; |
