AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WorldPackets::Misc::StartMirrorTimer Class Referencefinal

#include "MiscPackets.h"

Inheritance diagram for WorldPackets::Misc::StartMirrorTimer:
WorldPackets::ServerPacket WorldPackets::Packet

Public Member Functions

 StartMirrorTimer ()
 
 StartMirrorTimer (uint32 timer, uint32 value, uint32 maxValue, int32 scale, bool paused, uint32 spellID)
 
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

uint32 Timer = 0
 
uint32 Value = 0
 
uint32 MaxValue = 0
 
int32 Scale = 0
 
bool Paused = false
 
uint32 SpellID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ StartMirrorTimer() [1/2]

WorldPackets::Misc::StartMirrorTimer::StartMirrorTimer ( )
inline
@ SMSG_START_MIRROR_TIMER
Definition: Opcodes.h:503
ServerPacket(OpcodeServer opcode, std::size_t initialSize=200)
Definition: Packet.cpp:25

◆ StartMirrorTimer() [2/2]

WorldPackets::Misc::StartMirrorTimer::StartMirrorTimer ( uint32  timer,
uint32  value,
uint32  maxValue,
int32  scale,
bool  paused,
uint32  spellID 
)
inline
124 :
125 ServerPacket(SMSG_START_MIRROR_TIMER, 21), Timer(timer), Value(value), MaxValue(maxValue), Scale(scale), Paused(paused), SpellID(spellID) { }
uint32 SpellID
Definition: MiscPackets.h:134
uint32 MaxValue
Definition: MiscPackets.h:131
int32 Scale
Definition: MiscPackets.h:132
uint32 Timer
Definition: MiscPackets.h:129
uint32 Value
Definition: MiscPackets.h:130
bool Paused
Definition: MiscPackets.h:133

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

87{
94
95 return &_worldPacket;
96}
std::int32_t int32
Definition: Define.h:103
std::uint8_t uint8
Definition: Define.h:109
std::uint32_t uint32
Definition: Define.h:107
Timer
Definition: boss_grizzle.cpp:30
WorldPacket _worldPacket
Definition: Packet.h:42

Member Data Documentation

◆ MaxValue

uint32 WorldPackets::Misc::StartMirrorTimer::MaxValue = 0

◆ Paused

bool WorldPackets::Misc::StartMirrorTimer::Paused = false

◆ Scale

int32 WorldPackets::Misc::StartMirrorTimer::Scale = 0

◆ SpellID

uint32 WorldPackets::Misc::StartMirrorTimer::SpellID = 0

◆ Timer

uint32 WorldPackets::Misc::StartMirrorTimer::Timer = 0

◆ Value

uint32 WorldPackets::Misc::StartMirrorTimer::Value = 0