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

Public Member Functions

 SummonScarab (Unit *owner, InstanceScript *instance)
 
bool Execute (uint64, uint32) override
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()
 
virtual ~BasicEvent ()
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 

Protected Attributes

Unit_owner
 
InstanceScript_instance
 

Additional Inherited Members

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

Constructor & Destructor Documentation

SummonScarab::SummonScarab ( Unit owner,
InstanceScript instance 
)
inline
77 : _owner(owner), _instance(instance) { }
InstanceScript * _instance
Definition: boss_earthrager_ptah.cpp:90
Unit * _owner
Definition: boss_earthrager_ptah.cpp:89

Member Function Documentation

bool SummonScarab::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

80  {
82  return true; // delete event
83 
86  return true;
87  }
Definition: halls_of_origination.h:30
InstanceScript * _instance
Definition: boss_earthrager_ptah.cpp:90
Definition: boss_earthrager_ptah.cpp:56
Definition: InstanceScript.h:59
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:3586
Definition: boss_earthrager_ptah.cpp:54
EncounterState GetBossState(uint32 id) const
Definition: InstanceScript.h:227
Unit * _owner
Definition: boss_earthrager_ptah.cpp:89
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

InstanceScript* SummonScarab::_instance
protected
Unit* SummonScarab::_owner
protected

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