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
 
Packetoperator= (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 580 of file SpellPackets.h.

Constructor & Destructor Documentation

◆ UpdateCooldown()

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

Definition at line 583 of file SpellPackets.h.

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 646 of file SpellPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ ModChange

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

Definition at line 588 of file SpellPackets.h.

◆ ModRate

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

Definition at line 589 of file SpellPackets.h.

◆ SpellID

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

Definition at line 587 of file SpellPackets.h.


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