![]() |
TrinityCore
|
#include <WaypointMovementGenerator.h>
Inheritance diagram for WaypointMovementGenerator< Creature >:Public Member Functions | |
| WaypointMovementGenerator (uint32 pathId=0, bool repeating=true) | |
| WaypointMovementGenerator (WaypointPath &path, bool repeating=true) | |
| ~WaypointMovementGenerator () | |
| MovementGeneratorType | GetMovementGeneratorType () const override |
| void | UnitSpeedChanged () override |
| void | Pause (uint32 timer=0) override |
| void | Resume (uint32 overrideTimer=0) override |
| bool | GetResetPosition (Unit *, float &x, float &y, float &z) override |
| bool | DoInitialize (Creature *) |
| bool | DoReset (Creature *) |
| bool | DoUpdate (Creature *, uint32) |
| void | DoDeactivate (Creature *) |
| void | DoFinalize (Creature *, bool, bool) |
| std::string | GetDebugInfo () const override |
Public Member Functions inherited from MovementGeneratorMedium< Creature, WaypointMovementGenerator< Creature > > | |
| 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 () |
| void | AddFlag (uint16 const flag) |
| bool | HasFlag (uint16 const flag) const |
| void | RemoveFlag (uint16 const flag) |
Public Member Functions inherited from PathMovementBase< Entity, BasePath > | |
| PathMovementBase () | |
| virtual | ~PathMovementBase () |
| uint32 | GetCurrentNode () const |
Private Member Functions | |
| void | MovementInform (Creature *) |
| void | OnArrived (Creature *) |
| void | StartMove (Creature *, bool relaunch=false) |
| bool | ComputeNextNode () |
| bool | UpdateTimer (uint32 diff) |
Private Attributes | |
| TimeTracker | _nextMoveTime |
| uint32 | _pathId |
| bool | _repeating |
| bool | _loadedFromDB |
Additional Inherited Members | |
Public Attributes inherited from MovementGenerator | |
| uint8 | Priority |
| uint16 | Flags |
| uint32 | BaseUnitState |
Protected Attributes inherited from PathMovementBase< Entity, BasePath > | |
| BasePath | _path |
| uint32 | _currentNode |
Definition at line 33 of file WaypointMovementGenerator.h.
|
explicit |
Definition at line 31 of file WaypointMovementGenerator.cpp.
|
explicit |
Definition at line 38 of file WaypointMovementGenerator.cpp.
|
inline |
Definition at line 38 of file WaypointMovementGenerator.h.
|
private |
Definition at line 377 of file WaypointMovementGenerator.cpp.
| void WaypointMovementGenerator< Creature >::DoDeactivate | ( | Creature * | owner | ) |
Definition at line 213 of file WaypointMovementGenerator.cpp.
Here is the call graph for this function:| void WaypointMovementGenerator< Creature >::DoFinalize | ( | Creature * | owner, |
| bool | active, | ||
| bool | |||
| ) |
Definition at line 219 of file WaypointMovementGenerator.cpp.
Here is the call graph for this function:| bool WaypointMovementGenerator< Creature >::DoInitialize | ( | Creature * | owner | ) |
Definition at line 98 of file WaypointMovementGenerator.cpp.
Here is the call graph for this function:| bool WaypointMovementGenerator< Creature >::DoReset | ( | Creature * | owner | ) |
Definition at line 122 of file WaypointMovementGenerator.cpp.
Here is the call graph for this function:| bool WaypointMovementGenerator< Creature >::DoUpdate | ( | Creature * | owner, |
| uint32 | diff | ||
| ) |
Definition at line 133 of file WaypointMovementGenerator.cpp.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from MovementGenerator.
Definition at line 386 of file WaypointMovementGenerator.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements MovementGenerator.
Definition at line 47 of file WaypointMovementGenerator.cpp.
|
overridevirtual |
Reimplemented from MovementGenerator.
Definition at line 83 of file WaypointMovementGenerator.cpp.
|
private |
Definition at line 231 of file WaypointMovementGenerator.cpp.
Here is the call graph for this function:
|
private |
Definition at line 237 of file WaypointMovementGenerator.cpp.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from MovementGenerator.
Definition at line 52 of file WaypointMovementGenerator.cpp.
|
overridevirtual |
Reimplemented from MovementGenerator.
Definition at line 72 of file WaypointMovementGenerator.cpp.
|
private |
If creature is on transport, we assume waypoints set in DB are already transport offsets
Do not use formationDest here, MoveTo requires transport offsets due to DisableTransportPathTransformations() call but formationDest contains global coordinates
Definition at line 270 of file WaypointMovementGenerator.cpp.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from MovementGenerator.
Definition at line 42 of file WaypointMovementGenerator.h.
|
inlineprivate |
Definition at line 60 of file WaypointMovementGenerator.h.
|
private |
Definition at line 74 of file WaypointMovementGenerator.h.
|
private |
Definition at line 71 of file WaypointMovementGenerator.h.
|
private |
Definition at line 72 of file WaypointMovementGenerator.h.
|
private |
Definition at line 73 of file WaypointMovementGenerator.h.