18 #ifndef __CHATTEXT_BUILDER_H
19 #define __CHATTEXT_BUILDER_H
72 #endif // __CHATTEXT_BUILDER_H
BroadcastTextBuilder(Unit const *obj, ChatMsg msgType, uint32 textId, WorldObject const *target=nullptr, uint32 achievementId=0)
Definition: ChatTextBuilder.h:30
WorldPackets::Chat::Chat * operator()(LocaleConstant locale) const
Definition: ChatTextBuilder.h:55
Definition: SharedDefines.h:961
int32 Language
Definition: DB2Structure.h:115
DB2Storage< BroadcastTextEntry > sBroadcastTextStore("BroadcastText.db2", BroadcastTextFormat, HOTFIX_SEL_BROADCAST_TEXT)
uint32 _textId
Definition: ChatTextBuilder.h:44
Unit const * _source
Definition: ChatTextBuilder.h:42
ChatMsg _msgType
Definition: ChatTextBuilder.h:64
Definition: ChatTextBuilder.h:49
Definition: ChatPackets.h:150
ChatMsg
Definition: SharedDefines.h:4228
static char const * GetBroadcastTextValue(BroadcastTextEntry const *broadcastText, LocaleConstant locale=DEFAULT_LOCALE, uint8 gender=GENDER_MALE, bool forceGender=false)
Definition: DB2Stores.cpp:610
Definition: DB2Structure.h:112
Language
Definition: SharedDefines.h:959
WorldPackets::Chat::Chat * operator()(LocaleConstant locale) const
Definition: ChatTextBuilder.h:33
Definition: ChatTextBuilder.h:27
LocaleConstant
Definition: Common.h:115
void Initialize(ChatMsg chatType, Language language, WorldObject const *sender, WorldObject const *receiver, std::string message, uint32 achievementId=0, std::string channelName="", LocaleConstant locale=DEFAULT_LOCALE, std::string addonPrefix="")
Definition: ChatPackets.cpp:104
uint32_t uint32
Definition: Define.h:150
ChatMsg _msgType
Definition: ChatTextBuilder.h:43
CustomChatTextBuilder(WorldObject const *obj, ChatMsg msgType, std::string const &text, Language language=LANG_UNIVERSAL, WorldObject const *target=nullptr)
Definition: ChatTextBuilder.h:52
WorldObject const * _source
Definition: ChatTextBuilder.h:63
uint8 getGender() const
Definition: Unit.h:1415
Language _language
Definition: ChatTextBuilder.h:66
WorldObject const * _target
Definition: ChatTextBuilder.h:45
WorldObject const * _target
Definition: ChatTextBuilder.h:67
std::string _text
Definition: ChatTextBuilder.h:65
uint32 _achievementId
Definition: ChatTextBuilder.h:46