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

#include <NPCPackets.h>

Public Member Functions

 TrainerBuySpell (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 TrainerGUID
int32 TrainerID = 0
int32 SpellID = 0

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::NPC::TrainerBuySpell::TrainerBuySpell ( WorldPacket &&  packet)
223 : ClientPacket(CMSG_TRAINER_BUY_SPELL, std::move(packet)) { }
Definition: Opcodes.h:683
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::NPC::TrainerBuySpell::Read ( )

Implements WorldPackets::Packet.

180 {
184 }
int32 SpellID
Definition: NPCPackets.h:229
WorldPacket _worldPacket
Definition: Packet.h:43
int32 TrainerID
Definition: NPCPackets.h:228
ObjectGuid TrainerGUID
Definition: NPCPackets.h:227

Member Data Documentation

int32 WorldPackets::NPC::TrainerBuySpell::SpellID = 0
ObjectGuid WorldPackets::NPC::TrainerBuySpell::TrainerGUID
int32 WorldPackets::NPC::TrainerBuySpell::TrainerID = 0

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