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

#include <BattlePetPackets.h>

Public Member Functions

 BattlePetSetBattleSlot (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 PetGuid
uint8 Slot = 0

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::BattlePet::BattlePetSetBattleSlot::BattlePetSetBattleSlot ( WorldPacket &&  packet)
111 : ClientPacket(CMSG_BATTLE_PET_SET_BATTLE_SLOT, std::move(packet)) { }
Definition: Opcodes.h:105
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::BattlePet::BattlePetSetBattleSlot::Read ( )

Implements WorldPackets::Packet.

111 {
113  _worldPacket >> Slot;
114 }
WorldPacket _worldPacket
Definition: Packet.h:43
uint8 Slot
Definition: BattlePetPackets.h:116
ObjectGuid PetGuid
Definition: BattlePetPackets.h:115

Member Data Documentation

ObjectGuid WorldPackets::BattlePet::BattlePetSetBattleSlot::PetGuid
uint8 WorldPackets::BattlePet::BattlePetSetBattleSlot::Slot = 0

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