DPB1Class · Game state and actions

LokiPoe.ObjectManager

Retrieve informations about all the game Objects, Npcs, Monsters, WorldItems, AreaTransitions, but also interactable objects like Blight Towers, Ultimatum monolith, harmfull effects, etc etc. Litterally all the dynamic objects placed in game by the server. Use this wisely, as even if the ObjectManager have a cache that is refreshed every 30ms, calling it that fast, is really cpu intensive, you should code your components in the most efficent way possible.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.ObjectManager
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Use this API

Class usage example: Find a targetable transition →

Members and overloads

51 declared here

HiddenDoors

PropertyLink ↗
public static IEnumerable<TriggerableBlockage> LokiPoe.ObjectManager.HiddenDoors { get; }

Retrieve All objects of type TriggerableBlockage, that has the property HiddenDoor.

Value type: IEnumerable<TriggerableBlockage>
Explore TriggerableBlockage → members & methods

Represents triggerable blockage in the current game state. Obtain the object from its owning API and refresh it after an area change.

InTownPortals

PropertyLink ↗
public static IEnumerable<Portal> LokiPoe.ObjectManager.InTownPortals { get; }

Retrieve all the objects of type Portal, that are targetable and valid.

Value type: IEnumerable<Portal>
Explore Portal → members & methods

Represents portal in the current game state. Obtain the object from its owning API and refresh it after an area change.

LockedDoors

PropertyLink ↗
public static IEnumerable<TriggerableBlockage> LokiPoe.ObjectManager.LockedDoors { get; }

Retrieve All objects of type TriggerableBlockage, that has the property LockedDoor or GoldenDoor or SilverDoor.

Value type: IEnumerable<TriggerableBlockage>
Explore TriggerableBlockage → members & methods

Represents triggerable blockage in the current game state. Obtain the object from its owning API and refresh it after an area change.

MetadataDictionary

PropertyLink ↗
public static Dictionary<string, List<NetworkObject>> LokiPoe.ObjectManager.MetadataDictionary { get; }

Gets the metadata dictionary collection. Its element types are linked below.

Value type: Dictionary<string, List<NetworkObject>>
Explore NetworkObject → members & methods

Common view of an object in the current area, including its identity, position and interaction state.

Objects

PropertyLink ↗
public static List<NetworkObject> LokiPoe.ObjectManager.Objects { get; }

Retrieve a List of all NetworkObject visible by the game. this usually retrieve all Object with a max distance of 210, that is the limit after witch the server stop sending you data.

Value type: List<NetworkObject>
Explore NetworkObject → members & methods

Common view of an object in the current area, including its identity, position and interaction state.

Ossuary_HiddenDoor

PropertyLink ↗
public static TriggerableBlockage LokiPoe.ObjectManager.Ossuary_HiddenDoor { get; }

Retrieve the first TriggerableBlockage that has the Metadata equal to `Metadata/Terrain/Act5/Area6/Objects/Ossuary_HiddenDoor`

Value type: TriggerableBlockage
Explore TriggerableBlockage → members & methods

Represents triggerable blockage in the current game state. Obtain the object from its owning API and refresh it after an area change.

Portals

PropertyLink ↗
public static IEnumerable<Portal> LokiPoe.ObjectManager.Portals { get; }

Retrieve all the Portal in range.

Value type: IEnumerable<Portal>
Explore Portal → members & methods

Represents portal in the current game state. Obtain the object from its owning API and refresh it after an area change.

SleepingObjects

PropertyLink ↗
public static List<NetworkObject> LokiPoe.ObjectManager.SleepingObjects { get; }

Retrieve a List of all NetworkObject Sleeping visible by the game (Sleeping Objects are trees, bush and all the visual object placen in game, Expedition marker too). this usually retrieve all Object with a max distance of 210, that is the limit after witch the server stop sending you data.

Value type: List<NetworkObject>
Explore NetworkObject → members & methods

Common view of an object in the current area, including its identity, position and interaction state.

TrialOfAscendancy

PropertyLink ↗
public static TriggerableBlockage LokiPoe.ObjectManager.TrialOfAscendancy { get; }

Retrieve the first TriggerableBlockage that has the Metadata equal to `Metadata/Terrain/Labyrinth/Objects/LabyrinthIntroDoor`

Value type: TriggerableBlockage
Explore TriggerableBlockage → members & methods

Represents triggerable blockage in the current game state. Obtain the object from its owning API and refresh it after an area change.

UltimatumChallengeInteractables

PropertyLink ↗
public static IEnumerable<UltimatumChallengeInteractable> LokiPoe.ObjectManager.UltimatumChallengeInteractables { get; }

Retrieve All objects of type UltimatumChallengeInteractable.

Value type: IEnumerable<UltimatumChallengeInteractable>
Explore UltimatumChallengeInteractable → members & methods

Represents ultimatum challenge interactable in the current game state. Obtain the object from its owning API and refresh it after an area change.

Class usage examples

These examples demonstrate the class, not every member listed above. Each example links the declarations it teaches.

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;

Find a targetable transition

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

var transition = LokiPoe.ObjectManager
    .GetObjectsByType<AreaTransition>()
    .FirstOrDefault(item => item.IsTargetable);

if (transition == null)
    return;

Run on the bot thread. Requires System.Linq. This selects an object; it does not interact with it.

Guides using this class

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.