TrinityCore
WorldPackets::Misc::StandStateUpdate Class Referencefinal

#include <MiscPackets.h>

+ Inheritance diagram for WorldPackets::Misc::StandStateUpdate:

Public Member Functions

 StandStateUpdate ()
 
 StandStateUpdate (UnitStandStateType state, uint32 animKitID)
 
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

uint32 AnimKitID = 0
 
UnitStandStateType State = UnitStandStateType(0)
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 425 of file MiscPackets.h.

Constructor & Destructor Documentation

◆ StandStateUpdate() [1/2]

WorldPackets::Misc::StandStateUpdate::StandStateUpdate ( )
inline

Definition at line 428 of file MiscPackets.h.

◆ StandStateUpdate() [2/2]

WorldPackets::Misc::StandStateUpdate::StandStateUpdate ( UnitStandStateType  state,
uint32  animKitID 
)
inline

Definition at line 429 of file MiscPackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Misc::StandStateUpdate::Write ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 326 of file MiscPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ AnimKitID

uint32 WorldPackets::Misc::StandStateUpdate::AnimKitID = 0

Definition at line 433 of file MiscPackets.h.

◆ State

UnitStandStateType WorldPackets::Misc::StandStateUpdate::State = UnitStandStateType(0)

Definition at line 434 of file MiscPackets.h.


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