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 DPB2 version →public Entity.Entity()
Creates a new Entity instance.
public T Entity.GetComponent<T>() where T : Component, new()
Returns component.
Returns: The T 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.
protected override void Entity.OnPointerChanged()
Executes the on pointer changed operation.
public override string Entity.ToString()
Returns a text representation of this value.
Returns: The string result.
public Dictionary<string, long> Entity.BuildComponentIndices { get; }
Gets the build component indices collection. Its element types are linked below.
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 string Entity.Type { get; }
Gets type for Entity.
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.