![]() |
TrinityCore
|
#include <ChatPackets.h>
Public Member Functions | |
| Chat () | |
| Chat (Chat const &chat) | |
| 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="") |
| 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 () overridefinal |
| void | Clear () |
| WorldPacket && | Move () |
| 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 |
| uint8 | _Language = LANG_UNIVERSAL |
| ObjectGuid | SenderGUID |
| ObjectGuid | SenderGuildGUID |
| ObjectGuid | SenderAccountGUID |
| ObjectGuid | TargetGUID |
| ObjectGuid | PartyGUID |
| uint32 | SenderVirtualAddress = 0 |
| uint32 | TargetVirtualAddress = 0 |
| std::string | SenderName |
| std::string | TargetName |
| std::string | Prefix |
| Addon Prefix. More... | |
| std::string | _Channel |
| Channel Name. More... | |
| std::string | ChatText |
| uint32 | AchievementID = 0 |
| uint8 | _ChatFlags = 0 |
| float | DisplayTime = 0.0f |
| bool | HideChatLog = false |
| bool | FakeSenderName = false |
Additional Inherited Members | |
Protected Attributes inherited from WorldPackets::Packet | |
| WorldPacket | _worldPacket |
|
inline |
| void WorldPackets::Chat::Chat::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 = "" |
||
| ) |
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 | ||
| ) |
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 | ||
| ) |
Here is the call graph for this function:
|
overridevirtual |
Implements WorldPackets::Packet.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string WorldPackets::Chat::Chat::_Channel |
Channel Name.
| uint8 WorldPackets::Chat::Chat::_Language = LANG_UNIVERSAL |
| uint32 WorldPackets::Chat::Chat::AchievementID = 0 |
| std::string WorldPackets::Chat::Chat::ChatText |
| float WorldPackets::Chat::Chat::DisplayTime = 0.0f |
| ObjectGuid WorldPackets::Chat::Chat::PartyGUID |
| std::string WorldPackets::Chat::Chat::Prefix |
Addon Prefix.
| ObjectGuid WorldPackets::Chat::Chat::SenderAccountGUID |
| ObjectGuid WorldPackets::Chat::Chat::SenderGUID |
| ObjectGuid WorldPackets::Chat::Chat::SenderGuildGUID |
| std::string WorldPackets::Chat::Chat::SenderName |
| uint32 WorldPackets::Chat::Chat::SenderVirtualAddress = 0 |
| ObjectGuid WorldPackets::Chat::Chat::TargetGUID |
| std::string WorldPackets::Chat::Chat::TargetName |
| uint32 WorldPackets::Chat::Chat::TargetVirtualAddress = 0 |
1.8.8