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

#include <QuestPackets.h>

Public Member Functions

 QuestConfirmAcceptResponse ()
 
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 InitiatedBy
 
int32 QuestID = 0
 
std::string QuestTitle
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Quest::QuestConfirmAcceptResponse::QuestConfirmAcceptResponse ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1405

Member Function Documentation

WorldPacket const * WorldPackets::Quest::QuestConfirmAcceptResponse::Write ( )
overridevirtual

Implements WorldPackets::Packet.

489 {
492 
493  _worldPacket.WriteBits(QuestTitle.size(), 10);
495 
497 
498  return &_worldPacket;
499 }
ObjectGuid InitiatedBy
Definition: QuestPackets.h:482
void FlushBits()
Definition: ByteBuffer.h:150
WorldPacket _worldPacket
Definition: Packet.h:43
void WriteString(std::string const &str)
Definition: ByteBuffer.h:540
std::string QuestTitle
Definition: QuestPackets.h:484
uint32_t uint32
Definition: g3dmath.h:168
int32 QuestID
Definition: QuestPackets.h:483
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198

Member Data Documentation

ObjectGuid WorldPackets::Quest::QuestConfirmAcceptResponse::InitiatedBy
int32 WorldPackets::Quest::QuestConfirmAcceptResponse::QuestID = 0
std::string WorldPackets::Quest::QuestConfirmAcceptResponse::QuestTitle

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