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

#include <SocialPackets.h>

Public Member Functions

 SetContactNotes (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

QualifiedGUID Player
 
std::string Notes
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Social::SetContactNotes::SetContactNotes ( WorldPacket &&  packet)
inline
119 : ClientPacket(CMSG_SET_CONTACT_NOTES, std::move(packet)) { }
Definition: Opcodes.h:612
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Social::SetContactNotes::Read ( )
overridevirtual

Implements WorldPackets::Packet.

124 {
125  _worldPacket >> Player;
127 }
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
WorldPacket _worldPacket
Definition: Packet.h:43
std::string Notes
Definition: SocialPackets.h:124
std::string ReadString(uint32 length)
Definition: ByteBuffer.h:524
QualifiedGUID Player
Definition: SocialPackets.h:123

Member Data Documentation

std::string WorldPackets::Social::SetContactNotes::Notes
QualifiedGUID WorldPackets::Social::SetContactNotes::Player

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