AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "EscortMovementGenerator.h"
Public Member Functions | |
EscortMovementGenerator (Movement::PointsArray *_path=nullptr) | |
void | DoInitialize (T *) |
void | DoFinalize (T *) |
void | DoReset (T *) |
bool | DoUpdate (T *, uint32) |
void | unitSpeedChanged () |
MovementGeneratorType | GetMovementGeneratorType () |
uint32 | GetSplineId () const |
Public Member Functions inherited from MovementGeneratorMedium< T, EscortMovementGenerator< T > > | |
void | Initialize (Unit *u) override |
void | Finalize (Unit *u) override |
void | Reset (Unit *u) override |
bool | Update (Unit *u, uint32 time_diff) override |
Public Member Functions inherited from MovementGenerator | |
virtual | ~MovementGenerator () |
virtual void | Initialize (Unit *)=0 |
virtual void | Finalize (Unit *)=0 |
virtual void | Reset (Unit *)=0 |
virtual bool | Update (Unit *, uint32 time_diff)=0 |
virtual MovementGeneratorType | GetMovementGeneratorType ()=0 |
virtual uint32 | GetSplineId () const |
virtual void | unitSpeedChanged () |
virtual void | Pause (uint32) |
virtual void | Resume (uint32) |
virtual bool | GetResetPosition (float &, float &, float &) |
Private Attributes | |
bool | i_recalculateSpeed |
Movement::PointsArray | m_precomputedPath |
uint32 | _splineId |
|
inline |
References EscortMovementGenerator< T >::m_precomputedPath.
template void EscortMovementGenerator< T >::DoFinalize | ( | T * | ) |
References UNIT_STATE_ROAMING, and UNIT_STATE_ROAMING_MOVE.
template void EscortMovementGenerator< T >::DoInitialize | ( | T * | ) |
References Movement::MoveSplineInit::Launch(), Movement::MoveSplineInit::MovebyPath(), Movement::MoveSplineInit::MoveTo(), UNIT_STATE_ROAMING, and UNIT_STATE_ROAMING_MOVE.
template void EscortMovementGenerator< T >::DoReset | ( | T * | ) |
References UNIT_STATE_ROAMING, and UNIT_STATE_ROAMING_MOVE.
template bool EscortMovementGenerator< T >::DoUpdate | ( | T * | , |
uint32 | |||
) |
References Movement::MoveSplineInit::Launch(), Movement::MoveSplineInit::MovebyPath(), Movement::MoveSplineInit::MoveTo(), UNIT_STATE_NOT_MOVE, and UNIT_STATE_ROAMING_MOVE.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
private |
Referenced by EscortMovementGenerator< T >::GetSplineId().
|
private |
Referenced by EscortMovementGenerator< T >::unitSpeedChanged().
|
private |
Referenced by EscortMovementGenerator< T >::EscortMovementGenerator().