public EntityWrapper.EntityWrapper()
Creates a new EntityWrapper instance.
Provides entity wrapper data and the operations listed below. Related types link to the values this API consumes or returns.
Namespace: DreamPoeBot.Loki.Models
public class EntityWrapperUseful members available through base types — open a member to read its exact contract:
Search includes inherited members below. 12 matching inherited members →
public EntityWrapper.EntityWrapper()
Creates a new EntityWrapper instance.
public override bool EntityWrapper.Equals(object obj)
Checks whether this value equals the supplied value.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.objobjectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies obj.
Returns: A Boolean result. The member description explains the condition being checked.
public override int EntityWrapper.GetHashCode()
Returns a hash code for comparing or indexing this value.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Returns: The int result.
public override string EntityWrapper.ToString()
Returns a text representation of this value.
stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Returns: The string result.
public bool EntityWrapper.IsAlive { get; }
Whether this entity wrapper is alive.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.12 public members from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.
public Dictionary<string, long> Entity.BuildComponentIndices { get; }
Declared by Entity
Gets the build component indices collection. Its element types are linked below.
public Dictionary<string, long> Entity.ComponentIndices { get; }
Declared by Entity
Gets the component indices collection. Its element types are linked below.
public T Entity.GetComponent<T>() where T : Component, new()
Declared by Entity
Returns component.
public bool Entity.HasComponent<T>() where T : Component, new()
Declared by Entity
Checks for component.
public int Entity.Id { get; }
Declared by Entity
Reads id on Entity as int. The exact type and accessors are shown below.
public override bool Entity.IsValid { get; }
Declared by Entity
Whether this entity is valid.
public string Entity.Metadata { get; }
Declared by Entity
Reads metadata on Entity as string. The exact type and accessors are shown below.
public string Entity.Name { get; }
Declared by Entity
Reads name on Entity as string. The exact type and accessors are shown below.
public Vector2i Entity.Position { get; }
Declared by Entity
Reads position on Entity as Vector2i. Open the value type below for its members and accepted values.
public Positioned Entity.PositionedComp { get; }
Declared by Entity
Reads positioned comp on Entity as Positioned. Open the value type below for its members and accepted values.
public byte Entity.Reaction { get; }
Declared by Entity
Reads reaction on Entity as byte. The exact type and accessors are shown below.
public string Entity.Type { get; }
Declared by Entity
Reads type on Entity as string. The exact type and accessors are shown below.
DPB1 0.3.29.56 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.