DPB2Class ยท Game state and actions

LokiPoe.LocalData

Contains informations about the actual Area instance. for exemple this contain the informations about the Labyrinth, or the actual area Mods.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.LocalDataView DPB1 version โ†’

Examples

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;

Detect an area change

var currentHash = LokiPoe.LocalData.AreaHash;
if (currentHash != previousAreaHash)
{
    previousAreaHash = currentHash;
    areaTargets.Clear();
}

previousAreaHash and areaTargets are state owned by your plugin. Clear area-specific state when the instance changes.

Members and overloads

1 results
Show all members

MyRotation

PropertyLink โ†—
public static float LokiPoe.LocalData.MyRotation { get; }

A float describing the current ingame character rotation.

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.