![]() |
TrinityCore
|
#include <SplineChainMovementGenerator.h>
Inheritance diagram for SplineChainMovementGenerator:Public Member Functions | |
| SplineChainMovementGenerator (uint32 id, std::vector< SplineChainLink > const &chain, bool walk=false) | |
| SplineChainMovementGenerator (SplineChainResumeInfo const &info) | |
| void | Initialize (Unit *) override |
| void | Reset (Unit *) override |
| bool | Update (Unit *, uint32) override |
| void | Deactivate (Unit *) override |
| void | Finalize (Unit *, bool, bool) override |
| MovementGeneratorType | GetMovementGeneratorType () const override |
| SplineChainResumeInfo | GetResumeInfo (Unit const *owner) const |
| uint32 | GetId () const |
Public Member Functions inherited from MovementGenerator | |
| MovementGenerator () | |
| MovementGenerator (MovementGenerator const &)=delete | |
| MovementGenerator (MovementGenerator &&)=delete | |
| MovementGenerator & | operator= (MovementGenerator const &)=delete |
| MovementGenerator & | operator= (MovementGenerator &&)=delete |
| virtual | ~MovementGenerator () |
| virtual void | UnitSpeedChanged () |
| 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 |
Static Public Member Functions | |
| static void | GetResumeInfo (SplineChainResumeInfo &info, Unit const *owner, Optional< uint32 > id={}) |
Private Member Functions | |
| void | SendSplineFor (Unit *owner, uint32 index, uint32 &duration) |
| uint32 | SendPathSpline (Unit *owner, float velocity, Movement::PointsArray const &path) const |
Private Attributes | |
| uint32 const | _id |
| std::vector< SplineChainLink > const & | _chain |
| uint8 const | _chainSize |
| bool const | _walk |
| uint8 | _nextIndex |
| uint8 | _nextFirstWP |
| uint32 | _msToNext |
Additional Inherited Members | |
Public Attributes inherited from MovementGenerator | |
| uint8 | Mode |
| uint8 | Priority |
| uint16 | Flags |
| uint32 | BaseUnitState |
| Scripting::v2::ActionResultSetter< MovementStopReason > | ScriptResult |
Protected Member Functions inherited from MovementGenerator | |
| void | SetScriptResult (MovementStopReason reason) |
Definition at line 28 of file SplineChainMovementGenerator.h.
|
explicit |
Definition at line 29 of file SplineChainMovementGenerator.cpp.
|
explicit |
Definition at line 37 of file SplineChainMovementGenerator.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements MovementGenerator.
Definition at line 182 of file SplineChainMovementGenerator.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements MovementGenerator.
Definition at line 188 of file SplineChainMovementGenerator.cpp.
Here is the call graph for this function:
|
inline |
Definition at line 46 of file SplineChainMovementGenerator.h.
Here is the caller graph for this function:
|
overridevirtual |
Implements MovementGenerator.
Definition at line 203 of file SplineChainMovementGenerator.cpp.
|
static |
Definition at line 224 of file SplineChainMovementGenerator.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| SplineChainResumeInfo SplineChainMovementGenerator::GetResumeInfo | ( | Unit const * | owner | ) | const |
Definition at line 208 of file SplineChainMovementGenerator.cpp.
|
overridevirtual |
Implements MovementGenerator.
Definition at line 84 of file SplineChainMovementGenerator.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements MovementGenerator.
Definition at line 138 of file SplineChainMovementGenerator.cpp.
Here is the call graph for this function:
|
private |
Definition at line 49 of file SplineChainMovementGenerator.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 66 of file SplineChainMovementGenerator.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Implements MovementGenerator.
Definition at line 146 of file SplineChainMovementGenerator.cpp.
Here is the call graph for this function:
|
private |
Definition at line 53 of file SplineChainMovementGenerator.h.
|
private |
Definition at line 54 of file SplineChainMovementGenerator.h.
|
private |
Definition at line 52 of file SplineChainMovementGenerator.h.
|
private |
Definition at line 58 of file SplineChainMovementGenerator.h.
|
private |
Definition at line 57 of file SplineChainMovementGenerator.h.
|
private |
Definition at line 56 of file SplineChainMovementGenerator.h.
|
private |
Definition at line 55 of file SplineChainMovementGenerator.h.