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

#include <CalendarPackets.h>

Public Member Functions

 CalendarEventInviteNotes ()
 
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 InviteGuid
 
uint64 EventID = 0
 
std::string Notes
 
bool ClearPending = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements WorldPackets::Packet.

478 {
481 
482  _worldPacket.WriteBits(Notes.size(), 8);
486 
487  return &_worldPacket;
488 }
bool ClearPending
Definition: CalendarPackets.h:569
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
std::string Notes
Definition: CalendarPackets.h:568
uint64 EventID
Definition: CalendarPackets.h:567
void WriteString(std::string const &str)
Definition: ByteBuffer.h:540
ObjectGuid InviteGuid
Definition: CalendarPackets.h:566
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198

Member Data Documentation

bool WorldPackets::Calendar::CalendarEventInviteNotes::ClearPending = false
uint64 WorldPackets::Calendar::CalendarEventInviteNotes::EventID = 0
ObjectGuid WorldPackets::Calendar::CalendarEventInviteNotes::InviteGuid
std::string WorldPackets::Calendar::CalendarEventInviteNotes::Notes

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