DPB1Class · 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 DPB2 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

62 results

IsAflictionInitiator

PropertyLink ↗
public bool NetworkObject.IsAflictionInitiator { get; }

Whether this network object is afliction initiator.

IsBeyondPortal

PropertyLink ↗
public bool NetworkObject.IsBeyondPortal { get; }

Whether this network object is beyond portal.

IsBlightDefensiveTower

PropertyLink ↗
public bool NetworkObject.IsBlightDefensiveTower { get; }

Whether this network object is blight defensive tower.

IsBreach

PropertyLink ↗
public bool NetworkObject.IsBreach { get; }

Whether this network object is breach.

IsDoor

PropertyLink ↗
public bool NetworkObject.IsDoor { get; }

Whether this network object is door.

IsFriendly

PropertyLink ↗
public bool NetworkObject.IsFriendly { get; }

Whether this network object is friendly.

IsGoldenDoor

PropertyLink ↗
public bool NetworkObject.IsGoldenDoor { get; }

Whether this network object is golden door.

IsHiddenDoor

PropertyLink ↗
public bool NetworkObject.IsHiddenDoor { get; }

Whether this network object is hidden door.

IsHiddenDoorSwitch

PropertyLink ↗
public bool NetworkObject.IsHiddenDoorSwitch { get; }

Whether this network object is hidden door switch.

IsHighlightable

PropertyLink ↗
public bool NetworkObject.IsHighlightable { get; }

Whether this network object is highlightable.

IsHostile

PropertyLink ↗
public bool NetworkObject.IsHostile { get; }

Whether this network object is hostile.

IsIgnoreHidden

PropertyLink ↗
public bool NetworkObject.IsIgnoreHidden { get; }

Whether this network object is ignore hidden.

IsLabyrinthRollerTrap

PropertyLink ↗
public bool NetworkObject.IsLabyrinthRollerTrap { get; }

Whether this network object is labyrinth roller trap.

IsLegionInitiator

PropertyLink ↗
public bool NetworkObject.IsLegionInitiator { get; }

Whether this network object is legion initiator.

IsLockedDoor

PropertyLink ↗
public bool NetworkObject.IsLockedDoor { get; }

Whether this network object is locked door.

IsMaster

PropertyLink ↗
public bool NetworkObject.IsMaster { get; }

Whether this network object is master.

IsMinimapLabelVisible

PropertyLink ↗
public bool NetworkObject.IsMinimapLabelVisible { get; }

Whether this network object is minimap label visible.

IsMysteriousDarkshrine

PropertyLink ↗
public bool NetworkObject.IsMysteriousDarkshrine { get; }

Whether this network object is mysterious darkshrine.

IsNecropolisCorpse

PropertyLink ↗
public bool NetworkObject.IsNecropolisCorpse { get; }

Whether this network object is necropolis corpse.

IsSilverDoor

PropertyLink ↗
public bool NetworkObject.IsSilverDoor { get; }

Whether this network object is silver door.

IsTargetable

PropertyLink ↗
public bool NetworkObject.IsTargetable { get; }

Whether this network object is targetable.

IsUltimatumChallengeInteractable

PropertyLink ↗
public bool NetworkObject.IsUltimatumChallengeInteractable { get; }

Whether this network object is ultimatum challenge interactable.

IsValid

PropertyLink ↗
public bool NetworkObject.IsValid { get; }

Whether this network object is valid.

Metadata

PropertyLink ↗
public string NetworkObject.Metadata { get; }

Gets metadata for NetworkObject.

Name

PropertyLink ↗
public virtual string NetworkObject.Name { get; }

Gets name for NetworkObject.

Position

PropertyLink ↗
public Vector2i NetworkObject.Position { get; }

Gets position for NetworkObject.

Reaction

PropertyLink ↗
public Reaction NetworkObject.Reaction { get; }

Gets reaction for NetworkObject.

Type

PropertyLink ↗
public string NetworkObject.Type { get; }

Gets type for NetworkObject.

WorldDistance

PropertyLink ↗
public float NetworkObject.WorldDistance { get; }

Gets world distance for NetworkObject.

WorldDistanceSqr

PropertyLink ↗
public float NetworkObject.WorldDistanceSqr { get; }

Gets world distance sqr for NetworkObject.

Related types

DPB1 0.3.29.47 · 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.