18#ifndef TRINITY_FLIGHTPATHMOVEMENTGENERATOR_H
19#define TRINITY_FLIGHTPATHMOVEMENTGENERATOR_H
47 std::vector<TaxiPathNodeEntry const*>
const&
GetPath() {
return _path; }
uint32 GetPathAtMapEnd() const
float _endGridY
Y coord of last node location.
bool DoUpdate(Player *, uint32)
bool GetResetPosition(Unit *owner, float &x, float &y, float &z) override
uint32 _preloadTargetNode
node index where preloading starts
FlightPathMovementGenerator()
std::string GetDebugInfo() const override
void DoInitialize(Player *)
void DoDeactivate(Player *)
void DoEventIfAny(Player *owner, TaxiPathNodeEntry const *node, bool departure)
std::vector< TaxiPathNodeEntry const * > const & GetPath()
void DoFinalize(Player *, bool, bool)
MovementGeneratorType GetMovementGeneratorType() const override
void SetCurrentNodeAfterTeleport()
void LoadPath(Player *owner, uint32 startNode=0)
void PreloadEndGrid(Player *owner)
float _endGridX
X coord of last node location.
std::deque< TaxiNodeChangeInfo > _pointsForPathSwitch
node indexes and costs where TaxiPath changes
uint32 _endMapId
map Id of last node location
uint32 GetPathId(size_t index) const
std::vector< TaxiPathNodeEntry const * > _path