TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Misc::SetAIAnimKit Class Referencefinal

#include <MiscPackets.h>

Public Member Functions

 SetAIAnimKit ()
 
WorldPacket constWrite () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () overridefinal
 
void Clear ()
 
WorldPacket && Move ()
 
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
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

ObjectGuid Unit
 
uint16 AnimKitID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Misc::SetAIAnimKit::SetAIAnimKit ( )
inline
683 : ServerPacket(SMSG_SET_AI_ANIM_KIT, 16 + 2) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1493

Member Function Documentation

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

Implements WorldPackets::Packet.

536 {
537  _worldPacket << Unit;
539 
540  return &_worldPacket;
541 }
uint16 AnimKitID
Definition: MiscPackets.h:688
WorldPacket _worldPacket
Definition: Packet.h:43
uint16_t uint16
Definition: g3dmath.h:166
ObjectGuid Unit
Definition: MiscPackets.h:687

+ Here is the caller graph for this function:

Member Data Documentation

uint16 WorldPackets::Misc::SetAIAnimKit::AnimKitID = 0
ObjectGuid WorldPackets::Misc::SetAIAnimKit::Unit

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