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.

Members and overloads

1 declared here
Show all members

AddBoxObstacle

MethodLink ↗
public static uint ExilePather.AddBoxObstacle(Vector2i min, Vector2i max, string description = null)

Add a box obstacle to tile cache

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

Parameters

min

corner of the box

max

opposing corner of the box

description
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies description. Optional; the default is shown in the signature.

Returns: Reference to obstacle or uint.MaxValue on error

Caller is supposed to call DreamPoeBot.Loki.Bot.Pathfinding.ExilePather.UpdateObstacles to refresh the tilecache after Corners should be opposing pair, i.e. BottomRight + TopLeft or BottomLeft + TopRight, other way also works (i.e. min and max can be swapped).

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

Guides using this class

These guides refer to ExilePather as a whole and may use other members. They are not dedicated examples of the selected member.

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.