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

Members and overloads

6 results

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.

plannerPlacementPlanner
Receives planner.

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

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.

areasIReadOnlyList<ForbiddenArea>
Receives areas.

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

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.

snapshotSnapshot
Receives snapshot.

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

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.

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.

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.

Related types

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.