DPB2Class · Game state and actions

LokiPoe.InstanceInfo.Expedition

Read-only Expedition encounter and explosive-chain planning data for the current area.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.InstanceInfo.Expedition
Reference: DPB2 0.4.5.103No matching type in the reviewed DPB1 catalog.

Members and overloads

6 declared here

TryCreatePlanner

MethodLink ↗
public static bool LokiPoe.InstanceInfo.Expedition.TryCreatePlanner(out LokiPoe.InstanceInfo.Expedition.PlacementPlanner planner)

Copy the encounter, connection grid, terrain and prohibited areas for repeated offline position checks. Capture once per planning operation, not once per point. False means data is unavailable or changed.

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

Parameters

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

Receives planner.

Returns: True when the request succeeds; read any out parameters only after checking the result.

DPB2 0.4.5.91 adds rate-limited warnings explaining failed reads. Return behavior is unchanged: check the result, do not use a failed observation and reacquire on a later bounded attempt.

TryGetForbiddenAreas

MethodLink ↗
public static bool LokiPoe.InstanceInfo.Expedition.TryGetForbiddenAreas(out IReadOnlyList<LokiPoe.InstanceInfo.Expedition.ForbiddenArea> areas)

Read the rectangles explicitly prohibiting explosive placement in the current area. Call once per planning operation, not for each candidate point.

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

Parameters

areas
Parameter type: IReadOnlyList<ForbiddenArea>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Receives areas.

Returns: True when the request succeeds; read any out parameters only after checking the result.

DPB2 0.4.5.91 adds rate-limited warnings explaining failed reads. Return behavior is unchanged: check the result, do not use a failed observation and reacquire on a later bounded attempt.

TryGetSnapshot

MethodLink ↗
public static bool LokiPoe.InstanceInfo.Expedition.TryGetSnapshot(out LokiPoe.InstanceInfo.Expedition.Snapshot snapshot)

Capture encounter state, the chain grid and the placement distance. False means data is unavailable or changed during the read.

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

Parameters

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

Receives snapshot.

Returns: True when the request succeeds; read any out parameters only after checking the result.

DPB2 0.4.5.91 adds rate-limited warnings explaining failed reads. Return behavior is unchanged: check the result, do not use a failed observation and reacquire on a later bounded attempt.

CurrentEncounter

PropertyLink ↗
public static LokiPoe.InstanceInfo.Expedition.Encounter LokiPoe.InstanceInfo.Expedition.CurrentEncounter { get; }

The encounter nearest to the player by its current chain start, or null when unavailable.

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

Grid

PropertyLink ↗
public static LokiPoe.InstanceInfo.Expedition.PlacementGrid LokiPoe.InstanceInfo.Expedition.Grid { get; }

The game's coarse chain-connection grid, or null when unavailable. This is not the character's walkability grid.

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

MaxPlacementDistance

PropertyLink ↗
public static int? LokiPoe.InstanceInfo.Expedition.MaxPlacementDistance { get; }

Maximum next-chain path length in grid-position units, including the area's modifier; null when unavailable. This is not a straight-line radius.

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

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.