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

Public Member Functions

 AuraRemoveEvent (Creature *trigger, 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

Creature_trigger
 
uint32 _spellId
 

Detailed Description

Constructor & Destructor Documentation

◆ AuraRemoveEvent()

AuraRemoveEvent::AuraRemoveEvent ( Creature trigger,
uint32  spellId 
)
inline
202 : _trigger(trigger), _spellId(spellId)
203 {
204 }
uint32 _spellId
Definition: boss_valithria_dreamwalker.cpp:214
Creature * _trigger
Definition: boss_valithria_dreamwalker.cpp:213

Member Function Documentation

◆ Execute()

bool AuraRemoveEvent::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

207 {
209 return true;
210 }
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4909

References _spellId, _trigger, and Unit::RemoveAurasDueToSpell().

Member Data Documentation

◆ _spellId

uint32 AuraRemoveEvent::_spellId
private

Referenced by Execute().

◆ _trigger

Creature* AuraRemoveEvent::_trigger
private

Referenced by Execute().