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

Public Member Functions

 CastQuill (Unit *caster, uint32 spellId)
 
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

Unit_caster
 
uint32 _spellId
 

Detailed Description

Constructor & Destructor Documentation

◆ CastQuill()

CastQuill::CastQuill ( Unit caster,
uint32  spellId 
)
inline
460: _caster(caster), _spellId(spellId){ }
uint32 _spellId
Definition: boss_alar.cpp:469
Unit * _caster
Definition: boss_alar.cpp:468

Member Function Documentation

◆ Execute()

bool CastQuill::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

463 {
465 return true;
466 }
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 _caster, _spellId, and Unit::CastSpell().

Member Data Documentation

◆ _caster

Unit* CastQuill::_caster
private

Referenced by Execute().

◆ _spellId

uint32 CastQuill::_spellId
private

Referenced by Execute().