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

#include <CalendarPackets.h>

Public Member Functions

 CalendarEventInviteAlert ()
 
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 OwnerGuid
 
ObjectGuid EventGuildID
 
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

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

Member Function Documentation

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

Implements WorldPackets::Packet.

291 {
301 
302  // Todo: check order
305 
306  _worldPacket.WriteBits(EventName.size(), 8);
309 
310  return &_worldPacket;
311 }
std::string EventName
Definition: CalendarPackets.h:257
uint8 Status
Definition: CalendarPackets.h:254
uint8 ModeratorStatus
Definition: CalendarPackets.h:256
void FlushBits()
Definition: ByteBuffer.h:150
uint64_t uint64
Definition: g3dmath.h:170
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid InvitedByGuid
Definition: CalendarPackets.h:248
time_t Date
Definition: CalendarPackets.h:252
void WriteString(std::string const &str)
Definition: ByteBuffer.h:540
void AppendPackedTime(time_t time)
Definition: ByteBuffer.h:680
ObjectGuid EventGuildID
Definition: CalendarPackets.h:247
uint8_t uint8
Definition: g3dmath.h:164
uint64 InviteID
Definition: CalendarPackets.h:249
uint32 Flags
Definition: CalendarPackets.h:251
ObjectGuid OwnerGuid
Definition: CalendarPackets.h:246
int32_t int32
Definition: g3dmath.h:167
int32 TextureID
Definition: CalendarPackets.h:253
uint32_t uint32
Definition: g3dmath.h:168
uint8 EventType
Definition: CalendarPackets.h:255
uint64 EventID
Definition: CalendarPackets.h:250
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198

+ Here is the caller graph for this function:

Member Data Documentation

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

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