TrinityCore
Loading...
Searching...
No Matches
WorldPackets::Spells::UpdateCooldown Class Referencefinal

#include <SpellPackets.h>

+ Inheritance diagram for WorldPackets::Spells::UpdateCooldown:

Public Member Functions

 UpdateCooldown ()
 
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
 
Packet & operator= (Packet const &right)=delete
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

int32 SpellID = 0
 
float ModChange = 1.0f
 
float ModRate = 1.0f
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 582 of file SpellPackets.h.

Constructor & Destructor Documentation

◆ UpdateCooldown()

WorldPackets::Spells::UpdateCooldown::UpdateCooldown ( )
inlineexplicit

Definition at line 585 of file SpellPackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Spells::UpdateCooldown::Write ( )
overridevirtual

Member Data Documentation

◆ ModChange

float WorldPackets::Spells::UpdateCooldown::ModChange = 1.0f

Definition at line 590 of file SpellPackets.h.

Referenced by SpellHistory::UpdateCooldownRecoveryRate(), and Write().

◆ ModRate

float WorldPackets::Spells::UpdateCooldown::ModRate = 1.0f

Definition at line 591 of file SpellPackets.h.

Referenced by Write().

◆ SpellID

int32 WorldPackets::Spells::UpdateCooldown::SpellID = 0

Definition at line 589 of file SpellPackets.h.

Referenced by SpellHistory::UpdateCooldownRecoveryRate(), and Write().


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