public static bool LokiPoe.IsInLoginScreen { get; }
Return a bool indicating if we are in the Login Screen.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.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 LokiPoeClass usage example: Check the client before reading →
public static bool LokiPoe.IsInLoginScreen { get; }
Return a bool indicating if we are in the Login Screen.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public static LocalPlayer LokiPoe.Me { get; }
Return a LocalPlayer object representing the Playing character.
LocalPlayerThe player controlled by the current client. Obtain it through LokiPoe.Me after checking that the client is in game.
public static int LokiPoe.MyId { get; }
Return the Playing character Id.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public static Vector2i LokiPoe.MyPosition { get; }
Return a Vector2i representing the Playing character position.
Vector2iA two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.
public static byte LokiPoe.MyReaction { get; }
Return a byte representing the raw Playing character Reaction value.
byteNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public static Vector2 LokiPoe.MyWorldPosition { get; }
Return a Vector2 representing the Playing character game world position.
Vector2Provides vector2 data and the operations listed below. Related types link to the values this API consumes or returns.
public static Dictionary<string, StatTypeGGG> LokiPoe.StatNameToType { get; }
Return a dictionary containing all the StatTypeGGG contained in the game data file.
Dictionary<string, StatTypeGGG>Stats Type as rapresented in the game ggpk file.
These examples demonstrate the class, not every member listed above. Each example links the declarations it teaches.
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;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.
See how these APIs fit together. Labs include complete source; the FollowBot walkthrough teaches you to build your own bot from selected fragments and checkpoints.
DPB1 0.3.29.56 · 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.