18#ifndef TRINITY_WAYPOINTDEFINES_H
19#define TRINITY_WAYPOINTDEFINES_H
79 Nodes = std::move(nodes);
84 std::vector<WaypointNode>
Nodes;
std::optional< T > Optional
Optional helper class to wrap optional values within.
static constexpr std::size_t WAYPOINT_PATH_FLAG_FOLLOW_PATH_BACKWARDS_MINIMUM_NODES
DEFINE_ENUM_FLAG(WaypointPathFlags)
@ FollowPathBackwardsFromEndToStart
Optional< Milliseconds > Delay
Optional< float > Orientation
WaypointMoveType MoveType
constexpr WaypointNode(uint32 id, float x, float y, float z, Optional< float > orientation={ }, Optional< Milliseconds > delay={})
std::vector< std::pair< std::size_t, std::size_t > > ContinuousSegments
std::vector< WaypointNode > Nodes
EnumFlag< WaypointPathFlags > Flags
Optional< float > Velocity
WaypointPath(uint32 id, std::vector< WaypointNode > &&nodes, WaypointMoveType moveType=WaypointMoveType::Walk, WaypointPathFlags flags=WaypointPathFlags::None)
WaypointMoveType MoveType