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

#include <TicketPackets.h>

Classes

struct  ComplaintChat
 
struct  ComplaintOffender
 

Public Member Functions

 Complaint (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

uint8 ComplaintType = 0
 
ComplaintOffender Offender
 
uint32 MailID = 0
 
ComplaintChat Chat
 
ObjectGuid EventGuid
 
ObjectGuid InviteGuid
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Ticket::Complaint::Complaint ( WorldPacket &&  packet)
inline
213 : ClientPacket(CMSG_COMPLAINT, std::move(packet)) { }
Definition: Opcodes.h:225
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Ticket::Complaint::Read ( )
overridevirtual

Implements WorldPackets::Packet.

249 {
252 
253  switch (ComplaintType)
254  {
256  _worldPacket >> MailID;
257  break;
259  _worldPacket >> Chat;
260  break;
264  break;
265  default:
266  break;
267  }
268 }
Definition: SupportMgr.h:47
uint8 ComplaintType
Definition: TicketPackets.h:217
ObjectGuid InviteGuid
Definition: TicketPackets.h:222
ComplaintChat Chat
Definition: TicketPackets.h:220
Definition: SupportMgr.h:46
ComplaintOffender Offender
Definition: TicketPackets.h:218
WorldPacket _worldPacket
Definition: Packet.h:43
Definition: SupportMgr.h:48
uint32 MailID
Definition: TicketPackets.h:219
ObjectGuid EventGuid
Definition: TicketPackets.h:221

Member Data Documentation

ComplaintChat WorldPackets::Ticket::Complaint::Chat
uint8 WorldPackets::Ticket::Complaint::ComplaintType = 0
ObjectGuid WorldPackets::Ticket::Complaint::EventGuid
ObjectGuid WorldPackets::Ticket::Complaint::InviteGuid
uint32 WorldPackets::Ticket::Complaint::MailID = 0
ComplaintOffender WorldPackets::Ticket::Complaint::Offender

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