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

#include <AchievementPackets.h>

Public Member Functions

 AchievementEarned ()
 
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 Earner
 
uint32 EarnerNativeRealm = 0
 
uint32 EarnerVirtualRealm = 0
 
uint32 AchievementID = 0
 
time_t Time = time_t(0)
 
bool Initial = false
 
ObjectGuid Sender
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Achievement::AchievementEarned::AchievementEarned ( )
inline
115 : ServerPacket(SMSG_ACHIEVEMENT_EARNED, 16 + 4 + 4 + 4 + 4 + 1 + 16) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:733

Member Function Documentation

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

Implements WorldPackets::Packet.

97 {
106 
107  return &_worldPacket;
108 }
uint32 AchievementID
Definition: AchievementPackets.h:122
bool Initial
Definition: AchievementPackets.h:124
ObjectGuid Earner
Definition: AchievementPackets.h:119
void FlushBits()
Definition: ByteBuffer.h:150
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
time_t Time
Definition: AchievementPackets.h:123
uint32 EarnerNativeRealm
Definition: AchievementPackets.h:120
void AppendPackedTime(time_t time)
Definition: ByteBuffer.h:680
ObjectGuid Sender
Definition: AchievementPackets.h:125
uint32_t uint32
Definition: g3dmath.h:168
uint32 EarnerVirtualRealm
Definition: AchievementPackets.h:121

+ Here is the caller graph for this function:

Member Data Documentation

uint32 WorldPackets::Achievement::AchievementEarned::AchievementID = 0
ObjectGuid WorldPackets::Achievement::AchievementEarned::Earner
uint32 WorldPackets::Achievement::AchievementEarned::EarnerNativeRealm = 0
uint32 WorldPackets::Achievement::AchievementEarned::EarnerVirtualRealm = 0
bool WorldPackets::Achievement::AchievementEarned::Initial = false
ObjectGuid WorldPackets::Achievement::AchievementEarned::Sender
time_t WorldPackets::Achievement::AchievementEarned::Time = time_t(0)

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