DPB1Class · 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 DPB2 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

37 results

IsInLoginScreen

PropertyLink ↗
public static bool LokiPoe.IsInLoginScreen { get; }

Return a bool indicating if we are in the Login Screen.

Me

PropertyLink ↗
public static LocalPlayer LokiPoe.Me { get; }

Return a LocalPlayer object representing the Playing character.

MyId

PropertyLink ↗
public static int LokiPoe.MyId { get; }

Return the Playing character Id.

MyPosition

PropertyLink ↗
public static Vector2i LokiPoe.MyPosition { get; }

Return a Vector2i representing the Playing character position.

MyReaction

PropertyLink ↗
public static byte LokiPoe.MyReaction { get; }

Return a byte representing the raw Playing character Reaction value.

MyWorldPosition

PropertyLink ↗
public static Vector2 LokiPoe.MyWorldPosition { get; }

Return a Vector2 representing the Playing character game world position.

StatNameToType

PropertyLink ↗
public static Dictionary<string, StatTypeGGG> LokiPoe.StatNameToType { get; }

Return a dictionary containing all the StatTypeGGG contained in the game data file.

Related types

DPB1 0.3.29.47 · 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.