DPB2Class ยท Game state and actions

LokiPoe

Start here to check the client state, access the local player and identify the current area. Read in-game data only after checking IsInGame.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoeView 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;

Check the client before reading

if (!LokiPoe.IsInGame || LokiPoe.Me == null)
    return;

var player = LokiPoe.Me;
var area = LokiPoe.CurrentWorldArea;

Run this guard in the bot workflow before reading character or area data.

Members and overloads

1 results
Show all members

BotWindow

PropertyLink โ†—
public static Window LokiPoe.BotWindow { get; internal set; }

Return a Window object representing this application main window.

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.