#include <FlightPathMovementGenerator.h>
|
| | FlightPathMovementGenerator (Optional< float > speed, Scripting::v2::ActionResultSetter< MovementStopReason > &&scriptResult) |
| |
| MovementGeneratorType | GetMovementGeneratorType () const override |
| |
| bool | GetResetPosition (Unit *owner, float &x, float &y, float &z) override |
| |
| void | DoInitialize (Player *) |
| |
| void | DoReset (Player *) |
| |
| bool | DoUpdate (Player *, uint32) |
| |
| void | DoDeactivate (Player *) |
| |
| void | DoFinalize (Player *, bool, bool) |
| |
| std::vector< TaxiPathNodeEntry const * > const & | GetPath () |
| |
| uint32 | GetPathAtMapEnd () const |
| |
| bool | HasArrived () const |
| |
| uint32 | GetPathId (size_t index) const |
| |
| void | LoadPath (Player *owner, uint32 startNode=0) |
| |
| void | SetCurrentNodeAfterTeleport () |
| |
| void | SkipCurrentNode () |
| |
| void | DoEventIfAny (Player *owner, TaxiPathNodeEntry const *node, bool departure) |
| |
| void | InitEndGridInfo () |
| |
| void | PreloadEndGrid (Player *owner) |
| |
| std::string | GetDebugInfo () const override |
| |
| void | Initialize (Unit *owner) override |
| |
| void | 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 |
| |
| | 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) |
| |
| void | AddFlag (uint16 const flag) |
| |
| bool | HasFlag (uint16 const flag) const |
| |
| void | RemoveFlag (uint16 const flag) |
| |
| | PathMovementBase () |
| |
| | PathMovementBase (PathType &&path) |
| |
| virtual | ~PathMovementBase ()=default |
| |
| uint32 | GetCurrentNode () const |
| |
FlightPathMovementGenerator generates movement of the player for the paths and hence generates ground and activities for the player.
Definition at line 33 of file FlightPathMovementGenerator.h.
◆ FlightPathMovementGenerator()
◆ DoDeactivate()
| void FlightPathMovementGenerator::DoDeactivate |
( |
Player * |
| ) |
|
◆ DoEventIfAny()
◆ DoFinalize()
| void FlightPathMovementGenerator::DoFinalize |
( |
Player * |
owner, |
|
|
bool |
active, |
|
|
bool |
movementInform |
|
) |
| |
◆ DoInitialize()
| void FlightPathMovementGenerator::DoInitialize |
( |
Player * |
owner | ) |
|
◆ DoReset()
| void FlightPathMovementGenerator::DoReset |
( |
Player * |
owner | ) |
|
◆ DoUpdate()
| bool FlightPathMovementGenerator::DoUpdate |
( |
Player * |
owner, |
|
|
uint32 |
|
|
) |
| |
◆ GetDebugInfo()
| std::string FlightPathMovementGenerator::GetDebugInfo |
( |
| ) |
const |
|
overridevirtual |
◆ GetMovementGeneratorType()
◆ GetPath()
| std::vector< TaxiPathNodeEntry const * > const & FlightPathMovementGenerator::GetPath |
( |
| ) |
|
|
inline |
◆ GetPathAtMapEnd()
| uint32 FlightPathMovementGenerator::GetPathAtMapEnd |
( |
| ) |
const |
◆ GetPathId()
| uint32 FlightPathMovementGenerator::GetPathId |
( |
size_t |
index | ) |
const |
◆ GetResetPosition()
| bool FlightPathMovementGenerator::GetResetPosition |
( |
Unit * |
owner, |
|
|
float & |
x, |
|
|
float & |
y, |
|
|
float & |
z |
|
) |
| |
|
overridevirtual |
◆ HasArrived()
| bool FlightPathMovementGenerator::HasArrived |
( |
| ) |
const |
|
inline |
◆ InitEndGridInfo()
| void FlightPathMovementGenerator::InitEndGridInfo |
( |
| ) |
|
Storage to preload flightmaster grid at end of flight. For multi-stop flights, this will be reinitialized for each flightmaster at the end of each spline (or stop) in the flight.
Definition at line 284 of file FlightPathMovementGenerator.cpp.
◆ LoadPath()
| void FlightPathMovementGenerator::LoadPath |
( |
Player * |
owner, |
|
|
uint32 |
startNode = 0 |
|
) |
| |
◆ PreloadEndGrid()
| void FlightPathMovementGenerator::PreloadEndGrid |
( |
Player * |
owner | ) |
|
◆ SetCurrentNodeAfterTeleport()
| void FlightPathMovementGenerator::SetCurrentNodeAfterTeleport |
( |
| ) |
|
◆ SkipCurrentNode()
| void FlightPathMovementGenerator::SkipCurrentNode |
( |
| ) |
|
|
inline |
◆ _endGridX
| float FlightPathMovementGenerator::_endGridX |
|
private |
◆ _endGridY
| float FlightPathMovementGenerator::_endGridY |
|
private |
◆ _endMapId
| uint32 FlightPathMovementGenerator::_endMapId |
|
private |
◆ _pointsForPathSwitch
◆ _preloadTargetNode
| uint32 FlightPathMovementGenerator::_preloadTargetNode |
|
private |
◆ _speed
| Optional<float> FlightPathMovementGenerator::_speed |
|
private |
The documentation for this class was generated from the following files: