DPB2Class · 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: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

1 declared here
Show all members

GetObjectsByMetadatas

MethodLink ↗
public static IEnumerable<NetworkObject> LokiPoe.ObjectManager.GetObjectsByMetadatas(params string[] metadatas)

Retrieve a IEnumerable NetworkObject given a array of string rapresenting metadata

Return type: IEnumerable<NetworkObject>
Explore NetworkObject → members & methods

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

Parameters

metadatas
Parameter type: string[]No current DPB page is linked for this built-in, external, generic or compatibility-only type.

The array string rapresenting metadata to search for

Returns: A IEnumerable NetworkObject found.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

Guides using this class

These guides refer to LokiPoe.ObjectManager as a whole and may use other members. They are not dedicated examples of the selected member.

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.

DPB2 0.4.5.103 · 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.