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
628: _owner(owner), _x(x), _y(y), _z(z), _o(o) { }
float _y
Definition: boss_kiljaeden.cpp:641
Creature * _owner
Definition: boss_kiljaeden.cpp:640
float _z
Definition: boss_kiljaeden.cpp:641
float _x
Definition: boss_kiljaeden.cpp:641
float _o
Definition: boss_kiljaeden.cpp:641

Member Function Documentation

◆ Execute()

bool MoveDelayed::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

631 {
633 init.MoveTo(_x, _y, _z, false, true);
634 init.SetFacing(_o);
635 init.Launch();
636 return true;
637 }
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().