WorldPackets::Pet::PetMode Class Referencefinal

#include <PetPackets.h>

+ Inheritance diagram for WorldPackets::Pet::PetMode:

Public Member Functions

 PetMode ()
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
ReactStates ReactState = REACT_PASSIVE
CommandStates CommandState = COMMAND_STAY
uint8 Flag = 0

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Detailed Description

Definition at line 261 of file PetPackets.h.

Constructor & Destructor Documentation

◆ PetMode()

WorldPackets::Pet::PetMode::PetMode ( )

Definition at line 264 of file PetPackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Pet::PetMode::Write ( )

Implements WorldPackets::Packet.

Definition at line 199 of file PetPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ CommandState

CommandStates WorldPackets::Pet::PetMode::CommandState = COMMAND_STAY

Definition at line 270 of file PetPackets.h.

◆ Flag

uint8 WorldPackets::Pet::PetMode::Flag = 0

Definition at line 271 of file PetPackets.h.


ObjectGuid WorldPackets::Pet::PetMode::PetGUID

Definition at line 268 of file PetPackets.h.

◆ ReactState

ReactStates WorldPackets::Pet::PetMode::ReactState = REACT_PASSIVE

Definition at line 269 of file PetPackets.h.

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