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

#include <ChatPackets.h>

Public Member Functions

 STextEmote ()
 
WorldPacket constWrite () 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
 
Packetoperator= (Packet const &right)=delete
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

ObjectGuid SourceGUID
 
ObjectGuid SourceAccountGUID
 
ObjectGuid TargetGUID
 
int32 SoundIndex = -1
 
int32 EmoteID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Chat::STextEmote::STextEmote ( )
inline
209 : ServerPacket(SMSG_TEXT_EMOTE, 3 * 18 + 2 * 4) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1569

Member Function Documentation

WorldPacket const * WorldPackets::Chat::STextEmote::Write ( )
overridevirtual

Implements WorldPackets::Packet.

210 {
216 
217  return &_worldPacket;
218 }
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid SourceAccountGUID
Definition: ChatPackets.h:214
ObjectGuid TargetGUID
Definition: ChatPackets.h:215
int32 SoundIndex
Definition: ChatPackets.h:216
ObjectGuid SourceGUID
Definition: ChatPackets.h:213
int32 EmoteID
Definition: ChatPackets.h:217

+ Here is the caller graph for this function:

Member Data Documentation

int32 WorldPackets::Chat::STextEmote::EmoteID = 0
int32 WorldPackets::Chat::STextEmote::SoundIndex = -1
ObjectGuid WorldPackets::Chat::STextEmote::SourceAccountGUID
ObjectGuid WorldPackets::Chat::STextEmote::SourceGUID
ObjectGuid WorldPackets::Chat::STextEmote::TargetGUID

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