DPB2Class · Navigation

ExilePather

Query routes and path distances in the current area. Route calculation and issuing movement commands are separate operations.

Namespace: DreamPoeBot.Loki.Bot.Pathfinding

public static class ExilePather
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Use this API

Class usage example: Measure the route to a transition →

Members and overloads

39 declared here

UpdateObstacles

MethodLink ↗
public static bool ExilePather.UpdateObstacles()

Applies pending blockage terrain edits and temporary obstacles to the global navigation mesh. Call once after batching edits. Terrain changes and ordinary obstacle updates refresh only affected tiles.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: True if the update succeeded and the cache is up to date.

AreaHash

PropertyLink ↗
public static uint ExilePather.AreaHash { get; private set; }

Reads or assigns area hash on ExilePather as uint. The exact type and accessors are shown below.

Value type: uintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

AscendancyDoorRadiusOverride

PropertyLink ↗
public static int ExilePather.AscendancyDoorRadiusOverride { get; set; }

Reads or assigns ascendancy door radius override on ExilePather as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

AutoSavePathfindingData

PropertyLink ↗
public static bool ExilePather.AutoSavePathfindingData { get; set; }

Reads or assigns auto save pathfinding data on ExilePather as bool. The exact type and accessors are shown below.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

LabyrinthLockedDoorRadiusOverride

PropertyLink ↗
public static int ExilePather.LabyrinthLockedDoorRadiusOverride { get; set; }

Reads or assigns labyrinth locked door radius override on ExilePather as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

ShouldBlockChest

PropertyLink ↗
public static bool ExilePather.ShouldBlockChest { get; set; }

Reads or assigns should block chest on ExilePather as bool. The exact type and accessors are shown below.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

ShouldBlockNPC

PropertyLink ↗
public static bool ExilePather.ShouldBlockNPC { get; set; }

Reads or assigns should block npc on ExilePather as bool. The exact type and accessors are shown below.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

TempleLockedDoorRadiusOverride

PropertyLink ↗
public static int ExilePather.TempleLockedDoorRadiusOverride { get; set; }

Reads or assigns temple locked door radius override on ExilePather as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

UseWalkableCheck

PropertyLink ↗
public static bool ExilePather.UseWalkableCheck { get; set; }

Reads or assigns use walkable check on ExilePather as bool. The exact type and accessors are shown below.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Class usage examples

These examples demonstrate the class, not every member listed above. Each example links the declarations it teaches.

Imports used by these examples
using System;
using System.Linq;
using DreamPoeBot.Loki.Game;
using DreamPoeBot.Loki.Game.Objects;
using DreamPoeBot.Loki.Bot;
using DreamPoeBot.Loki.Bot.Pathfinding;
using DreamPoeBot.Loki.Common;

Measure the route to a transition

if (!LokiPoe.IsInGame || LokiPoe.Me == null)
    return;

ExilePather.Reload();
if (!ExilePather.IsReady)
    return;

var target = LokiPoe.ObjectManager.GetObjectsByType<AreaTransition>()
    .FirstOrDefault(obj => obj.IsTargetable);
if (target != null)
{
    var distance = ExilePather.PathDistance(LokiPoe.MyPosition, target.Position);
}

Run on the bot thread and throttle repeated checks. Reload prepares the current area's navigation data. A measurement is not a movement command or an arrival confirmation; recheck the target before acting.

Guides using this class

See how these APIs fit together. Labs include complete source; the FollowBot walkthrough teaches you to build your own bot from selected fragments and checkpoints.

DPB2 0.4.5.103 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.