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

#include <ClientConfigPackets.h>

Public Member Functions

 UpdateAccountData ()
 
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 Player
 
uint32 Time = 0
 UnixTime. More...
 
uint32 Size = 0
 decompressed size More...
 
uint8 DataType = 0
 
ByteBuffer CompressedData
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::ClientConfig::UpdateAccountData::UpdateAccountData ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1594

Member Function Documentation

WorldPacket const * WorldPackets::ClientConfig::UpdateAccountData::Write ( )
overridevirtual

Implements WorldPackets::Packet.

105 {
106  _worldPacket << Player;
112 
113  return &_worldPacket;
114 }
uint32 Time
UnixTime.
Definition: ClientConfigPackets.h:83
uint8 DataType
Definition: ClientConfigPackets.h:85
uint32 Size
decompressed size
Definition: ClientConfigPackets.h:84
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid Player
Definition: ClientConfigPackets.h:82
size_t size() const
Definition: ByteBuffer.h:587
void append(T value)
Definition: ByteBuffer.h:143
ByteBuffer CompressedData
Definition: ClientConfigPackets.h:86
uint32_t uint32
Definition: g3dmath.h:168
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198

+ Here is the caller graph for this function:

Member Data Documentation

ByteBuffer WorldPackets::ClientConfig::UpdateAccountData::CompressedData
uint8 WorldPackets::ClientConfig::UpdateAccountData::DataType = 0
See also
enum AccountDataType
ObjectGuid WorldPackets::ClientConfig::UpdateAccountData::Player
uint32 WorldPackets::ClientConfig::UpdateAccountData::Size = 0

decompressed size

uint32 WorldPackets::ClientConfig::UpdateAccountData::Time = 0

UnixTime.


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