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

1 results
Show all members

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.

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.