Calls EditTriggerableBlockages on ExilePather with navData, boundsMin, boundsMax, operation. This overload has no return value.
Return type:voidNo return value.
Parameters
navData
Parameter type:byte[]No current DPB page is linked for this built-in, external, generic or compatibility-only type.
Row-major clearance values 0..5, two cells per byte: even global X in the low nibble, odd X in the high nibble. Stride=(boundsMax.X+1)/2-boundsMin.X/2. Only the first stride*height bytes are used; outside padding and trailing layers are ignored. A separate input is never modified or retained. Aliased input uses pre-edit values.
Saturating Add/Subtract delta, or absolute Replace including zeros.
Requires initialized navigation. The caller owns area selection, data and timing. Opened component NavData may be absolute, not a delta. Add/Subtract accumulate and are not necessarily inverses after saturation. Do not mutate input concurrently. Invalid inputs are rejected before writes or notification. Ground only: no ranged/flying or game terrain changes. No object override is registered: later updates/Reload may replace these values. On refresh failure, edits remain pending: retry UpdateObstacles, NOT the delta operation. Added in public DPB1 0.3.29.54. Requires initialized navigation and caller-owned data for the current area. Changes ground navigation only, not game terrain. Minimum bounds are inclusive, maximum bounds exclusive. Add/Subtract accumulate with saturation; Replace is absolute, including zero. Later navigation updates can replace these edits. If tile refresh fails, retry UpdateObstacles rather than reapplying a delta.
public static void ExilePather.EditTriggerableBlockages(Func<NetworkObject, bool> shouldBlock, List<NetworkObject> obj)
Edit the walk map by adding or removing object navigation data. Applies changed tiles in an initialized area without discarding temporary obstacles; otherwise initializes through Reload.
Public DPB1 0.3.29.54 refreshes changed navigation tiles without discarding temporary obstacles when navigation is already initialized. Otherwise it initializes through Reload. This edits navigation used by path queries, not the game terrain, and does not move the character.
Calls FindPathWithObstacle on ExilePather with command, obstacles, dontLeaveFrame and returns bool. Open the return contract below before using the result.
Return type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static List<Vector2i> ExilePather.GetPointsOnSegment(Vector2i start, Vector2i end, bool dontLeaveFrame)
Calls GetPointsOnSegment on ExilePather with start, end, dontLeaveFrame and returns List<Vector2i>. Open the return contract below before using the result.
Calls PathDistance on ExilePather with start, end, avoidWallHugging, dontLeaveFrame and returns float. Open the return contract below before using the result.
Return type:floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static bool ExilePather.Raycast(Vector2i start, Vector2i end, out Vector2i hitPoint, bool dontLeaveFrame = false, bool shouldUseRangedMap = false)
Project a ray from start to end, if the ray encounter a non walkable location or an obstacle, it return false and out the location of the obstacle as hitpoint. This function do not consider dynamic objects (object collected with Objectmanager, like doors, chests, monsters etc). PLEASE NOTE: this function also Broadcast a message with id "Raycast_Result" and has 4 parms as input: Vector2i start, Vector2i end, bool Returnvalue, Vector2i hitPoint.
Return type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static bool ExilePather.Raycast(Vector2i start, Vector2i end, List<NetworkObject> objectsToConsider, out Vector2i hitPoint, out int objectId, bool dontLeaveFrame = false, bool shouldUseRangedMap = false)
Project a ray from start to end, if the ray encounter a non walkable location or an obstacle, it return false and out the location of the obstacle as hitpoint, and Object Id in case the obstacle is an NetworkObject. This function account for a given list of NetworkObjects to include in the calculation. This function account for the interactsize of the networkobject, so the hitboz is considered.
Return type:boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
public static void ExilePather.SignalObstacleUpdate()
Calls SignalObstacleUpdate on ExilePather without arguments. This overload has no return value.
Return type:voidNo return value.
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.
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.
DPB1 0.3.29.56 · 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.
Terjadi kesalahan. Muat ulang halaman untuk melanjutkan.
Muat ulang🗙