AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WorldPackets::Misc::UITime Class Referencefinal

#include "MiscPackets.h"

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

Public Member Functions

 UITime ()
 
WorldPacket const * Write () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, 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
 
size_t GetSize () const
 

Public Attributes

uint32 Time = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ UITime()

WorldPackets::Misc::UITime::UITime ( )
inline
@ SMSG_WORLD_STATE_UI_TIMER_UPDATE
Definition: Opcodes.h:1301
ServerPacket(OpcodeServer opcode, size_t initialSize=200)
Definition: Packet.cpp:25

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

123{
125
126 return &_worldPacket;
127}
std::uint32_t uint32
Definition: Define.h:108
WorldPacket _worldPacket
Definition: Packet.h:42
uint32 Time
Definition: MiscPackets.h:185

Referenced by WorldSession::HandleWorldStateUITimerUpdate().

Member Data Documentation

◆ Time

uint32 WorldPackets::Misc::UITime::Time = 0