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

Public Member Functions

 LichKingMovieEvent (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

◆ LichKingMovieEvent()

LichKingMovieEvent::LichKingMovieEvent ( Creature owner)
inline
585: _owner(owner) { }
Creature & _owner
Definition: boss_the_lich_king.cpp:594

Member Function Documentation

◆ Execute()

bool LichKingMovieEvent::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

588 {
589 _owner.CastSpell((Unit*)nullptr, SPELL_PLAY_MOVIE, false);
590 return true;
591 }
@ SPELL_PLAY_MOVIE
Definition: boss_the_lich_king.cpp:107
Definition: Unit.h:630
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:1167

References _owner, Unit::CastSpell(), and SPELL_PLAY_MOVIE.

Member Data Documentation

◆ _owner

Creature& LichKingMovieEvent::_owner
private

Referenced by Execute().