![]() |
TrinityCore
|
#include <PointMovementGenerator.h>
Inheritance diagram for PointMovementGenerator< T >:Public Member Functions | |
| PointMovementGenerator (uint32 id, float x, float y, float z, bool generatePath, float speed=0.0f, Optional< float > finalOrient={}) | |
| MovementGeneratorType | GetMovementGeneratorType () const override |
| bool | DoInitialize (T *) |
| bool | DoReset (T *) |
| bool | DoUpdate (T *, uint32) |
| void | DoDeactivate (T *) |
| void | DoFinalize (T *, bool, bool) |
| void | UnitSpeedChanged () override |
| uint32 | GetId () const |
Public Member Functions inherited from MovementGeneratorMedium< T, PointMovementGenerator< T > > | |
| bool | Initialize (Unit *owner) override |
| bool | Reset (Unit *owner) override |
| bool | Update (Unit *owner, uint32 diff) override |
| void | Deactivate (Unit *owner) override |
| void | Finalize (Unit *owner, bool active, bool movementInform) override |
Public Member Functions inherited from MovementGenerator | |
| MovementGenerator () | |
| virtual | ~MovementGenerator () |
| virtual void | Pause (uint32) |
| virtual void | Resume (uint32) |
| virtual bool | GetResetPosition (Unit *, float &, float &, float &) |
| void | AddFlag (uint16 const flag) |
| bool | HasFlag (uint16 const flag) const |
| void | RemoveFlag (uint16 const flag) |
| virtual std::string | GetDebugInfo () const |
Private Member Functions | |
| void | MovementInform (T *) |
Private Attributes | |
| uint32 | _movementId |
| float | _x |
| float | _y |
| float | _z |
| float | _speed |
| bool | _generatePath |
| Optional< float > | _finalOrient |
| if set then unit will turn to specified _orient in provided _pos | |
Additional Inherited Members | |
Public Attributes inherited from MovementGenerator | |
| uint8 | Priority |
| uint16 | Flags |
| uint32 | BaseUnitState |
Definition at line 27 of file PointMovementGenerator.h.
|
explicit |
Definition at line 31 of file PointMovementGenerator.cpp.
| template void PointMovementGenerator< T >::DoDeactivate | ( | T * | ) |
Definition at line 139 of file PointMovementGenerator.cpp.
Here is the call graph for this function:| template void PointMovementGenerator< T >::DoFinalize | ( | T * | , |
| bool | , | ||
| bool | |||
| ) |
Definition at line 146 of file PointMovementGenerator.cpp.
Here is the call graph for this function:| template bool PointMovementGenerator< T >::DoInitialize | ( | T * | ) |
| template bool PointMovementGenerator< T >::DoReset | ( | T * | ) |
| template bool PointMovementGenerator< T >::DoUpdate | ( | T * | , |
| uint32 | |||
| ) |
|
inline |
Definition at line 42 of file PointMovementGenerator.h.
|
overridevirtual |
Implements MovementGenerator.
Definition at line 39 of file PointMovementGenerator.cpp.
|
private |
Definition at line 157 of file PointMovementGenerator.cpp.
|
inlineoverridevirtual |
Reimplemented from MovementGenerator.
Definition at line 40 of file PointMovementGenerator.h.
Here is the call graph for this function:
|
private |
if set then unit will turn to specified _orient in provided _pos
Definition at line 52 of file PointMovementGenerator.h.
|
private |
Definition at line 50 of file PointMovementGenerator.h.
|
private |
Definition at line 47 of file PointMovementGenerator.h.
|
private |
Definition at line 49 of file PointMovementGenerator.h.
|
private |
Definition at line 48 of file PointMovementGenerator.h.
|
private |
Definition at line 48 of file PointMovementGenerator.h.
|
private |
Definition at line 48 of file PointMovementGenerator.h.