AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WorldPackets::Totem::TotemDestroyed Class Referencefinal

#include "TotemPackets.h"

Inheritance diagram for WorldPackets::Totem::TotemDestroyed:
WorldPackets::ClientPacket WorldPackets::Packet

Public Member Functions

 TotemDestroyed (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

uint8 Slot = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ TotemDestroyed()

WorldPackets::Totem::TotemDestroyed::TotemDestroyed ( WorldPacket &&  packet)
inline
31: ClientPacket(CMSG_TOTEM_DESTROYED, std::move(packet)) { }
@ CMSG_TOTEM_DESTROYED
Definition: Opcodes.h:1074
ClientPacket(WorldPacket &&packet)
Definition: Packet.cpp:39

Member Function Documentation

◆ Read()

void WorldPackets::Totem::TotemDestroyed::Read ( )
overridevirtual

Implements WorldPackets::Packet.

21{
23}
WorldPacket _worldPacket
Definition: Packet.h:42
uint8 Slot
Definition: TotemPackets.h:35

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

Member Data Documentation

◆ Slot

uint8 WorldPackets::Totem::TotemDestroyed::Slot = 0