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

Public Member Functions

 SummonUnleashedDarkMatter (Unit *caster)
 
bool Execute (uint64 execTime, uint32) override
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()
 
virtual ~BasicEvent ()
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 

Private Attributes

Unit_caster
 

Additional Inherited Members

- Public Attributes inherited from BasicEvent
bool to_Abort
 
uint64 m_addTime
 
uint64 m_execTime
 

Constructor & Destructor Documentation

SummonUnleashedDarkMatter::SummonUnleashedDarkMatter ( Unit caster)
inline
280  : _caster(caster)
281  {
282  }
Unit * _caster
Definition: boss_algalon_the_observer.cpp:292

Member Function Documentation

bool SummonUnleashedDarkMatter::Execute ( uint64  execTime,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

285  {
287  _caster->m_Events.AddEvent(this, execTime + 30000);
288  return false;
289  }
EventProcessor m_Events
Definition: Unit.h:1948
Definition: boss_algalon_the_observer.cpp:99
void AddEvent(BasicEvent *Event, uint64 e_time, bool set_addtime=true)
Definition: EventProcessor.cpp:88
arena_t NULL
Definition: jemalloc_internal.h:624
Unit * _caster
Definition: boss_algalon_the_observer.cpp:292
Will ignore most target checks (mostly DBC target checks)
Definition: Unit.h:479
Definition: Unit.h:1305
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:869

+ Here is the call graph for this function:

Member Data Documentation

Unit* SummonUnleashedDarkMatter::_caster
private

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