TrinityCore
WorldPackets::BattlePet::PetBattleSlotUpdates Class Referencefinal

#include <BattlePetPackets.h>

+ Inheritance diagram for WorldPackets::BattlePet::PetBattleSlotUpdates:

Public Member Functions

 PetBattleSlotUpdates ()
 
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

std::vector< BattlePetSlotSlots
 
bool AutoSlotted = false
 
bool NewSlot = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 122 of file BattlePetPackets.h.

Constructor & Destructor Documentation

◆ PetBattleSlotUpdates()

WorldPackets::BattlePet::PetBattleSlotUpdates::PetBattleSlotUpdates ( )
inline

Definition at line 125 of file BattlePetPackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::BattlePet::PetBattleSlotUpdates::Write ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 92 of file BattlePetPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ AutoSlotted

bool WorldPackets::BattlePet::PetBattleSlotUpdates::AutoSlotted = false

Definition at line 130 of file BattlePetPackets.h.

◆ NewSlot

bool WorldPackets::BattlePet::PetBattleSlotUpdates::NewSlot = false

Definition at line 131 of file BattlePetPackets.h.

◆ Slots

std::vector<BattlePetSlot> WorldPackets::BattlePet::PetBattleSlotUpdates::Slots

Definition at line 129 of file BattlePetPackets.h.


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