TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ChargeDropEvent Class Reference

#include <SpellAuras.h>

Protected Member Functions

 ChargeDropEvent (Aura *base, AuraRemoveMode mode)
 
bool Execute (uint64, uint32) override
 

Private Attributes

Aura_base
 
AuraRemoveMode _mode
 

Friends

class Aura
 

Additional Inherited Members

- Public Member Functions inherited from BasicEvent
 BasicEvent ()
 
virtual ~BasicEvent ()
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 
- Public Attributes inherited from BasicEvent
bool to_Abort
 
uint64 m_addTime
 
uint64 m_execTime
 

Constructor & Destructor Documentation

ChargeDropEvent::ChargeDropEvent ( Aura base,
AuraRemoveMode  mode 
)
inlineprotected
365 : _base(base), _mode(mode) { }
Aura * _base
Definition: SpellAuras.h:369
AuraRemoveMode _mode
Definition: SpellAuras.h:370

Member Function Documentation

bool ChargeDropEvent::Execute ( uint64  ,
uint32   
)
overrideprotectedvirtual

Reimplemented from BasicEvent.

2435 {
2436  // _base is always valid (look in Aura::_Remove())
2438  return true;
2439 }
void ModChargesDelayed(int32 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: SpellAuras.cpp:910
Aura * _base
Definition: SpellAuras.h:369
AuraRemoveMode _mode
Definition: SpellAuras.h:370

+ Here is the call graph for this function:

Friends And Related Function Documentation

friend class Aura
friend

Member Data Documentation

Aura* ChargeDropEvent::_base
private
AuraRemoveMode ChargeDropEvent::_mode
private

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