public Entity.Entity()
Creates a new Entity instance.
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 →public Entity.Entity()
Creates a new Entity instance.
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.
public T Entity.GetComponent<T>() where T : Component, new()
Returns component.
Returns: The T result.
public long Entity.GetEffectManager(short id)
Returns effect manager using the supplied arguments.
idshortReturns: The long result.
public bool Entity.HasComponent<T>() where T : Component, new()
Checks for component.
Returns: A Boolean result. The member description explains the condition being checked.
public override string Entity.ToString()
Returns a text representation of this value.
Returns: The string result.
public bool Entity.TryGetComponent<T>(out T component) where T : Component, new()
Attempts to retrieve component using the supplied arguments.
componentTReturns: True when the request succeeds; read any out parameters only after checking the result.
public Dictionary<string, long> Entity.BuildComponentIndices { get; }
Preserves the original public API. Unlike ComponentIndices, this property always builds a new snapshot.
public Dictionary<string, long> Entity.ComponentIndices { get; }
Gets the component indices collection. Its element types are linked below.
public int Entity.Id { get; }
Gets id for Entity.
public override bool Entity.IsValid { get; }
Whether this entity is valid.
public string Entity.Metadata { get; }
Gets metadata for Entity.
public string Entity.Name { get; }
Gets name for Entity.
public Vector2i Entity.Position { get; }
Gets position for Entity.
public Positioned Entity.PositionedComp { get; }
Gets positioned comp for Entity.
public byte Entity.Reaction { get; }
Gets reaction for Entity.
public float Entity.Rotation { get; }
Gets rotation for Entity.
public string Entity.Type { get; }
Gets type for Entity.
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.