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

#include <CombatPackets.h>

Public Member Functions

 SetSheathed (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket constWrite () overridefinal
 
OpcodeClient 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

int32 CurrentSheathState = 0
 
bool Animate = true
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Combat::SetSheathed::SetSheathed ( WorldPacket &&  packet)
inline
163 : ClientPacket(CMSG_SET_SHEATHED, std::move(packet)) { }
Definition: Opcodes.h:634
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Combat::SetSheathed::Read ( )
overridevirtual

Implements WorldPackets::Packet.

118 {
121 }
int32 CurrentSheathState
Definition: CombatPackets.h:167
WorldPacket _worldPacket
Definition: Packet.h:43
bool Animate
Definition: CombatPackets.h:168
bool ReadBit()
Definition: ByteBuffer.h:186

Member Data Documentation

bool WorldPackets::Combat::SetSheathed::Animate = true
int32 WorldPackets::Combat::SetSheathed::CurrentSheathState = 0

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