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

Public Member Functions

 LichKingDeathEvent (Creature &owner)
 
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_owner
 

Detailed Description

Constructor & Destructor Documentation

◆ LichKingDeathEvent()

LichKingDeathEvent::LichKingDeathEvent ( Creature owner)
inline
568: _owner(owner) { }
Creature & _owner
Definition: boss_the_lich_king.cpp:578

Member Function Documentation

◆ Execute()

bool LichKingDeathEvent::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

571 {
574 return true;
575 }
static void Kill(Unit *killer, Unit *victim, bool durabilityLoss=true, WeaponAttackType attackType=BASE_ATTACK, SpellInfo const *spellProto=nullptr, Spell const *spell=nullptr)
Definition: Unit.cpp:17658
void RemoveAllAuras()
Definition: Unit.cpp:5290

References _owner, Unit::Kill(), and Unit::RemoveAllAuras().

Member Data Documentation

◆ _owner

Creature& LichKingDeathEvent::_owner
private

Referenced by Execute().