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

#include <MiscPackets.h>

Public Member Functions

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

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

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Misc::StartMirrorTimer::StartMirrorTimer ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1554
WorldPackets::Misc::StartMirrorTimer::StartMirrorTimer ( int32  timer,
int32  value,
int32  maxValue,
int32  scale,
int32  spellID,
bool  paused 
)
inline
439  :
440  ServerPacket(SMSG_START_MIRROR_TIMER, 21), Scale(scale), MaxValue(maxValue), Timer(timer), SpellID(spellID), Value(value), Paused(paused) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
int32 Timer
Definition: MiscPackets.h:446
int32 Value
Definition: MiscPackets.h:448
bool Paused
Definition: MiscPackets.h:449
int32 Scale
Definition: MiscPackets.h:444
int32 SpellID
Definition: MiscPackets.h:447
const FieldDescriptor value
Definition: descriptor.h:1522
Definition: Opcodes.h:1554
int32 MaxValue
Definition: MiscPackets.h:445

Member Function Documentation

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

Implements WorldPackets::Packet.

310 {
318 
319  return &_worldPacket;
320 }
void FlushBits()
Definition: ByteBuffer.h:150
int32 Timer
Definition: MiscPackets.h:446
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
bool Paused
Definition: MiscPackets.h:449
int32 Scale
Definition: MiscPackets.h:444
int32 SpellID
Definition: MiscPackets.h:447
int32_t int32
Definition: g3dmath.h:167
int32 MaxValue
Definition: MiscPackets.h:445

Member Data Documentation

int32 WorldPackets::Misc::StartMirrorTimer::MaxValue = 0
bool WorldPackets::Misc::StartMirrorTimer::Paused = false
int32 WorldPackets::Misc::StartMirrorTimer::Scale = 0
int32 WorldPackets::Misc::StartMirrorTimer::SpellID = 0
int32 WorldPackets::Misc::StartMirrorTimer::Timer = 0
int32 WorldPackets::Misc::StartMirrorTimer::Value = 0

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