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

#include <CalendarPackets.h>

Public Member Functions

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

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

WorldPackets::Calendar::SCalendarEventInvite::SCalendarEventInvite ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:847

Member Function Documentation

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

Implements WorldPackets::Packet.

224 {
230  _worldPacket << uint8(Type);
232 
235 
236  return &_worldPacket;
237 }
uint64 InviteID
Definition: CalendarPackets.h:143
time_t ResponseTime
Definition: CalendarPackets.h:144
uint64 EventID
Definition: CalendarPackets.h:147
void FlushBits()
Definition: ByteBuffer.h:150
uint64_t uint64
Definition: g3dmath.h:170
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
uint8 Status
Definition: CalendarPackets.h:150
bool ClearPending
Definition: CalendarPackets.h:149
uint8 Level
Definition: CalendarPackets.h:145
ObjectGuid InviteGuid
Definition: CalendarPackets.h:146
void AppendPackedTime(time_t time)
Definition: ByteBuffer.h:680
uint8_t uint8
Definition: g3dmath.h:164
Type
Type of JSON value.
Definition: rapidjson.h:642

+ Here is the caller graph for this function:

Member Data Documentation

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

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