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

#include <QuestPackets.h>

Public Member Functions

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

ObjectGuid SenderGUID
 
uint32 QuestID = 0
 
uint8 Result = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Quest::QuestPushResult::QuestPushResult ( WorldPacket &&  packet)
inline
519 : ClientPacket(CMSG_QUEST_PUSH_RESULT, std::move(packet)) { }
Definition: Opcodes.h:545
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Quest::QuestPushResult::Read ( )
overridevirtual

Implements WorldPackets::Packet.

515 {
518  _worldPacket >> Result;
519 }
ObjectGuid SenderGUID
Definition: QuestPackets.h:523
WorldPacket _worldPacket
Definition: Packet.h:43
uint8 Result
Definition: QuestPackets.h:525
uint32 QuestID
Definition: QuestPackets.h:524

Member Data Documentation

uint32 WorldPackets::Quest::QuestPushResult::QuestID = 0
uint8 WorldPackets::Quest::QuestPushResult::Result = 0
ObjectGuid WorldPackets::Quest::QuestPushResult::SenderGUID

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