TrinityCore
Loading...
Searching...
No Matches
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 () 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
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

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

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 562 of file CharacterPackets.h.

Constructor & Destructor Documentation

◆ UndeleteCooldownStatusResponse()

WorldPackets::Character::UndeleteCooldownStatusResponse::UndeleteCooldownStatusResponse ( )
inlineexplicit

Definition at line 565 of file CharacterPackets.h.

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 671 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 570 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 569 of file CharacterPackets.h.

◆ OnCooldown

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

Definition at line 571 of file CharacterPackets.h.


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