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

Public Member Functions

 FrostwyrmLandEvent (Creature &owner, Position const &dest)
 
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
 
Position const & _dest
 

Detailed Description

Constructor & Destructor Documentation

◆ FrostwyrmLandEvent()

FrostwyrmLandEvent::FrostwyrmLandEvent ( Creature owner,
Position const &  dest 
)
inline
179: _owner(owner), _dest(dest) { }
Creature & _owner
Definition: boss_sindragosa.cpp:188
Position const & _dest
Definition: boss_sindragosa.cpp:189

Member Function Documentation

◆ Execute()

bool FrostwyrmLandEvent::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

182 {
184 return true;
185 }
@ POINT_FROSTWYRM_LAND
Definition: boss_sindragosa.cpp:158
MotionMaster * GetMotionMaster()
Definition: Unit.h:1620
void MoveLand(uint32 id, Position const &pos, float speed=0.0f)
Use to move the unit from the air to the ground. Doesn't work with UNIT_FLAG_DISABLE_MOVE.
Definition: MotionMaster.cpp:488

References _dest, _owner, Unit::GetMotionMaster(), MotionMaster::MoveLand(), and POINT_FROSTWYRM_LAND.

Member Data Documentation

◆ _dest

Position const& FrostwyrmLandEvent::_dest
private

Referenced by Execute().

◆ _owner

Creature& FrostwyrmLandEvent::_owner
private

Referenced by Execute().