AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WorldPackets::Combat::SetSheathed Class Referencefinal

#include "CombatPackets.h"

Inheritance diagram for WorldPackets::Combat::SetSheathed:
WorldPackets::ClientPacket WorldPackets::Packet

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 const * Write () final
 
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
 
virtual WorldPacket const * Write ()=0
 
virtual void Read ()=0
 
WorldPacket const * GetRawPacket () const
 
std::size_t GetSize () const
 

Public Attributes

uint32 CurrentSheathState = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ SetSheathed()

WorldPackets::Combat::SetSheathed::SetSheathed ( WorldPacket &&  packet)
inline
31: ClientPacket(CMSG_SET_SHEATHED, std::move(packet)) { }
@ CMSG_SET_SHEATHED
Definition: Opcodes.h:510
ClientPacket(WorldPacket &&packet)
Definition: Packet.cpp:39

Member Function Documentation

◆ Read()

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

Implements WorldPackets::Packet.

21{
23}
WorldPacket _worldPacket
Definition: Packet.h:42
uint32 CurrentSheathState
Definition: CombatPackets.h:35

References WorldPackets::Packet::_worldPacket, and CurrentSheathState.

Member Data Documentation

◆ CurrentSheathState

uint32 WorldPackets::Combat::SetSheathed::CurrentSheathState = 0