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

#include <QuestPackets.h>

Public Member Functions

 QuestUpdateAddCredit ()
 
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 VictimGUID
 
int32 ObjectID = 0
 
int32 QuestID = 0
 
uint16 Count = 0
 
uint16 Required = 0
 
uint8 ObjectiveType = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Quest::QuestUpdateAddCredit::QuestUpdateAddCredit ( )
inline
185 : ServerPacket(SMSG_QUEST_UPDATE_ADD_CREDIT, 16+4+4+2+2+1) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1419

Member Function Documentation

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

Implements WorldPackets::Packet.

187 {
194 
195  return &_worldPacket;
196 };
int32 ObjectID
Definition: QuestPackets.h:190
WorldPacket _worldPacket
Definition: Packet.h:43
uint16_t uint16
Definition: g3dmath.h:166
ObjectGuid VictimGUID
Definition: QuestPackets.h:189
uint16 Required
Definition: QuestPackets.h:193
int32 QuestID
Definition: QuestPackets.h:191
uint8_t uint8
Definition: g3dmath.h:164
int32_t int32
Definition: g3dmath.h:167
uint8 ObjectiveType
Definition: QuestPackets.h:194
uint16 Count
Definition: QuestPackets.h:192

Member Data Documentation

uint16 WorldPackets::Quest::QuestUpdateAddCredit::Count = 0
int32 WorldPackets::Quest::QuestUpdateAddCredit::ObjectID = 0
uint8 WorldPackets::Quest::QuestUpdateAddCredit::ObjectiveType = 0
int32 WorldPackets::Quest::QuestUpdateAddCredit::QuestID = 0
uint16 WorldPackets::Quest::QuestUpdateAddCredit::Required = 0
ObjectGuid WorldPackets::Quest::QuestUpdateAddCredit::VictimGUID

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