AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
OrcDeathEvent Class Reference
Inheritance diagram for OrcDeathEvent:
BasicEvent

Public Member Functions

 OrcDeathEvent (Creature *me)
 
bool Execute (uint64, uint32) override
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()=default
 
virtual ~BasicEvent ()=default
 
virtual bool Execute (uint64, uint32)
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 
void ScheduleAbort ()
 

Private Attributes

Creature_me
 

Detailed Description

Constructor & Destructor Documentation

◆ OrcDeathEvent()

OrcDeathEvent::OrcDeathEvent ( Creature me)
inline
78: _me(me) { }
Creature * _me
Definition: boss_the_beast.cpp:87

Member Function Documentation

◆ Execute()

bool OrcDeathEvent::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

81 {
83 return true;
84 }
@ SPELL_SUICIDE
Definition: boss_the_beast.cpp:32
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1168

References _me, Unit::CastSpell(), and SPELL_SUICIDE.

Member Data Documentation

◆ _me

Creature* OrcDeathEvent::_me
private

Referenced by Execute().