TrinityCore
WorldPackets::Calendar::CalendarInviteAlert Class Referencefinal

#include <CalendarPackets.h>

Public Member Functions

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

ObjectGuid OwnerGuid
 
uint64 EventClubID = 0
 
ObjectGuid InvitedByGuid
 
uint64 InviteID = 0
 
uint64 EventID = 0
 
uint32 Flags = 0
 
time_t Date = time_t(0)
 
int32 TextureID = 0
 
uint8 Status = 0
 
uint8 EventType = 0
 
uint8 ModeratorStatus = 0
 
std::string EventName
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

◆ CalendarInviteAlert()

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

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

306 {
316 
317  // Todo: check order
320 
321  _worldPacket.WriteBits(EventName.size(), 8);
324 
325  return &_worldPacket;
326 }
uint8 Status
Definition: CalendarPackets.h:253
ObjectGuid InvitedByGuid
Definition: CalendarPackets.h:247
uint8 EventType
Definition: CalendarPackets.h:254
ObjectGuid OwnerGuid
Definition: CalendarPackets.h:245
void FlushBits()
Definition: ByteBuffer.h:147
void WriteBits(std::size_t value, int32 bits)
Definition: ByteBuffer.h:195
WorldPacket _worldPacket
Definition: Packet.h:43
int32 TextureID
Definition: CalendarPackets.h:252
uint64 InviteID
Definition: CalendarPackets.h:248
uint64 EventID
Definition: CalendarPackets.h:249
void WriteString(std::string const &str)
Definition: ByteBuffer.h:511
std::string EventName
Definition: CalendarPackets.h:256
int32_t int32
Definition: Define.h:148
uint32_t uint32
Definition: Define.h:152
uint64_t uint64
Definition: Define.h:151
void AppendPackedTime(time_t time)
Definition: ByteBuffer.cpp:99
uint32 Flags
Definition: CalendarPackets.h:250
uint64 EventClubID
Definition: CalendarPackets.h:246
uint8_t uint8
Definition: Define.h:154
uint8 ModeratorStatus
Definition: CalendarPackets.h:255
time_t Date
Definition: CalendarPackets.h:251
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ Date

time_t WorldPackets::Calendar::CalendarInviteAlert::Date = time_t(0)

◆ EventClubID

uint64 WorldPackets::Calendar::CalendarInviteAlert::EventClubID = 0

◆ EventID

uint64 WorldPackets::Calendar::CalendarInviteAlert::EventID = 0

◆ EventName

std::string WorldPackets::Calendar::CalendarInviteAlert::EventName

◆ EventType

uint8 WorldPackets::Calendar::CalendarInviteAlert::EventType = 0

◆ Flags

uint32 WorldPackets::Calendar::CalendarInviteAlert::Flags = 0

◆ InvitedByGuid

ObjectGuid WorldPackets::Calendar::CalendarInviteAlert::InvitedByGuid

◆ InviteID

uint64 WorldPackets::Calendar::CalendarInviteAlert::InviteID = 0

◆ ModeratorStatus

uint8 WorldPackets::Calendar::CalendarInviteAlert::ModeratorStatus = 0

◆ OwnerGuid

ObjectGuid WorldPackets::Calendar::CalendarInviteAlert::OwnerGuid

◆ Status

uint8 WorldPackets::Calendar::CalendarInviteAlert::Status = 0

◆ TextureID

int32 WorldPackets::Calendar::CalendarInviteAlert::TextureID = 0

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