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

Public Member Functions

 MoveDelayed (Creature *owner, float x, float y, float z, float o)
 
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
 
float _x
 
float _y
 
float _z
 
float _o
 

Detailed Description

Constructor & Destructor Documentation

◆ MoveDelayed()

MoveDelayed::MoveDelayed ( Creature owner,
float  x,
float  y,
float  z,
float  o 
)
inline
737 : _owner(owner), _x(x), _y(y), _z(z), _o(o)
738 {
739 }
float _y
Definition: boss_kiljaeden.cpp:752
Creature * _owner
Definition: boss_kiljaeden.cpp:751
float _z
Definition: boss_kiljaeden.cpp:752
float _x
Definition: boss_kiljaeden.cpp:752
float _o
Definition: boss_kiljaeden.cpp:752

Member Function Documentation

◆ Execute()

bool MoveDelayed::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

742 {
744 init.MoveTo(_x, _y, _z, false, true);
745 init.SetFacing(_o);
746 init.Launch();
747 return true;
748 }
Definition: MoveSplineInit.h:71

References _o, _owner, _x, _y, _z, Movement::MoveSplineInit::Launch(), Movement::MoveSplineInit::MoveTo(), and Movement::MoveSplineInit::SetFacing().

Member Data Documentation

◆ _o

float MoveDelayed::_o
private

Referenced by Execute().

◆ _owner

Creature* MoveDelayed::_owner
private

Referenced by Execute().

◆ _x

float MoveDelayed::_x
private

Referenced by Execute().

◆ _y

float MoveDelayed::_y
private

Referenced by Execute().

◆ _z

float MoveDelayed::_z
private

Referenced by Execute().