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

#include <CalendarPackets.h>

Public Member Functions

 CalendarCopyEvent (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
 
uint64 EventID = 0
 
time_t Date = time_t(0)
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Calendar::CalendarCopyEvent::CalendarCopyEvent ( WorldPacket &&  packet)
inline
127 : ClientPacket(CMSG_CALENDAR_COPY_EVENT, std::move(packet)) { }
Definition: Opcodes.h:129
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Calendar::CalendarCopyEvent::Read ( )
overridevirtual

Implements WorldPackets::Packet.

159 {
163 }
uint64 EventID
Definition: CalendarPackets.h:132
uint64 ModeratorID
Definition: CalendarPackets.h:131
WorldPacket _worldPacket
Definition: Packet.h:43
uint32 ReadPackedTime()
Definition: ByteBuffer.h:552
time_t Date
Definition: CalendarPackets.h:133

Member Data Documentation

time_t WorldPackets::Calendar::CalendarCopyEvent::Date = time_t(0)
uint64 WorldPackets::Calendar::CalendarCopyEvent::EventID = 0
uint64 WorldPackets::Calendar::CalendarCopyEvent::ModeratorID = 0

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