TrinityCore
WorldPackets::Calendar::CalendarInviteAdded Class Referencefinal

#include <CalendarPackets.h>

Public Member Functions

 CalendarInviteAdded ()
 
WorldPacket const * Write () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () override final
 
void Clear ()
 
WorldPacket && Move ()
 
void ShrinkToFit ()
 
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 const * GetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

uint64 InviteID = 0
 
time_t ResponseTime = time_t(0)
 
uint8 Level = 100
 
ObjectGuid InviteGuid
 
uint64 EventID = 0
 
uint8 Type = 0
 
bool ClearPending = false
 
uint8 Status = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

◆ CalendarInviteAdded()

WorldPackets::Calendar::CalendarInviteAdded::CalendarInviteAdded ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.cpp:25
Definition: Opcodes.h:988
+ Here is the call graph for this function:

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Calendar::CalendarInviteAdded::Write ( )
overridevirtual

Implements WorldPackets::Packet.

246 {
252  _worldPacket << uint8(Type);
254 
257 
258  return &_worldPacket;
259 }
ObjectGuid InviteGuid
Definition: CalendarPackets.h:155
bool ClearPending
Definition: CalendarPackets.h:158
uint8 Status
Definition: CalendarPackets.h:159
void FlushBits()
Definition: ByteBuffer.h:147
uint8 Type
Definition: CalendarPackets.h:157
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(bool bit)
Definition: ByteBuffer.h:167
uint64_t uint64
Definition: Define.h:151
void AppendPackedTime(time_t time)
Definition: ByteBuffer.cpp:99
time_t ResponseTime
Definition: CalendarPackets.h:153
uint8 Level
Definition: CalendarPackets.h:154
uint64 EventID
Definition: CalendarPackets.h:156
uint64 InviteID
Definition: CalendarPackets.h:152
uint8_t uint8
Definition: Define.h:154
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ ClearPending

bool WorldPackets::Calendar::CalendarInviteAdded::ClearPending = false

◆ EventID

uint64 WorldPackets::Calendar::CalendarInviteAdded::EventID = 0

◆ InviteGuid

ObjectGuid WorldPackets::Calendar::CalendarInviteAdded::InviteGuid

◆ InviteID

uint64 WorldPackets::Calendar::CalendarInviteAdded::InviteID = 0

◆ Level

uint8 WorldPackets::Calendar::CalendarInviteAdded::Level = 100

◆ ResponseTime

time_t WorldPackets::Calendar::CalendarInviteAdded::ResponseTime = time_t(0)

◆ Status

uint8 WorldPackets::Calendar::CalendarInviteAdded::Status = 0

◆ Type

uint8 WorldPackets::Calendar::CalendarInviteAdded::Type = 0

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