DPB2Class ยท World, character and items

NetworkObject

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

Namespace: DreamPoeBot.Loki.Game.Objects

public class NetworkObjectView DPB1 version โ†’

Inherited APIs and contracts

Members declared by a base type are documented on that type. Follow these links to include them in your lookup.

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;

Read an object's identity and position

if (!LokiPoe.IsInGame)
    return;

var target = LokiPoe.ObjectManager.GetObjectsByType<NetworkObject>()
    .FirstOrDefault(obj => obj.IsTargetable);
if (target != null)
{
    var id = target.Id;
    var position = target.Position;
}

Object identifiers belong to the current area instance. Reacquire objects after travel.

Members and overloads

1 results
Show all members

ClickUi

MethodLink โ†—
public bool NetworkObject.ClickUi()

Clicks the centre of this object's main world-label UI once.

Returns: True when a click was sent, not confirmation that the game completed the action. False when hooks are disabled or the object/UI is unavailable, inactive or off-screen.

Use for simple interfaces such as the Abyss Lich buttons. This does not search for child buttons or choose an action in a multi-control panel: use that panel's specific methods instead. Input hooks must already be enabled by the caller. The cursor is left unchanged, allowing interfaces that accept a held item.

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.