|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <PointMovementGenerator.h>
Public Member Functions | |
| AssistanceMovementGenerator (float _x, float _y, float _z) | |
| void | Finalize (Unit *) |
| MovementGeneratorType | GetMovementGeneratorType () |
| Public Member Functions inherited from PointMovementGenerator< Creature > | |
| void | DoFinalize (Creature *) |
| void | DoInitialize (Creature *) |
| void | DoReset (Creature *) |
| bool | DoUpdate (Creature *, uint32) |
| void | GetDestination (float &x, float &y, float &z) const |
| MovementGeneratorType | GetMovementGeneratorType () |
| void | MovementInform (Creature *unit) |
| PointMovementGenerator (uint32 _id, float _x, float _y, float _z, bool _generatePath, float _speed=0.0f) | |
| void | unitSpeedChanged () |
| Public Member Functions inherited from MovementGeneratorMedium< Creature, PointMovementGenerator< Creature > > | |
| void | Finalize (Unit *u) |
| void | Initialize (Unit *u) |
| void | Reset (Unit *u) |
| bool | Update (Unit *u, uint32 time_diff) |
| Public Member Functions inherited from MovementGenerator | |
| virtual bool | GetResetPosition (Unit *, float &, float &, float &) |
| virtual | ~MovementGenerator () |
Definition at line 39 of file PointMovementGenerator.h.
|
inline |
Definition at line 42 of file PointMovementGenerator.h.
References PointMovementGenerator< Creature >::PointMovementGenerator().
|
virtual |
Implements MovementGenerator.
Definition at line 109 of file PointMovementGenerator.cpp.
References Creature::CallAssistance(), CONFIG_CREATURE_FAMILY_ASSISTANCE_DELAY, Unit::GetMotionMaster(), Unit::IsAlive(), MotionMaster::MoveSeekAssistanceDistract(), Creature::SetNoCallAssistance(), sWorld, and Object::ToCreature().
|
inlinevirtual |
Implements MovementGenerator.
Definition at line 45 of file PointMovementGenerator.h.
References ASSISTANCE_MOTION_TYPE.