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

66 results

NetworkObject

MethodLink ↗
public NetworkObject.NetworkObject(Entity player)

Creates a new NetworkObject instance using the supplied arguments.

playerEntity
Specifies player.

NetworkObject

MethodLink ↗
public NetworkObject.NetworkObject(EntityWrapper entity)

Creates a new NetworkObject instance using the supplied arguments.

entityEntityWrapper
Specifies entity.

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.

Dump

MethodLink ↗
public string NetworkObject.Dump()

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

Returns: The string result.

Equals

MethodLink ↗
public bool NetworkObject.Equals(NetworkObject other)

Checks whether this value equals the supplied value.

otherNetworkObject
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.

objobject
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.

Returns: The int result.

op_Equality

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

Applies the equality operation to the supplied values.

leftNetworkObject
Specifies left.
rightNetworkObject
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.

objectNetworkObject
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.

leftNetworkObject
Specifies left.
rightNetworkObject
Specifies right.

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

AnimatedProperties

PropertyLink ↗
public NetworkObject NetworkObject.AnimatedProperties { get; }

Gets animated properties for NetworkObject.

AnimatedPropertiesMetadata

PropertyLink ↗
public string NetworkObject.AnimatedPropertiesMetadata { get; }

Gets animated properties metadata for NetworkObject.

ArchnemesisIsTrapped

PropertyLink ↗
public bool NetworkObject.ArchnemesisIsTrapped { get; }

Gets archnemesis is trapped for NetworkObject.

BaseHashChanged

PropertyLink ↗
public bool NetworkObject.BaseHashChanged { get; }

Gets base hash changed for NetworkObject.

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.

Distance

PropertyLink ↗
public float NetworkObject.Distance { get; }

Gets distance for NetworkObject.

DistanceSqr

PropertyLink ↗
public float NetworkObject.DistanceSqr { get; }

Gets distance sqr for NetworkObject.

Entity

PropertyLink ↗
public EntityWrapper NetworkObject.Entity { get; }

Gets entity for NetworkObject.

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.

HasHull

PropertyLink ↗
public bool NetworkObject.HasHull { get; }

Whether hull is present.

HasNpcFloatingIcon

PropertyLink ↗
public bool NetworkObject.HasNpcFloatingIcon { get; }

Whether npc floating icon is present.

Hull

PropertyLink ↗
public Hull NetworkObject.Hull { get; }

Gets hull for NetworkObject.

Id

PropertyLink ↗
public int NetworkObject.Id { get; }

Gets id for NetworkObject.

InteractCenterWorld

PropertyLink ↗
public Vector3 NetworkObject.InteractCenterWorld { get; }

Gets interact center world for NetworkObject.

IsAbyssCrackSpawner

PropertyLink ↗
public bool NetworkObject.IsAbyssCrackSpawner { get; }

Whether this network object is abyss crack spawner.

IsAbyssCraftingDevice

PropertyLink ↗
public bool NetworkObject.IsAbyssCraftingDevice { get; }

Whether this object is the Abyss pinnacle crafting device.

IsAbyssFinalNodeChest

PropertyLink ↗
public bool NetworkObject.IsAbyssFinalNodeChest { get; }

Whether this network object is abyss final node chest.

IsAbyssFinalNodeSubArea

PropertyLink ↗
public bool NetworkObject.IsAbyssFinalNodeSubArea { get; }

Whether this network object is abyss final node sub area.

IsAbyssNodeLarge

PropertyLink ↗
public bool NetworkObject.IsAbyssNodeLarge { get; }

Whether this network object is abyss node large.

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.