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

Public Member Functions

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

Private Attributes

Player_owner
 

Detailed Description

Constructor & Destructor Documentation

◆ lapseTeleport()

lapseTeleport::lapseTeleport ( Player owner)
inline
1023 : _owner(owner)
1024 {
1025 }
Player * _owner
Definition boss_kaelthas.cpp:1040

Member Function Documentation

◆ Execute()

bool lapseTeleport::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

1028 {
1031 else if (!_owner->IsBeingTeleported())
1032 {
1035 }
1036 return true;
1037 }
@ SPELL_GRAVITY_LAPSE_KNOCKBACK
Definition boss_kaelthas.cpp:105
@ SPELL_GRAVITY_LAPSE_AURA
Definition boss_kaelthas.cpp:106
void AddEventAtOffset(BasicEvent *event, Milliseconds offset, uint8 eventGroup=0)
Definition EventProcessor.h:108
bool IsBeingTeleportedNear() const
Definition Player.h:2110
bool IsBeingTeleported() const
Definition Player.h:2109
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:1350
EventProcessor m_Events
Definition Object.h:736
Definition boss_kaelthas.cpp:1021

References _owner, EventProcessor::AddEventAtOffset(), Unit::CastSpell(), Player::IsBeingTeleported(), Player::IsBeingTeleportedNear(), WorldObject::m_Events, SPELL_GRAVITY_LAPSE_AURA, and SPELL_GRAVITY_LAPSE_KNOCKBACK.

Member Data Documentation

◆ _owner

Player* lapseTeleport::_owner
private

Referenced by Execute().


The documentation for this class was generated from the following file: