public readonly Vector2i PathResult.End
The ending point of the pathfinding operation.
The outcome of a route query, not a movement command. Check Success before reading Path; inspect ErrorCode when planning fails.
Namespace: DreamPoeBot.Loki.Bot.Pathfinding.RDWrapper.Types
public struct PathResultpublic readonly Vector2i PathResult.End
The ending point of the pathfinding operation.
public PathfindError PathResult.ErrorCode
The error code indicating the result of the pathfinding operation. If the pathfinding was successful, this will be PathfindError.None. User must check this before using the DreamPoeBot.Loki.Bot.Pathfinding.RDWrapper.Types.PathResult.Path.
public List<Vector2i> PathResult.Path
The path found by the pathfinding algorithm. This is a list of Vector2i points representing the path from Start to End. If the pathfinding was unsuccessful, this may be null or empty.
public readonly Vector2i PathResult.Start
The starting point of the pathfinding operation. Is DreamPoeBot.Common.Vector2i.Zero by default.
public PathResult.PathResult()
Creates a new PathResult instance.
public PathResult.PathResult(List<Vector2i> path, PathfindError errorCode, Vector2i start, Vector2i end)
Creates a new PathResult instance using the supplied arguments.
pathList<Vector2i>errorCodePathfindErrorstartVector2iendVector2ipublic PathResult.PathResult(List<Vector2i> path, int errorCode, Vector2i start, Vector2i end)
Creates a new PathResult instance using the supplied arguments.
pathList<Vector2i>errorCodeintstartVector2iendVector2ipublic bool PathResult.Success { get; }
Indicates whether the pathfinding was successful. Success is defined as having no error and a non-empty path.
DPB2 0.4.5.88 · Reference reviewed 2026-10-03. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.