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

#include <AchievementPackets.h>

Public Member Functions

 CriteriaUpdate ()
 
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

uint32 CriteriaID = 0
 
uint64 Quantity = 0
 
ObjectGuid PlayerGUID
 
uint32 Flags = 0
 
time_t CurrentTime = time_t(0)
 
uint32 ElapsedTime = 0
 
uint32 CreationTime = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Achievement::CriteriaUpdate::CriteriaUpdate ( )
inline
78 : ServerPacket(SMSG_CRITERIA_UPDATE, 4 + 8 + 16 + 4 + 4 + 4 + 4) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:938

Member Function Documentation

WorldPacket const * WorldPackets::Achievement::CriteriaUpdate::Write ( )
overridevirtual

Implements WorldPackets::Packet.

69 {
77 
78  return &_worldPacket;
79 }
time_t CurrentTime
Definition: AchievementPackets.h:86
uint64_t uint64
Definition: g3dmath.h:170
uint32 CriteriaID
Definition: AchievementPackets.h:82
WorldPacket _worldPacket
Definition: Packet.h:43
uint32 ElapsedTime
Definition: AchievementPackets.h:87
void AppendPackedTime(time_t time)
Definition: ByteBuffer.h:680
uint32 Flags
Definition: AchievementPackets.h:85
uint32 CreationTime
Definition: AchievementPackets.h:88
uint64 Quantity
Definition: AchievementPackets.h:83
uint32_t uint32
Definition: g3dmath.h:168
ObjectGuid PlayerGUID
Definition: AchievementPackets.h:84

+ Here is the caller graph for this function:

Member Data Documentation

uint32 WorldPackets::Achievement::CriteriaUpdate::CreationTime = 0
uint32 WorldPackets::Achievement::CriteriaUpdate::CriteriaID = 0
time_t WorldPackets::Achievement::CriteriaUpdate::CurrentTime = time_t(0)
uint32 WorldPackets::Achievement::CriteriaUpdate::ElapsedTime = 0
uint32 WorldPackets::Achievement::CriteriaUpdate::Flags = 0
ObjectGuid WorldPackets::Achievement::CriteriaUpdate::PlayerGUID
uint64 WorldPackets::Achievement::CriteriaUpdate::Quantity = 0

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