DPB2Class · 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: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Use this API

Useful members available through base types — open a member to read its exact contract:

Members and overloads

7 declared here

Search includes inherited members below. 1 matching inherited member →

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

1 public member from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.

public override bool Component.IsValid { get; } Declared by Component

Whether this component is valid.

DPB2 0.4.5.103 · 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.