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

Use this API

Class usage example: Read an object's identity and position →

Members and overloads

60 declared here

Legacy Abyss predicates are omitted from this list. Old member permalinks remain available for compatibility, with support and release notes.

ClickUi

MethodLink ↗
public bool NetworkObject.ClickUi()

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

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

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.

Dump

MethodLink ↗
public string NetworkObject.Dump()

Explicit diagnostic read; never enumerates arbitrary getters or follows object graphs.

Return type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: The string result.

Equals

MethodLink ↗
public bool NetworkObject.Equals(NetworkObject other)

Checks whether this value equals the supplied value.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

other
Parameter type: NetworkObject

Specifies other.

Returns: A Boolean result. The member description explains the condition being checked.

Equals

MethodLink ↗
public override bool NetworkObject.Equals(object obj)

Checks whether this value equals the supplied value.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

obj
Parameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies obj.

Returns: A Boolean result. The member description explains the condition being checked.

GetHashCode

MethodLink ↗
public override int NetworkObject.GetHashCode()

Returns a hash code for comparing or indexing this value.

Return type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: The int result.

op_Equality

MethodLink ↗
public static bool NetworkObject.operator ==(NetworkObject left, NetworkObject right)

Applies the equality operation to the supplied values.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

left
Parameter type: NetworkObject

Specifies left.

right
Parameter type: NetworkObject

Specifies right.

Returns: A Boolean result. The member description explains the condition being checked.

op_Implicit

MethodLink ↗
public static NetworkObject.implicit operator EntityWrapper(NetworkObject @object)

Converts this value to the return type shown in the signature.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

object
Parameter type: NetworkObject

Specifies object.

Returns: The EntityWrapper result.

op_Inequality

MethodLink ↗
public static bool NetworkObject.operator !=(NetworkObject left, NetworkObject right)

Applies the inequality operation to the supplied values.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

left
Parameter type: NetworkObject

Specifies left.

right
Parameter type: NetworkObject

Specifies right.

Returns: A Boolean result. The member description explains the condition being checked.

AnimatedPropertiesMetadata

PropertyLink ↗
public string NetworkObject.AnimatedPropertiesMetadata { get; }

Reads animated properties metadata on NetworkObject as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

ArchnemesisIsTrapped

PropertyLink ↗
public bool NetworkObject.ArchnemesisIsTrapped { get; }

Reads archnemesis is trapped on NetworkObject as bool. The exact type and accessors are shown below.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

BaseHashChanged

PropertyLink ↗
public bool NetworkObject.BaseHashChanged { get; }

Reads base hash changed on NetworkObject as bool. The exact type and accessors are shown below.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

CharacterSize

PropertyLink ↗
public int NetworkObject.CharacterSize { get; }

Current object extent in grid cells, or zero if Positioned is absent. Uses Positioned's frame cache; visual scaling does not define this size.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Components

PropertyLink ↗
public EntityComponentInformation NetworkObject.Components { get; }

Reads components on NetworkObject as EntityComponentInformation. Open the value type below for its members and accepted values.

Value type: EntityComponentInformation
Explore EntityComponentInformation → members & methods

Provides entity component information data and the operations listed below. Related types link to the values this API consumes or returns.

Distance

PropertyLink ↗
public float NetworkObject.Distance { get; }

Reads distance on NetworkObject as float. The exact type and accessors are shown below.

Value type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

DistanceSqr

PropertyLink ↗
public float NetworkObject.DistanceSqr { get; }

Reads distance sqr on NetworkObject as float. The exact type and accessors are shown below.

Value type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasFaustusRewardIcon

PropertyLink ↗
public bool NetworkObject.HasFaustusRewardIcon { get; }

True when the animated model has the collect-loot overhead marker (the coin-purse reward icon). Detects the marker itself, not whether it was raised by Currency Exchange or Merchant Tabs. False when the marker is absent or its model data cannot be read consistently.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasHull

PropertyLink ↗
public bool NetworkObject.HasHull { get; }

Whether hull is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasNpcFloatingIcon

PropertyLink ↗
public bool NetworkObject.HasNpcFloatingIcon { get; }

Whether npc floating icon is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Hull

PropertyLink ↗
public Hull NetworkObject.Hull { get; }

Reads hull on NetworkObject as Hull. Open the value type below for its members and accepted values.

Value type: Hull
Explore Hull → members & methods

Provides hull data and the operations listed below. Related types link to the values this API consumes or returns.

Id

PropertyLink ↗
public int NetworkObject.Id { get; }

Reads id on NetworkObject as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsAbyssCraftingDevice

PropertyLink ↗
public bool NetworkObject.IsAbyssCraftingDevice { get; }

Whether this object is the Abyss pinnacle crafting device.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsAbyssNodeLarge

PropertyLink ↗
public bool NetworkObject.IsAbyssNodeLarge { get; }

Identifies a large Abyss node, including AbyssFinalNodeBase in the reworked encounter.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsAflictionInitiator

PropertyLink ↗
public bool NetworkObject.IsAflictionInitiator { get; }

Whether this network object is afliction initiator.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsBarrierKeyHole

PropertyLink ↗
public bool NetworkObject.IsBarrierKeyHole { get; }

Whether this network object is barrier key hole.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsBeyondPortal

PropertyLink ↗
public bool NetworkObject.IsBeyondPortal { get; }

Whether this network object is beyond portal.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Inherited members and contracts

0 public members from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.

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;

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.

Read the label associated with an object

if (!LokiPoe.IsInGame)
    return;

var target = LokiPoe.ObjectManager.GetObjectsByType<NetworkObject>()
    .FirstOrDefault(obj => obj.IsTargetable);
if (target == null)
    return;

var label = target.Ui;
if (label == null || !label.IsVisible)
    return;

var text = label.Text;

DPB2 only. Ui looks up the ground label associated with this object's ID; many objects have no available label. This sample reads it and sends no input. It does not expose a complete object panel. Reacquire the object and label after an area or UI change.

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.