DPB2Class · Game state and actions

Entity

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

Namespace: DreamPoeBot.Loki

public class EntityView DPB1 version →

Members and overloads

18 results

Entity

MethodLink ↗
public Entity.Entity()

Creates a new Entity instance.

ClearSharedCaches

MethodLink ↗
public static void Entity.ClearSharedCaches()

Clears layouts shared between entities. Call this whenever DreamPoeBot detaches from the game process or attaches to a new PathOfExile process.

GetComponent

MethodLink ↗
public T Entity.GetComponent<T>() where T : Component, new()

Returns component.

Returns: The T result.

GetEffectManager

MethodLink ↗
public long Entity.GetEffectManager(short id)

Returns effect manager using the supplied arguments.

idshort
Specifies id.

Returns: The long result.

HasComponent

MethodLink ↗
public bool Entity.HasComponent<T>() where T : Component, new()

Checks for component.

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

ToString

MethodLink ↗
public override string Entity.ToString()

Returns a text representation of this value.

Returns: The string result.

TryGetComponent

MethodLink ↗
public bool Entity.TryGetComponent<T>(out T component) where T : Component, new()

Attempts to retrieve component using the supplied arguments.

componentT
Receives component.

Returns: True when the request succeeds; read any out parameters only after checking the result.

BuildComponentIndices

PropertyLink ↗
public Dictionary<string, long> Entity.BuildComponentIndices { get; }

Preserves the original public API. Unlike ComponentIndices, this property always builds a new snapshot.

ComponentIndices

PropertyLink ↗
public Dictionary<string, long> Entity.ComponentIndices { get; }

Gets the component indices collection. Its element types are linked below.

Id

PropertyLink ↗
public int Entity.Id { get; }

Gets id for Entity.

IsValid

PropertyLink ↗
public override bool Entity.IsValid { get; }

Whether this entity is valid.

Metadata

PropertyLink ↗
public string Entity.Metadata { get; }

Gets metadata for Entity.

Name

PropertyLink ↗
public string Entity.Name { get; }

Gets name for Entity.

Position

PropertyLink ↗
public Vector2i Entity.Position { get; }

Gets position for Entity.

PositionedComp

PropertyLink ↗
public Positioned Entity.PositionedComp { get; }

Gets positioned comp for Entity.

Reaction

PropertyLink ↗
public byte Entity.Reaction { get; }

Gets reaction for Entity.

Rotation

PropertyLink ↗
public float Entity.Rotation { get; }

Gets rotation for Entity.

Type

PropertyLink ↗
public string Entity.Type { get; }

Gets type for Entity.

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.