TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Misc::PauseMirrorTimer Class Referencefinal

#include <MiscPackets.h>

Public Member Functions

 PauseMirrorTimer ()
 
 PauseMirrorTimer (int32 timer, bool paused)
 
WorldPacket constWrite () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () overridefinal
 
void Clear ()
 
WorldPacket && Move ()
 
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
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

bool Paused = true
 
int32 Timer = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Misc::PauseMirrorTimer::PauseMirrorTimer ( )
inline
Definition: Opcodes.h:1326
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
WorldPackets::Misc::PauseMirrorTimer::PauseMirrorTimer ( int32  timer,
bool  paused 
)
inline
456 : ServerPacket(SMSG_PAUSE_MIRROR_TIMER, 5), Paused(paused), Timer(timer) { }
Definition: Opcodes.h:1326
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
bool Paused
Definition: MiscPackets.h:460
int32 Timer
Definition: MiscPackets.h:461

Member Function Documentation

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

Implements WorldPackets::Packet.

323 {
327 
328  return &_worldPacket;
329 }
void FlushBits()
Definition: ByteBuffer.h:150
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
bool Paused
Definition: MiscPackets.h:460
int32_t int32
Definition: g3dmath.h:167
int32 Timer
Definition: MiscPackets.h:461

Member Data Documentation

bool WorldPackets::Misc::PauseMirrorTimer::Paused = true
int32 WorldPackets::Misc::PauseMirrorTimer::Timer = 0

The documentation for this class was generated from the following files: