All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Chat::CTextEmote Class Referencefinal

#include <ChatPackets.h>

Public Member Functions

 CTextEmote (WorldPacket &&packet)
void Read () override
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
WorldPacket constWrite () overridefinal
OpcodeClient GetOpcode () const
- Public Member Functions inherited from WorldPackets::Packet
 Packet (WorldPacket &&worldPacket)
virtual ~Packet ()=default
 Packet (Packet const &right)=delete
Packetoperator= (Packet const &right)=delete
WorldPacket constGetRawPacket () const
size_t GetSize () const
ConnectionType GetConnection () const

Public Attributes

ObjectGuid Target
int32 EmoteID = 0
int32 SoundIndex = -1

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::Chat::CTextEmote::CTextEmote ( WorldPacket &&  packet)
197 : ClientPacket(CMSG_SEND_TEXT_EMOTE, std::move(packet)) { }
Definition: Opcodes.h:601
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Chat::CTextEmote::Read ( )

Implements WorldPackets::Packet.

203 {
204  _worldPacket >> Target;
207 }
int32 EmoteID
Definition: ChatPackets.h:202
int32 SoundIndex
Definition: ChatPackets.h:203
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid Target
Definition: ChatPackets.h:201

Member Data Documentation

int32 WorldPackets::Chat::CTextEmote::EmoteID = 0
int32 WorldPackets::Chat::CTextEmote::SoundIndex = -1
ObjectGuid WorldPackets::Chat::CTextEmote::Target

The documentation for this class was generated from the following files: