DPB2Class ยท Game state and actions

LokiPoe.TerrainData

This class let you retrieve information about the Terrain layout in the current area. This is exactly how the game use some specific graphic elements, to draw the area map. This graphic elements are placed in the zone as you enter the area, for the entire zone and are static elements. This mean that you can know where exactly they are (theyr coordinates), without exploring the area. You can use this information to recognize specific spot in a zone, since some special graphic elements, always describe a specific game element, like a stair, a gate, a special door. Please bear in mind that usually there are more than 1 elements of the same kinde placed in a area, and not all of them are placed in walkable space, so you need to iterate all the specific element you want, and check if a path exist to them.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.TerrainDataView DPB1 version โ†’

Members and overloads

1 results
Show all members

UnblockTriggerableBlockages

MethodLink โ†—
public static void LokiPoe.TerrainData.UnblockTriggerableBlockages(ref byte[] data, int bytesPerRow, Func<TriggerableBlockage, bool> shouldUnblock)

This method is mostly used internally and allow us to remove obstacle dynamically placed by the ExilePather class, like closed doors or other NetworkObjects that deny the passage. This is actually used to clear all blocking NetworkObject in some special situation.

databyte[]
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.
bytesPerRowint
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.
shouldUnblockFunc<TriggerableBlockage, bool>
A Function that take a TriggerableBlockage as parameter.

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