![]() |
TrinityCore
|
#include <ChatPackets.h>
Inheritance diagram for WorldPackets::Chat::Chat:Public Member Functions | |
| Chat () | |
| Chat (Chat const &chat) | |
| void | Initialize (ChatMsg chatType, Language language, WorldObject const *sender, WorldObject const *receiver, std::string_view message, uint32 achievementId=0, std::string_view channelName="", LocaleConstant locale=DEFAULT_LOCALE, std::string_view addonPrefix="") |
| void | SetSender (WorldObject const *sender, LocaleConstant locale) |
| void | SetReceiver (WorldObject const *receiver, LocaleConstant locale) |
| WorldPacket const * | Write () override |
Public Member Functions inherited from WorldPackets::ServerPacket | |
| ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT) | |
| void | Read () final |
| void | Clear () |
| WorldPacket && | Move () |
| void | ShrinkToFit () |
| OpcodeServer | GetOpcode () const |
Public Member Functions inherited from WorldPackets::Packet | |
| Packet (WorldPacket &&worldPacket) | |
| virtual | ~Packet ()=default |
| Packet (Packet const &right)=delete | |
| Packet & | operator= (Packet const &right)=delete |
| WorldPacket const * | GetRawPacket () const |
| size_t | GetSize () const |
| ConnectionType | GetConnection () const |
Public Attributes | |
| uint8 | SlashCmd = 0 |
| uint32 | _Language = LANG_UNIVERSAL |
| ObjectGuid | SenderGUID |
| ObjectGuid | SenderGuildGUID |
| ObjectGuid | SenderWowAccount |
| ObjectGuid | TargetGUID |
| uint32 | SenderVirtualAddress = 0 |
| uint32 | TargetVirtualAddress = 0 |
| std::string | SenderName |
| std::string | TargetName |
| std::string | Prefix |
| Addon Prefix. | |
| std::string | _Channel |
| Channel Name. | |
| std::string | ChatText |
| uint32 | AchievementID = 0 |
| uint16 | _ChatFlags = 0 |
| float | DisplayTime = 0.0f |
| int32 | SpellID = 0 |
| Optional< uint32 > | BroadcastTextID |
| bool | HideChatLog = false |
| bool | FakeSenderName = false |
| Optional< ObjectGuid > | ChannelGUID |
| Optional< uint32 > | EncounterEventID |
Additional Inherited Members | |
Protected Attributes inherited from WorldPackets::Packet | |
| WorldPacket | _worldPacket |
Definition at line 152 of file ChatPackets.h.
|
inlineexplicit |
Definition at line 155 of file ChatPackets.h.
| WorldPackets::Chat::Chat::Chat | ( | Chat const & | chat | ) |
Definition at line 124 of file ChatPackets.cpp.
| void WorldPackets::Chat::Chat::Initialize | ( | ChatMsg | chatType, |
| Language | language, | ||
| WorldObject const * | sender, | ||
| WorldObject const * | receiver, | ||
| std::string_view | message, | ||
| uint32 | achievementId = 0, |
||
| std::string_view | channelName = "", |
||
| LocaleConstant | locale = DEFAULT_LOCALE, |
||
| std::string_view | addonPrefix = "" |
||
| ) |
Definition at line 134 of file ChatPackets.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldPackets::Chat::Chat::SetReceiver | ( | WorldObject const * | receiver, |
| LocaleConstant | locale | ||
| ) |
Definition at line 180 of file ChatPackets.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldPackets::Chat::Chat::SetSender | ( | WorldObject const * | sender, |
| LocaleConstant | locale | ||
| ) |
Definition at line 165 of file ChatPackets.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements WorldPackets::Packet.
Definition at line 187 of file ChatPackets.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string WorldPackets::Chat::Chat::_Channel |
Channel Name.
Definition at line 176 of file ChatPackets.h.
| uint16 WorldPackets::Chat::Chat::_ChatFlags = 0 |
Definition at line 179 of file ChatPackets.h.
| uint32 WorldPackets::Chat::Chat::_Language = LANG_UNIVERSAL |
Definition at line 166 of file ChatPackets.h.
| uint32 WorldPackets::Chat::Chat::AchievementID = 0 |
Definition at line 178 of file ChatPackets.h.
Definition at line 182 of file ChatPackets.h.
| Optional<ObjectGuid> WorldPackets::Chat::Chat::ChannelGUID |
Definition at line 185 of file ChatPackets.h.
| std::string WorldPackets::Chat::Chat::ChatText |
Definition at line 177 of file ChatPackets.h.
| float WorldPackets::Chat::Chat::DisplayTime = 0.0f |
Definition at line 180 of file ChatPackets.h.
Definition at line 186 of file ChatPackets.h.
| bool WorldPackets::Chat::Chat::FakeSenderName = false |
Definition at line 184 of file ChatPackets.h.
| bool WorldPackets::Chat::Chat::HideChatLog = false |
Definition at line 183 of file ChatPackets.h.
| std::string WorldPackets::Chat::Chat::Prefix |
Addon Prefix.
Definition at line 175 of file ChatPackets.h.
| ObjectGuid WorldPackets::Chat::Chat::SenderGUID |
Definition at line 167 of file ChatPackets.h.
| ObjectGuid WorldPackets::Chat::Chat::SenderGuildGUID |
Definition at line 168 of file ChatPackets.h.
| std::string WorldPackets::Chat::Chat::SenderName |
Definition at line 173 of file ChatPackets.h.
| uint32 WorldPackets::Chat::Chat::SenderVirtualAddress = 0 |
Definition at line 171 of file ChatPackets.h.
| ObjectGuid WorldPackets::Chat::Chat::SenderWowAccount |
Definition at line 169 of file ChatPackets.h.
| uint8 WorldPackets::Chat::Chat::SlashCmd = 0 |
Definition at line 165 of file ChatPackets.h.
| int32 WorldPackets::Chat::Chat::SpellID = 0 |
Definition at line 181 of file ChatPackets.h.
| ObjectGuid WorldPackets::Chat::Chat::TargetGUID |
Definition at line 170 of file ChatPackets.h.
| std::string WorldPackets::Chat::Chat::TargetName |
Definition at line 174 of file ChatPackets.h.
| uint32 WorldPackets::Chat::Chat::TargetVirtualAddress = 0 |
Definition at line 172 of file ChatPackets.h.