public bool Entity.HasComponent<T>() where T : Component, new()
Checks for component.
Returns: A Boolean result. The member description explains the condition being checked.
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 bool Entity.HasComponent<T>() where T : Component, new()
Checks for component.
Returns: A Boolean result. The member description explains the condition being checked.
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.