AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WorldPackets::Pet::PetSpellAutocast Class Referencefinal

#include "PetPackets.h"

Inheritance diagram for WorldPackets::Pet::PetSpellAutocast:
WorldPackets::ClientPacket WorldPackets::Packet

Public Member Functions

 PetSpellAutocast (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket const * Write () final
 
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
 
virtual WorldPacket const * Write ()=0
 
virtual void Read ()=0
 
WorldPacket const * GetRawPacket () const
 
std::size_t GetSize () const
 

Public Attributes

ObjectGuid PetGUID
 
uint32 SpellID = 0
 
bool AutocastEnabled = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ PetSpellAutocast()

WorldPackets::Pet::PetSpellAutocast::PetSpellAutocast ( WorldPacket &&  packet)
inline
61: ClientPacket(CMSG_PET_SPELL_AUTOCAST, std::move(packet)) { }
@ CMSG_PET_SPELL_AUTOCAST
Definition: Opcodes.h:785
ClientPacket(WorldPacket &&packet)
Definition: Packet.cpp:39

Member Function Documentation

◆ Read()

void WorldPackets::Pet::PetSpellAutocast::Read ( )
overridevirtual

Implements WorldPackets::Packet.

36{
40}
WorldPacket _worldPacket
Definition: Packet.h:42
bool AutocastEnabled
Definition: PetPackets.h:67
uint32 SpellID
Definition: PetPackets.h:66
ObjectGuid PetGUID
Definition: PetPackets.h:65

Member Data Documentation

◆ AutocastEnabled

bool WorldPackets::Pet::PetSpellAutocast::AutocastEnabled = false

◆ PetGUID

ObjectGuid WorldPackets::Pet::PetSpellAutocast::PetGUID

◆ SpellID

uint32 WorldPackets::Pet::PetSpellAutocast::SpellID = 0