◆ ResetEncounterEvent()
ResetEncounterEvent::ResetEncounterEvent |
( |
Unit * |
caster, |
|
|
uint32 |
spellId, |
|
|
ObjectGuid |
otherTransport |
|
) |
| |
|
inline |
ObjectGuid _otherTransport
Definition boss_icecrown_gunship_battle.cpp:537
Unit * _caster
Definition boss_icecrown_gunship_battle.cpp:535
uint32 _spellId
Definition boss_icecrown_gunship_battle.cpp:536
◆ Execute()
Reimplemented from BasicEvent.
520 {
524
526 {
527 transport->ToMotionTransport()->UnloadNonStaticPassengers();
528 transport->AddObjectToRemoveList();
529 }
530
531 return true;
532 }
MotionTransport * ToMotionTransport()
Definition GameObject.h:326
void UnloadNonStaticPassengers()
Definition Transport.cpp:441
Definition Transport.h:30
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:1178
void AddObjectToRemoveList()
Definition Object.cpp:2160
Transport * GetTransport() const
Definition Object.h:597
Transport * GetTransport(WorldObject const &u, ObjectGuid const guid)
Definition ObjectAccessor.cpp:189
References _caster, _otherTransport, _spellId, WorldObject::AddObjectToRemoveList(), Unit::CastSpell(), WorldObject::GetTransport(), ObjectAccessor::GetTransport(), GameObject::ToMotionTransport(), and MotionTransport::UnloadNonStaticPassengers().
◆ _caster
Unit* ResetEncounterEvent::_caster |
|
private |
◆ _otherTransport
◆ _spellId
uint32 ResetEncounterEvent::_spellId |
|
private |
The documentation for this class was generated from the following file: