DPB1Class · World, character and items

StateMachine

Provides state machine data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Components

public class StateMachine
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

7 declared here

Search includes inherited members below. 2 matching inherited members →

StateMachine

MethodLink ↗
public StateMachine.StateMachine()

Creates a new StateMachine instance.

Encounter_Finished

PropertyLink ↗
public bool StateMachine.Encounter_Finished { get; }

Reads encounter_finished on StateMachine as bool. The exact type and accessors are shown below.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Encounter_Started

PropertyLink ↗
public bool StateMachine.Encounter_Started { get; }

Reads encounter_started on StateMachine as bool. The exact type and accessors are shown below.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasState

PropertyLink ↗
public bool StateMachine.HasState { get; }

Whether state is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsRitualActive

PropertyLink ↗
public bool StateMachine.IsRitualActive { get; }

Whether this state machine is ritual active.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Stage

PropertyLink ↗
public int StateMachine.Stage { get; }

Reads stage on StateMachine as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

StageStates

PropertyLink ↗
public List<StateMachine.StageState> StateMachine.StageStates { get; }

Gets the stage states collection. Its element types are linked below.

Value type: List<No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Inherited members and contracts

2 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 NetworkObject Component.Owner { get; } Declared by Component

Entity that owns this component, resolved through the validated component layout.

public Entity Component.OwnerEntity { get; } Declared by Component

Lifetime-aware owner when the component was obtained through Entity.GetComponent. Falls back to the validated owner backlink for directly-created component wrappers.

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.