#include <CreatureTextMgr.h>
|
| CreatureTextMgr (CreatureTextMgr const &)=delete |
|
| CreatureTextMgr (CreatureTextMgr &&)=delete |
|
CreatureTextMgr & | operator= (CreatureTextMgr const &)=delete |
|
CreatureTextMgr & | operator= (CreatureTextMgr &&)=delete |
|
void | LoadCreatureTexts () |
|
void | LoadCreatureTextLocales () |
|
CreatureTextMap const & | GetTextMap () const |
|
uint32 | SendChat (Creature *source, uint8 textGroup, WorldObject const *whisperTarget=nullptr, ChatMsg msgType=CHAT_MSG_ADDON, Language language=LANG_ADDON, CreatureTextRange range=TEXT_RANGE_NORMAL, uint32 sound=0, SoundKitPlayType playType=SoundKitPlayType::Normal, Team team=TEAM_OTHER, bool gmOnly=false, Player *srcPlr=nullptr) |
|
bool | TextExist (uint32 sourceEntry, uint8 textGroup) const |
|
std::string | GetLocalizedChatString (uint32 entry, uint8 gender, uint8 textGroup, uint32 id, LocaleConstant locale) const |
|
|
static CreatureTextMgr * | instance () |
|
static void | SendSound (Creature *source, uint32 sound, ChatMsg msgType, WorldObject const *whisperTarget=nullptr, CreatureTextRange range=TEXT_RANGE_NORMAL, Team team=TEAM_OTHER, bool gmOnly=false, uint32 keyBroadcastTextId=0, SoundKitPlayType playType=SoundKitPlayType::Normal) |
|
static void | SendEmote (Unit *source, Emote emote) |
|
template<class Builder > |
static void | SendChatPacket (WorldObject *source, Builder const &builder, ChatMsg msgType, WorldObject const *whisperTarget=nullptr, CreatureTextRange range=TEXT_RANGE_NORMAL, Team team=TEAM_OTHER, bool gmOnly=false) |
|
static float | GetRangeForChatType (ChatMsg msgType) |
|
Definition at line 89 of file CreatureTextMgr.h.
◆ CreatureTextMgr() [1/3]
CreatureTextMgr::CreatureTextMgr |
( |
| ) |
|
|
privatedefault |
◆ ~CreatureTextMgr()
CreatureTextMgr::~CreatureTextMgr |
( |
| ) |
|
|
privatedefault |
◆ CreatureTextMgr() [2/3]
◆ CreatureTextMgr() [3/3]
◆ GetLocalizedChatString()
◆ GetRangeForChatType()
float CreatureTextMgr::GetRangeForChatType |
( |
ChatMsg |
msgType | ) |
|
|
static |
◆ GetTextMap()
◆ instance()
◆ LoadCreatureTextLocales()
void CreatureTextMgr::LoadCreatureTextLocales |
( |
| ) |
|
◆ LoadCreatureTexts()
void CreatureTextMgr::LoadCreatureTexts |
( |
| ) |
|
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SendChat()
uint32 CreatureTextMgr::SendChat |
( |
Creature * |
source, |
|
|
uint8 |
textGroup, |
|
|
WorldObject const * |
whisperTarget = nullptr , |
|
|
ChatMsg |
msgType = CHAT_MSG_ADDON , |
|
|
Language |
language = LANG_ADDON , |
|
|
CreatureTextRange |
range = TEXT_RANGE_NORMAL , |
|
|
uint32 |
sound = 0 , |
|
|
SoundKitPlayType |
playType = SoundKitPlayType::Normal , |
|
|
Team |
team = TEAM_OTHER , |
|
|
bool |
gmOnly = false , |
|
|
Player * |
srcPlr = nullptr |
|
) |
| |
◆ SendChatPacket()
◆ SendEmote()
void CreatureTextMgr::SendEmote |
( |
Unit * |
source, |
|
|
Emote |
emote |
|
) |
| |
|
static |
◆ SendNonChatPacket()
◆ SendSound()
◆ TextExist()
bool CreatureTextMgr::TextExist |
( |
uint32 |
sourceEntry, |
|
|
uint8 |
textGroup |
|
) |
| const |
◆ mLocaleTextMap
◆ mTextMap
The documentation for this class was generated from the following files: