All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::NPC::GossipSelectOption Class Referencefinal

#include <NPCPackets.h>

Public Member Functions

 GossipSelectOption (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 GossipUnit
int32 GossipIndex = 0
int32 GossipID = 0
std::string PromotionCode

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::NPC::GossipSelectOption::GossipSelectOption ( WorldPacket &&  packet)
86 : ClientPacket(CMSG_GOSSIP_SELECT_OPTION, std::move(packet)) { }
Definition: Opcodes.h:301
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::NPC::GossipSelectOption::Read ( )

Implements WorldPackets::Packet.

129 {
136 }
int32 GossipID
Definition: NPCPackets.h:92
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
std::string PromotionCode
Definition: NPCPackets.h:93
WorldPacket _worldPacket
Definition: Packet.h:43
std::string ReadString(uint32 length)
Definition: ByteBuffer.h:524
uint32_t uint32
Definition: Define.h:150
int32 GossipIndex
Definition: NPCPackets.h:91
float length(float v)
Definition: vectorMath.h:208
ObjectGuid GossipUnit
Definition: NPCPackets.h:90

+ Here is the call graph for this function:

Member Data Documentation

int32 WorldPackets::NPC::GossipSelectOption::GossipID = 0
int32 WorldPackets::NPC::GossipSelectOption::GossipIndex = 0
ObjectGuid WorldPackets::NPC::GossipSelectOption::GossipUnit
std::string WorldPackets::NPC::GossipSelectOption::PromotionCode

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