TrinityCore
WorldPackets::Pet::PetSpells Class Referencefinal

#include <PetPackets.h>

+ Inheritance diagram for WorldPackets::Pet::PetSpells:

Public Member Functions

 PetSpells ()
 
WorldPacket const * Write () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () override final
 
void Clear ()
 
WorldPacket && Move ()
 
void ShrinkToFit ()
 
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
 
virtual WorldPacket const * Write ()=0
 
virtual void Read ()=0
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

ObjectGuid PetGUID
 
uint16 _CreatureFamily = 0
 
uint16 Specialization = 0
 
uint32 TimeLimit = 0
 
uint8 ReactState = 0
 
uint8 CommandState = 0
 
uint8 Flag = 0
 
std::array< int, 10 > ActionButtons = { }
 
std::vector< uint32Actions
 
std::vector< PetSpellCooldownCooldowns
 
std::vector< PetSpellHistorySpellHistory
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 100 of file PetPackets.h.

Constructor & Destructor Documentation

◆ PetSpells()

WorldPackets::Pet::PetSpells::PetSpells ( )
inline

Definition at line 103 of file PetPackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Pet::PetSpells::Write ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 20 of file PetPackets.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _CreatureFamily

uint16 WorldPackets::Pet::PetSpells::_CreatureFamily = 0
See also
enum CreatureFamily

Definition at line 108 of file PetPackets.h.

◆ ActionButtons

std::array<int, 10> WorldPackets::Pet::PetSpells::ActionButtons = { }

Definition at line 115 of file PetPackets.h.

◆ Actions

std::vector<uint32> WorldPackets::Pet::PetSpells::Actions

Definition at line 117 of file PetPackets.h.

◆ CommandState

uint8 WorldPackets::Pet::PetSpells::CommandState = 0

Definition at line 112 of file PetPackets.h.

◆ Cooldowns

std::vector<PetSpellCooldown> WorldPackets::Pet::PetSpells::Cooldowns

Definition at line 118 of file PetPackets.h.

◆ Flag

uint8 WorldPackets::Pet::PetSpells::Flag = 0

Definition at line 113 of file PetPackets.h.

◆ PetGUID

ObjectGuid WorldPackets::Pet::PetSpells::PetGUID

Definition at line 107 of file PetPackets.h.

◆ ReactState

uint8 WorldPackets::Pet::PetSpells::ReactState = 0

Definition at line 111 of file PetPackets.h.

◆ Specialization

uint16 WorldPackets::Pet::PetSpells::Specialization = 0

Definition at line 109 of file PetPackets.h.

◆ SpellHistory

std::vector<PetSpellHistory> WorldPackets::Pet::PetSpells::SpellHistory

Definition at line 119 of file PetPackets.h.

◆ TimeLimit

uint32 WorldPackets::Pet::PetSpells::TimeLimit = 0

Definition at line 110 of file PetPackets.h.


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