TrinityCore
WorldPackets::Character::UndeleteCooldownStatusResponse Class Referencefinal

#include <CharacterPackets.h>

+ Inheritance diagram for WorldPackets::Character::UndeleteCooldownStatusResponse:

Public Member Functions

 UndeleteCooldownStatusResponse ()
 
WorldPacket const * Write () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () override 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
 
ConnectionType GetConnection () const
 

Public Attributes

bool OnCooldown = false
 
uint32 MaxCooldown = 0
 Max. cooldown until next free character restoration. Displayed in undelete confirm message. (in sec) More...
 
uint32 CurrentCooldown = 0
 Current cooldown until next free character restoration. (in sec) More...
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 471 of file CharacterPackets.h.

Constructor & Destructor Documentation

◆ UndeleteCooldownStatusResponse()

WorldPackets::Character::UndeleteCooldownStatusResponse::UndeleteCooldownStatusResponse ( )
inline

Definition at line 474 of file CharacterPackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Character::UndeleteCooldownStatusResponse::Write ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 512 of file CharacterPackets.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ CurrentCooldown

uint32 WorldPackets::Character::UndeleteCooldownStatusResponse::CurrentCooldown = 0

Current cooldown until next free character restoration. (in sec)

Definition at line 480 of file CharacterPackets.h.

◆ MaxCooldown

uint32 WorldPackets::Character::UndeleteCooldownStatusResponse::MaxCooldown = 0

Max. cooldown until next free character restoration. Displayed in undelete confirm message. (in sec)

Definition at line 479 of file CharacterPackets.h.

◆ OnCooldown

bool WorldPackets::Character::UndeleteCooldownStatusResponse::OnCooldown = false

Definition at line 478 of file CharacterPackets.h.


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