◆ Battleground2ChatBuilder()
uint32 _textId
Definition Battleground.cpp:114
ChatMsg _msgtype
Definition Battleground.cpp:113
Player const * _source
Definition Battleground.cpp:115
uint32 _arg1
Definition Battleground.cpp:116
uint32 _arg2
Definition Battleground.cpp:117
◆ operator()()
98 {
100 char const* text = strtext.c_str();
102 char const* arg1str =
_arg1 ? stragr1str.c_str() :
"";
104 char const* arg2str =
_arg2 ? strarg2str.c_str() :
"";
105
106 char str[2048];
107 snprintf(str, 2048, text, arg1str, arg2str);
108
110 }
#define sObjectMgr
Definition ObjectMgr.h:1636
@ LANG_UNIVERSAL
Definition SharedDefines.h:735
static std::size_t BuildChatPacket(WorldPacket &data, ChatMsg chatType, Language language, ObjectGuid senderGUID, ObjectGuid receiverGUID, std::string_view message, uint8 chatTag, std::string const &senderName="", std::string const &receiverName="", uint32 achievementId=0, bool gmMessage=false, std::string const &channelName="")
Definition Chat.cpp:265
References _arg1, _arg2, _msgtype, _source, _textId, ChatHandler::BuildChatPacket(), LANG_UNIVERSAL, and sObjectMgr.
◆ _arg1
uint32 Acore::Battleground2ChatBuilder::_arg1 |
|
private |
◆ _arg2
uint32 Acore::Battleground2ChatBuilder::_arg2 |
|
private |
◆ _msgtype
ChatMsg Acore::Battleground2ChatBuilder::_msgtype |
|
private |
◆ _source
Player const* Acore::Battleground2ChatBuilder::_source |
|
private |
◆ _textId
uint32 Acore::Battleground2ChatBuilder::_textId |
|
private |
The documentation for this class was generated from the following file: