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

#include <CalendarPackets.h>

Public Member Functions

 CalendarEventInvite (WorldPacket &&packet)
void Read () override
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
WorldPacket constWrite () overridefinal
OpcodeClient 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 ModeratorID = 0
bool IsSignUp = false
bool Creating = true
uint64 EventID = 0
std::string Name

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::Calendar::CalendarEventInvite::CalendarEventInvite ( WorldPacket &&  packet)
263 : ClientPacket(CMSG_CALENDAR_EVENT_INVITE, std::move(packet)) { }
Definition: Opcodes.h:130
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Calendar::CalendarEventInvite::Read ( )

Implements WorldPackets::Packet.

173 {
177  uint16 nameLen = _worldPacket.ReadBits(9);
181  Name = _worldPacket.ReadString(nameLen);
182 }
bool Creating
Definition: CalendarPackets.h:269
std::string Name
Definition: CalendarPackets.h:271
uint64 ModeratorID
Definition: CalendarPackets.h:267
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
WorldPacket _worldPacket
Definition: Packet.h:43
std::string ReadString(uint32 length)
Definition: ByteBuffer.h:524
uint16_t uint16
Definition: Define.h:151
bool IsSignUp
Definition: CalendarPackets.h:268
uint64 EventID
Definition: CalendarPackets.h:270
bool ReadBit()
Definition: ByteBuffer.h:186

Member Data Documentation

bool WorldPackets::Calendar::CalendarEventInvite::Creating = true
uint64 WorldPackets::Calendar::CalendarEventInvite::EventID = 0
bool WorldPackets::Calendar::CalendarEventInvite::IsSignUp = false
uint64 WorldPackets::Calendar::CalendarEventInvite::ModeratorID = 0
std::string WorldPackets::Calendar::CalendarEventInvite::Name

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