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

#include "TotemPackets.h"

Inheritance diagram for WorldPackets::Totem::TotemCreated:
WorldPackets::ServerPacket WorldPackets::Packet

Public Member Functions

 TotemCreated ()
 
WorldPacket const * Write () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, std::size_t initialSize=200)
 
void Read () 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
 
std::size_t GetSize () const
 

Public Attributes

uint8 Slot = 0
 
ObjectGuid Totem
 
uint32 Duration = 0
 
uint32 SpellID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ TotemCreated()

WorldPackets::Totem::TotemCreated::TotemCreated ( )
inline
41: ServerPacket(SMSG_TOTEM_CREATED, 1 + 8 + 4 + 4) { }
@ SMSG_TOTEM_CREATED
Definition: Opcodes.h:1073
ServerPacket(OpcodeServer opcode, std::size_t initialSize=200)
Definition: Packet.cpp:25

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Totem::TotemCreated::Write ( )
overridevirtual

Implements WorldPackets::Packet.

26{
31
32 return &_worldPacket;
33}
WorldPacket _worldPacket
Definition: Packet.h:42
uint8 Slot
Definition: TotemPackets.h:45
uint32 SpellID
Definition: TotemPackets.h:48
ObjectGuid Totem
Definition: TotemPackets.h:46
uint32 Duration
Definition: TotemPackets.h:47

Referenced by Totem::InitStats().

Member Data Documentation

◆ Duration

uint32 WorldPackets::Totem::TotemCreated::Duration = 0

Referenced by Totem::InitStats().

◆ Slot

uint8 WorldPackets::Totem::TotemCreated::Slot = 0

Referenced by Totem::InitStats().

◆ SpellID

uint32 WorldPackets::Totem::TotemCreated::SpellID = 0

Referenced by Totem::InitStats().

◆ Totem

ObjectGuid WorldPackets::Totem::TotemCreated::Totem

Referenced by Totem::InitStats().