struct MNMPathRequest { Callback resultCallback; Vec3 startLocation; Vec3 endLocation; Vec3 endDirection; NavigationAgentTypeID agentTypeID; int forceTargetBuildingId; float endTolerance; float endDistance; bool allowDangerousDestination; MNMDangersFlags dangersToAvoidFlags; };
IPathfinder.h
NavigationAgentTypeID agentTypeID;
bool allowDangerousDestination;
MNMDangersFlags dangersToAvoidFlags;
Vec3 endDirection;
float endDistance;
Vec3 endLocation;
float endTolerance;
int forceTargetBuildingId;
Callback resultCallback;
Vec3 startLocation;
MNMPathRequest();
MNMPathRequest(const Vec3& start, const Vec3& end, const Vec3& _endDirection, int _forceTargetBuildingId, float _endTolerance, float _endDistance, bool _allowDangerousDestination, const Callback& callback, const NavigationAgentTypeID& _agentTypeID, const MNMDangersFlags dangersFlags = eMNMDangers_None);
typedef Functor2<const MNMQueuedPathID&, SAIEVENT&> Callback;