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

#include "MiscPackets.h"

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

Public Member Functions

 PauseMirrorTimer ()
 
 PauseMirrorTimer (uint32 timer, bool paused)
 
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
 
bool Paused = true
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ PauseMirrorTimer() [1/2]

WorldPackets::Misc::PauseMirrorTimer::PauseMirrorTimer ( )
inline
@ SMSG_PAUSE_MIRROR_TIMER
Definition: Opcodes.h:504
ServerPacket(OpcodeServer opcode, std::size_t initialSize=200)
Definition: Packet.cpp:25

◆ PauseMirrorTimer() [2/2]

WorldPackets::Misc::PauseMirrorTimer::PauseMirrorTimer ( uint32  timer,
bool  paused 
)
inline
141: ServerPacket(SMSG_PAUSE_MIRROR_TIMER, 5), Timer(timer), Paused(paused) { }
uint32 Timer
Definition: MiscPackets.h:145
bool Paused
Definition: MiscPackets.h:146

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

99{
102
103 return &_worldPacket;
104}
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

◆ Paused

bool WorldPackets::Misc::PauseMirrorTimer::Paused = true

◆ Timer

uint32 WorldPackets::Misc::PauseMirrorTimer::Timer = 0