TrinityCore
WaypointPath Struct Reference

#include <WaypointDefines.h>

Public Member Functions

 WaypointPath ()
 
 WaypointPath (uint32 id, std::vector< WaypointNode > &&nodes, WaypointMoveType moveType=WaypointMoveType::Walk, WaypointPathFlags flags=WaypointPathFlags::None)
 

Public Attributes

std::vector< WaypointNodeNodes
 
uint32 Id
 
WaypointMoveType MoveType
 
EnumFlag< WaypointPathFlagsFlags = WaypointPathFlags::None
 

Detailed Description

Definition at line 69 of file WaypointDefines.h.

Constructor & Destructor Documentation

◆ WaypointPath() [1/2]

WaypointPath::WaypointPath ( )
inline

Definition at line 71 of file WaypointDefines.h.

◆ WaypointPath() [2/2]

WaypointPath::WaypointPath ( uint32  id,
std::vector< WaypointNode > &&  nodes,
WaypointMoveType  moveType = WaypointMoveType::Walk,
WaypointPathFlags  flags = WaypointPathFlags::None 
)
inline

Definition at line 72 of file WaypointDefines.h.

73 {
74 Id = id;
75 Nodes = nodes;
76 Flags = flags;
77 MoveType = moveType;
78 }
uint16 flags
Definition: DisableMgr.cpp:49
std::vector< WaypointNode > Nodes

Member Data Documentation

◆ Flags

Definition at line 83 of file WaypointDefines.h.

◆ Id

uint32 WaypointPath::Id

Definition at line 81 of file WaypointDefines.h.

◆ MoveType

WaypointMoveType WaypointPath::MoveType

Definition at line 82 of file WaypointDefines.h.

◆ Nodes

std::vector<WaypointNode> WaypointPath::Nodes

Definition at line 80 of file WaypointDefines.h.


The documentation for this struct was generated from the following file: