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

#include <ClientConfigPackets.h>

Public Member Functions

 AccountDataTimes ()
 
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 PlayerGuid
 
uint32 ServerTime = 0
 
uint32 AccountTimes [NUM_ACCOUNT_DATA_TYPES]
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::ClientConfig::AccountDataTimes::AccountDataTimes ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:729
#define NUM_ACCOUNT_DATA_TYPES
Definition: WorldSession.h:735

Member Function Documentation

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

Implements WorldPackets::Packet.

83 {
87 
88  return &_worldPacket;
89 }
ObjectGuid PlayerGuid
Definition: ClientConfigPackets.h:49
uint32 AccountTimes[NUM_ACCOUNT_DATA_TYPES]
Definition: ClientConfigPackets.h:51
uint32 ServerTime
Definition: ClientConfigPackets.h:50
WorldPacket _worldPacket
Definition: Packet.h:43
void append(T value)
Definition: ByteBuffer.h:143
uint32_t uint32
Definition: g3dmath.h:168
#define NUM_ACCOUNT_DATA_TYPES
Definition: WorldSession.h:735

Member Data Documentation

uint32 WorldPackets::ClientConfig::AccountDataTimes::AccountTimes[NUM_ACCOUNT_DATA_TYPES]
ObjectGuid WorldPackets::ClientConfig::AccountDataTimes::PlayerGuid
uint32 WorldPackets::ClientConfig::AccountDataTimes::ServerTime = 0

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