Skip to content
Bit Quirky Behavior Trees and
State Machines

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or enter a complete API identifier.

Browse the reference instead

Esc closes · Tab reaches results · Enter opens the focused link

v0.11.0
Menu

Assembly: BitQuirky.Behavior.Runtime

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorActionLifecycleRuntimeState

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:254-326

Bounded lifecycle progress for one action state’s Entry, Active Update, and Exit groups.

Responsibilities:

  • Carry the selected lifecycle phase, the three structured group results, the Active Update pass identity, the latched destination, its transition update, and the single remaining Exit evaluation.
  • Stay plain data so GameObject and pure-entity hosts carry identical handoff evidence.

Does NOT:

  • Own per-action progress, baked policy, or native memory.

C#
public static BitQuirky.Behavior.Execution.BehaviorActionLifecycleRuntimeState Inactive { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:309-325

Gets a cleared lifecycle value using the documented inactive sentinels.

C#
public BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus EntryStatus

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:261

Structured Entry group result.

C#
public byte ExitBudgetRemaining

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:294

One while a nonempty Exit still owes its sole evaluation.

C#
public BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus ExitStatus

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:267

Structured Exit group result.

C#
public byte FinishArmed

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:276

One while an On Finish transition may observe a held Once result.

C#
public byte HasLatchedDestination

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:300

One while a destination is latched. Zero-initialized memory therefore reads as no handoff without depending on the -1 sentinels written by explicit clears.

C#
public byte IterationBoundaryPending

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:279

One only until the current pass boundary has had its On Iteration evaluation.

C#
public int LatchedDestinationStateIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:288

Chosen destination state, or -1 outside a handoff.

C#
public BitQuirky.Behavior.Execution.BehaviorResultCode PendingMachineFaultCode

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:285

Exact fault code retained when PendingMachineResult is Faulted.

C#
public BitQuirky.Behavior.Execution.BehaviorMachineResult PendingMachineResult

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:282

Final result waiting for the state’s bounded Exit update.

C#
public BitQuirky.Behavior.Baked.BakedActionPhase Phase

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:258

Lifecycle group the shared scheduler selected for the active state.

C#
public byte Reserved0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:303

Reserved byte kept zero for additive binary evolution.

C#
public byte Reserved1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:306

Reserved byte kept zero for additive binary evolution.

C#
public int TransitionFrame

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:291

Update that latched the destination, or -1 before handoff.

C#
public uint UpdatePass

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:270

One-based Active Update pass identity; zero before the first pass.

C#
public BitQuirky.Behavior.Execution.BehaviorResultCode UpdateResult

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:273

Exact result produced by the most recently completed Active Update pass.

C#
public BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus UpdateStatus

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:264

Structured Active Update group result.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorActionRuntimeState

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:146-169

Persistent progress for one direct action in a baked state action list.

Responsibilities:

  • Retain one action’s result, pending command identity, and activation generation.
  • Allow any number of deferred Parallel actions without consuming fixed legacy slots.

Does NOT:

  • Own the baked action, interpret completion payloads, or allocate memory.

C#
public uint ActivationGeneration

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:168

State activation that issued the request, so a completion belonging to an earlier activation of the same action is discarded.

C#
public byte CancellationIssued

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:154

One once an interrupt command has been posted for the outstanding request, so no second cancellation is emitted.

C#
public int CommandId

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:158

Runtime-issued command id the outstanding request and its completion record are matched on.

C#
public int CompletedFrame

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:164

Host frame stamped by the completion, cancellation, or immediate result; zero while a freshly issued request is still outstanding.

C#
public int CompletedStep

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:166

HostStep that recorded CompletedFrame. A Repeat list restarts only after a later host step, so several FixedUpdate steps in one render frame each restart it.

C#
public int FrameIssued

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:162

Host frame on which the request was posted.

C#
public byte IsPending

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:152

One while the action awaits an external service completion identified by CommandId.

C#
public byte Reserved0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:156

Reserved byte kept zero for additive binary evolution.

C#
public BitQuirky.Behavior.Execution.BehaviorResultCode Result

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:150

Result this action last produced; None before its first evaluation and Running while a request is outstanding.

C#
public int ServiceId

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:160

Stable service-id hash of the service the outstanding request was posted to.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorInterruptionRecord

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:508-559

Latest structured reactive interruption recorded by one runtime instance.

Responsibilities:

  • Preserve interrupted and cause node identity, result, frame, and monotonic sequence.

Does NOT:

  • Invoke a callback, emit a cue, or replace the selected branch result.

C#
public int CauseNodeIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:515

Baked condition node that caused the interruption.

C#
public int FrameNumber

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:521

Selected frame in which the interruption occurred.

C#
public int InterruptedNodeIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:512

Baked node whose Running work was interrupted.

C#
public byte IsValid

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:527

One when this record contains an observed interruption.

C#
public byte Reserved0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:530

Reserved byte kept zero for additive binary evolution.

C#
public byte Reserved1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:533

Reserved byte kept zero for additive binary evolution.

C#
public byte Reserved2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:536

Reserved byte kept zero for additive binary evolution.

C#
public int ResponseNodeIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:543

Baked node index of the nearest response-bearing ancestor task resolved for this interruption (, BT-016), or -1 when none exists. A genuinely new field appended to this pure runtime struct, which is never serialized to disk.

C#
public byte ResponseNodeIndexReasserted

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:558

One whenResponseNodeIndexwas carried forward, unchanged, from the immediately prior interruption because the same guarded branch’s own reactive conditions re-asserted themselves this tick (, findings C1/D1, P2), rather than being freshly resolved for a genuinely new interruption. Zero for every other interruption, including a second freshly resolved interruption of the same response-bearing task after it was re-entered. Consumed only by BehaviorAgent’s InterruptionResponseTriggered dispatch gating; never read byLastInterruptionHasConfiguredResponse, which must keep reporting the preserved response across a reassertion . A genuinely new field appended to this pure runtime struct, which is never serialized to disk.

C#
public BitQuirky.Behavior.Execution.BehaviorResultCode Result

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:518

Observable result recorded for the interrupted node.

C#
public uint Sequence

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:524

Per-agent monotonic interruption sequence.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Execution.BehaviorLiveValueOverlayLayout

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:53-101

The one addressing rule of a running instance’s live-value overlay : one slot per baked node, which a Member condition’s comparison constant and a State’s minimum duration use; then one slot per baked node parameter, which an edit of that single parameter uses; then one slot per baked transition condition, which an edit of its constant uses. A parameter or condition slot holds the edited value’s raw bits: the low word inValueand, for a condition, the high word inValueHigh.

C#
public static BitQuirky.Behavior.Execution.BehaviorLiveValueOverlayRuntimeState Override(long bits, int sourceInstanceId)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:93-100

Builds the overriding row of a parameter or condition slot for these raw bits.

ParameterIndexOf(int nodeCount, int parameterCount, int slot)

Section titled “ParameterIndexOf(int nodeCount, int parameterCount, int slot)”
C#
public static int ParameterIndexOf(int nodeCount, int parameterCount, int slot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:70-71

Gets the baked parameter index an overlay slot edits, or -1 for a node slot or a slot past the parameters.

ParameterSlot(int nodeCount, int parameterIndex)

Section titled “ParameterSlot(int nodeCount, int parameterIndex)”
C#
public static int ParameterSlot(int nodeCount, int parameterIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:63-64

Gets the overlay slot that carries a live edit of one baked node parameter.

ReadBits(in BehaviorLiveValueOverlayRuntimeState row)

Section titled “ReadBits(in BehaviorLiveValueOverlayRuntimeState row)”
C#
public static long ReadBits(in BitQuirky.Behavior.Execution.BehaviorLiveValueOverlayRuntimeState row)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:88-90

Reads the edited raw bits an overriding parameter or condition slot holds.

SlotCount(int nodeCount, int parameterCount, int conditionCount)

Section titled “SlotCount(int nodeCount, int parameterCount, int conditionCount)”
C#
public static int SlotCount(int nodeCount, int parameterCount, int conditionCount)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:59-60

Gets the overlay slot count of an artifact with these node, parameter, and transition condition counts.

TransitionConditionIndexOf(int nodeCount, int parameterCount, int conditionCount, int slot)

Section titled “TransitionConditionIndexOf(int nodeCount, int parameterCount, int conditionCount, int slot)”
C#
public static int TransitionConditionIndexOf(int nodeCount, int parameterCount, int conditionCount, int slot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:80-85

Gets the baked transition condition an overlay slot edits, or -1 for any other slot.

TransitionConditionSlot(int nodeCount, int parameterCount, int conditionIndex)

Section titled “TransitionConditionSlot(int nodeCount, int parameterCount, int conditionIndex)”
C#
public static int TransitionConditionSlot(int nodeCount, int parameterCount, int conditionIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:74-75

Gets the overlay slot that carries a live edit of one transition condition’s constant.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorLiveValueOverlayRuntimeState

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:21-42

Per-instance overlay for one live-edited task authored constant or state duration parameter (, through ), owned on both object models and mirroring the existing artifact-indexed, per-instanceBehaviorActionRuntimeState precedent. One entry per baked node the graph declares as overlay-eligible; never written to the baked artifact or the saved source.

Responsibilities:

  • Record whether this baked node’s own slot carries an accepted live edit and, when it does, the edited Float32 payload and the instance that accepted it.

Does NOT:

  • Decide eligibility, apply, or refuse an edit; a governed request/apply/refuse vocabulary writes here only after it accepts one.

C#
public byte HasOverride

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:24

Non-zero while this slot carries an accepted live edit.

C#
public int SourceInstanceId

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:36

Defensive: the owning instance’s identity, matching the accepting BehaviorRuntimeInstance.

C#
public float Value

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:30

The edited Float32 payload whileHasOverrideis non-zero; for a parameter or transition-condition slot, the low 32 bits of the edited value.

C#
public int ValueHigh

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorLiveValueOverlayRuntimeState.cs:41

The high 32 bits of an edited 64-bit transition-condition constant; zero for every other slot.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Execution.BehaviorMachineResult

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:92-105

Underlying type: byte

Final result of a state machine. A running or deliberately staying machine reports None; faults are never collapsed into an authored Failure result.

C#
Failure = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:101

The machine reached an authored failure terminal.

C#
Faulted = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:104

The machine stopped on a runtime fault, never on an authored Failure outcome.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:95

The machine is still running or deliberately staying; it has no final result yet.

C#
Success = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:98

The machine reached an authored success terminal.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorMemberRequestSlot

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:443-469

The single per-agent request/response channel for one in-flight immediate member operation. Immediate member operations (methods, messages, property and field node reads and writes, and member conditions) resolve within one selected host tick through a bounded microstep rather than the command/completion path used for deferred coroutine and event operations. Behavior Tree leaves retain those commands in pending-external slots; direct lifecycle work retains them in its per-nodeBehaviorActionRuntimeState.

Responsibilities:

  • Carry which member operation and owning node the core requested, and the exact behavior result code the host wrote back after invoking the generated accessor.

Does NOT:

  • Track deferred coroutine or event operations, which use their owning host execution state rather than this immediate channel.

C#
public BitQuirky.Behavior.Execution.BehaviorResultCode CompletionCode

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:462

Exact behavior result the host wrote after servicing an immediate request.

C#
public int NodeIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:450

Owning baked node index of the requested operation; -1 when none.

C#
public int OperationIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:447

Baked member operation row the core requested; -1 when none.

C#
public byte Reserved0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:456

Reserved byte kept zero for additive binary evolution.

C#
public ushort Reserved1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:459

Reserved word kept zero for additive binary evolution.

C#
public byte Reserved2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:465

Reserved byte kept zero for additive binary evolution.

C#
public ushort Reserved3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:468

Reserved word kept zero for additive binary evolution.

C#
public BitQuirky.Behavior.Execution.BehaviorMemberRequestState State

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:453

Channel lifecycle state.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Execution.BehaviorMemberRequestState

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:415-425

Underlying type: byte

Lifecycle state of the single per-agent immediate member request channel.

C#
Completed = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:424

The host serviced the request; the core consumes the exact completion code.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:418

No immediate member operation is outstanding.

C#
Requested = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:421

The shared core requested an immediate member operation the host must service.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Execution.BehaviorNestedMachinePhase

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:562-581

Underlying type: byte

Stable lifecycle phase of a referenced machine activation.

C#
Faulted = 5

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:580

The nested machine stopped on a runtime fault.

C#
Finished = 4

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:577

The nested machine reached its terminal; the reference reports Running until the host leaves it.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:565

No referenced machine is active on this instance.

C#
Parked = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:568

The reference is entered but no candidate was selectable, so nothing nested runs this tick.

C#
Running = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:574

The selected candidate machine is executing.

C#
Selecting = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:571

The reference is choosing which saved candidate to activate; no nested machine runs yet.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorProbabilityRuntimeState

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:382-392

Responsibilities:

  • Retain one Probability Selector activation independently of its nested selectors. Does NOT:
  • Own memory, choose weights, or persist after the selector exits.

C#
public uint ActivationGeneration

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:389

State activation owning this pass; suspended Resume restores the same generation.

C#
public ulong CandidateMask

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:385

Eligible weighted children, addressed by source order.

C#
public byte IsActive

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:391

One while this selector owns an unfinished pass.

C#
public int SelectedChildIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:387

Retained selected child; meaningful while active.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Execution.BehaviorReferencePhase

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:172-191

Underlying type: byte

Persistent lifecycle phase of one baked state-machine reference.

C#
Faulted = 5

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:190

The nested machine stopped on a runtime fault; its fault result is retained for inspection.

C#
Finished = 4

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:187

The nested machine completed and its result is retained for inspection.

C#
Outside = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:175

Execution has left the reference entirely and returned to the containing machine.

C#
Parked = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:178

The reference is entered but no candidate could be selected, so nothing nested is running.

C#
Running = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:181

A selected candidate machine is currently executing inside the reference.

C#
Suspended = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:184

A Push transition suspended the reference; its cursor is retained for the eventual return.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorReferenceRuntimeState

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:204-240

Retained runtime reading for one baked state-machine reference.

Responsibilities:

  • Preserve the selected candidate, nested cursor, terminal result, and host transition boundary after execution leaves the reference.
  • Stay blittable and reference-indexed for allocation-free runtime and Live inspection.

Does NOT:

  • Own baked data, choose candidates, or change state-machine execution.

C#
public static BitQuirky.Behavior.Execution.BehaviorReferenceRuntimeState Outside { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:228-239

Gets the cleared value for a reference execution has not entered, using the -1 and None sentinels the runtime tests against.

C#
public int ActiveMachineIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:210

Composed state-machine table row the selected candidate resolves to, or -1.

C#
public int ActiveStateIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:212

Baked node index of the state the reference was last observed in, or -1.

C#
public int CandidateNodeIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:208

Baked node index of the selected candidate, or -1 while the reference is parked or not entered.

C#
public BitQuirky.Behavior.Execution.BehaviorActionLifecycleRuntimeState HostActionLifecycle

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:225

Owning reference-state lifecycle retained while its child machine runs.

C#
public int HostTransitionIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:220

Interned string index of the host transition that entered or left this reference, reset to -1 once the machine reaches a terminal result.

C#
public int HostTransitionTick

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:222

Host frame paired with HostTransitionIndex, or -1.

C#
public BitQuirky.Behavior.Execution.BehaviorReferencePhase Phase

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:214

Lifecycle phase this reference was left in.

C#
public BitQuirky.Behavior.Execution.BehaviorMachineResult Result

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:216

Terminal result of the referenced machine, or None while it is still running.

C#
public int ResultTick

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:218

Host frame that recorded Result, or -1 before the machine completes.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorRepeatRuntimeState

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:368-374

Persistent progress for one baked Repeat decorator, indexed by its baked node.

Responsibilities:

  • Retain the completed-attempt count independently for each Repeat decorator.
  • Allow nested Repeat decorators to remain active without sharing progress.

Does NOT:

  • Choose a repeat policy, evaluate a child, or retain active progress after the decorator exits.

C#
public int IterationsCompleted

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:371

Completed child attempts in the current structural activation.

C#
public int LastCompletedIterations

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:373

Actual completed attempts at the last terminal exit, retained for Live until reentry or reset.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Execution.BehaviorResultCode

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:47-86

Underlying type: byte

Per-leaf result code propagated through composites and surfaced via follower.behavior-report. Mirror of BehaviorNodeStatuskept on the runtime instance so the trace can replay the most recent terminal status without re-walking the tree.

C#
AuthorityHandoff = 8

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:74

The node’s outstanding external request was cancelled by an authority handoff.

C#
AuthorityMismatch = 7

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:71

The node was refused because the executing role does not satisfy the node’s authority.

C#
Blocked = 5

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:65

The node’s predicate did not hold, so execution does not pass it this tick.

C#
ExecutionLimitExceeded = 11

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:83

The tick exceeded its maximum evaluation-step budget. Counts as a runtime fault, not an authored Failure.

C#
ExternalServiceRefused = 9

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:77

The external service refused the command, or no completion slot could be reserved for it.

C#
Failure = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:59

The node completed unsuccessfully as authored.

C#
Faulted = 12

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:85

A configuration or runtime fault, never an authored Failure outcome.

C#
Interrupted = 4

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:62

The node was cancelled before it settled, most often by a latched transition.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:50

No result has been recorded for this activation yet.

C#
Running = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:53

The node is still working and is resumed on the next tick.

C#
SubgraphError = 10

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:80

A referenced subgraph could not run. Counts as a runtime fault, not an authored Failure.

C#
Success = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:56

The node completed successfully.

C#
Timeout = 6

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:68

A deferred invocation gave up after its time budget elapsed.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorStateSuspensionFrame

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:587-675

One native suspension frame created by Push. The frame preserves the complete scheduler cursor for one activation; action rows are stored in the companion depth-indexed table.

C#
public uint ActionActivationGeneration

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:624

Saved action activation generation, so completions issued before the Push still match on return.

C#
public BitQuirky.Behavior.Execution.BehaviorActionLifecycleRuntimeState ActionLifecycle

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:626

Saved Entry, Active Update, and Exit lifecycle progress of the suspended state.

C#
public int ActiveDecoratorNodeIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:603

Active decorator ancestry owned by this suspended activation. The shared tick core uses this exact prior cursor to retain Resume lifetimes and clear discarded or re-entered activations without scanning the graph.

C#
public int ActiveMachineIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:660

Saved composed-machine row; zero is the host machine.

C#
public int ActiveNestedReferenceNodeIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:654

Saved composed reference node, including hidden nested references, or -1.

C#
public int ActiveProbabilitySelectorIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:608

Saved active weighted selector node index, or -1.

C#
public int ActiveStateMachineCandidateIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:658

Saved selected referenced-machine candidate node index, or -1.

C#
public int ActiveStateMachineReferenceIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:656

Saved referenced-machine table row, or -1.

C#
public int ActiveUtilitySelectorIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:616

Saved active Utility Selector node index, or -1.

C#
public int CompositeChildCursor

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:595

Saved composite child cursor of the suspended activation.

C#
public float CurrentNodeElapsedSeconds

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:606

Saved seconds the suspended cursor had been ticking.

C#
public int CurrentNodeIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:593

Saved active node index, restored verbatim when execution returns to this frame.

C#
public int DecoratorIterationsCompleted

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:597

Saved Repeat decorator iteration count of the suspended activation.

C#
public int HostedCompletedCycleCount

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:630

Saved count of terminal hosted cycles completed in the suspended state.

C#
public byte HostedEventPending

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:644

Saved flag for a hosted result event that still owes its single transition evaluation.

C#
public int HostedLastCycleFrame

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:632

Saved frame of the latest terminal hosted cycle, or -1.

C#
public int HostedLastCycleStep

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:634

Saved host step of the latest terminal hosted cycle, or -1.

C#
public BitQuirky.Behavior.Baked.BakedHostedBehaviorLifetime HostedLifetime

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:640

Saved baked lifetime of the suspended hosted tree.

C#
public BitQuirky.Behavior.Execution.BehaviorResultCode HostedResultCode

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:642

Saved terminal result of the latest hosted cycle, or None.

C#
public int HostedResultEventId

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:638

Saved interned result-event id of the latest hosted cycle, or 0 when that outcome has no configured event.

C#
public int HostedResultTick

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:636

Saved input tick that produced the held hosted result, or -1.

C#
public int HostedStateIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:628

Saved owner of the suspended activation’s hosted behavior tree, or -1.

C#
public int LastProbabilitySelectorIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:610

Saved last weighted selector node index, or -1.

C#
public int LastUtilitySelectorIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:618

Saved last active Utility Selector node index, or -1.

C#
public BitQuirky.Behavior.Execution.BehaviorNestedMachinePhase NestedMachinePhase

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:664

Saved lifecycle phase of the active or last referenced machine.

C#
public BitQuirky.Behavior.Execution.BehaviorMachineResult NestedMachineResult

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:662

Saved final result of the most recently completed nested machine.

C#
public BitQuirky.Behavior.Nodes.State.StateTransitionOnReturn OnReturn

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:668

Authored on-return policy of the Push transition that created this frame, applied when execution returns here.

C#
public BitQuirky.Behavior.Execution.PendingExternalSlot Pending0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:646

Saved pending-external slot 0; the Push clears the live instance’s slots so only this frame owns them.

C#
public BitQuirky.Behavior.Execution.PendingExternalSlot Pending1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:648

Saved pending-external slot 1.

C#
public BitQuirky.Behavior.Execution.PendingExternalSlot Pending2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:650

Saved pending-external slot 2.

C#
public BitQuirky.Behavior.Execution.PendingExternalSlot Pending3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:652

Saved pending-external slot 3.

C#
public ulong ProbabilityCandidateMask

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:614

Saved eligible weighted children, addressed by authored child order.

C#
public byte ReferenceParked

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:666

Saved parked flag for a reference whose candidates were all ineligible.

C#
public ushort Reserved

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:670

Alignment padding kept zero for additive binary evolution.

C#
public int SelectedProbabilityChildIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:612

Saved weighted child selection, carrying the same -1 and -2 sentinels as the live cursor.

C#
public int SelectedUtilityBranchIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:620

Saved running Utility Selector branch row, or -1.

C#
public int StateIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:591

Baked node index of the state this Push suspended.

C#
public int SuspendedActionCount

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:674

Rows this frame owns in the suspended-action pool, one per direct action of the suspended state.

C#
public int SuspendedActionStart

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:672

First row this frame owns in the shared suspended-action pool, forming a (start, count) range with SuspendedActionCount over the BehaviorActionRuntimeState table.

C#
public ulong UtilityCandidateMask

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:622

Saved eligible Utility Selector branches, addressed by authored source order.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Execution.BehaviorTickInvocationKind

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:12-22

Underlying type: byte

Identifies a new host observation or a continuation of the current observation.

C#
Automatic = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:15

Preserves frame/delta inference: a changed frame or positive delta begins a host step.

C#
HostStep = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:18

Begins a new host step, including zero-delta calls in the same frame.

C#
Microstep = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:21

Continues the current host step without advancing its observation or elapsed time.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorTickStepResult

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorTickStepResult.cs:22-32

Result of one tick step over a single agent’s runtime instance. The step emits commands into the External Service Command Queue and updates the runtime instance in place; this struct is returned to the caller for diagnostic / test inspection.

Responsibilities:

Does NOT:

  • Own any native memory or need disposal: it is a POD snapshot.

C#
public BitQuirky.Behavior.Execution.BehaviorResultCode Code

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorTickStepResult.cs:25

Result the step ended on: Running while the graph still has work, a terminal code when the walk finished, and None when nothing was eligible to run.

C#
public int CurrentNodeIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorTickStepResult.cs:27

Active baked-node index after the step, mirroring the instance cursor; -1 when the step left no node scheduled.

C#
public int CurrentStateIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorTickStepResult.cs:29

Baked-node index of the active top-level statechart state after the step, or -1 when no state is active.

C#
public BitQuirky.Behavior.Execution.BehaviorMachineResult MachineResult

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorTickStepResult.cs:31

Explicit final machine result, or None while the machine remains active.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorTimeLimitRuntimeState

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:343-356

Persistent elapsed state for one baked Time Limit decorator, indexed by its baked node.

Responsibilities:

  • Retain the decorator’s own elapsed seconds while its subtree remains active, including across completed sibling children and beneath another Time Limit.
  • Distinguish a newly entered decorator from one whose active subtree is continuing.
  • Remember the last host step that advanced the clock so immediate zero-delta microsteps cannot consume the selected tick twice, while every timed FixedUpdate step in one render frame still adds its delta.

Does NOT:

  • Decide timeout outcomes, sample a clock, or retain elapsed time after the decorator’s subtree is no longer active.

C#
public float ElapsedSeconds

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:346

Elapsed selected-tick seconds since this decorator became active.

C#
public byte HasAdvancedStep

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:355

Whether LastAdvancedStep contains a valid step.

C#
public byte IsActive

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:352

Whether the decorator was on the active subtree path on the prior tick.

C#
public int LastAdvancedStep

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:349

The HostStep that most recently advanced this decorator’s clock.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Execution.BehaviorTraceTier

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:31-38

Underlying type: byte

Trace verbosity tier for a single follower’s runtime instance. Maps to the always-on / high-detail tier split described in data-model.md §Behavior Trace. Defaults to AlwaysOn; the high-detail tier is opt-in by id and stripped from shipping builds.

C#
AlwaysOn = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:34

The default tier, recorded in every build.

C#
HighDetail = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:37

The opt-in per-instance tier, stripped from shipping builds.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.BehaviorTransitionConditionRuntimeState

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:400-410

Responsibilities:

  • Retain a member predicate’s exact result across same-tick invocation microsteps. Does NOT:
  • Invoke gameplay code or reuse a result in a later host step or state activation.

C#
public uint ActivationGeneration

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:405

State activation that owns the observation.

C#
public byte HasResult

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:409

One after the operation completed in this observation.

C#
public int HostStep

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:403

Host step that observed the result.

C#
public BitQuirky.Behavior.Execution.BehaviorResultCode Result

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:407

The operation’s exact result.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.PendingExternalSlot

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:113-134

One outstanding pending-external slot on a runtime instance. The runtime instance owns up toMaxPendingExternals of these so the tick job can resume on completion ring records without managed allocation.

C#
public int CommandId

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:119

Runtime-issued command id this slot resumes on; FindPendingByCommand matches completion records against it.

C#
public int FrameIssued

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:123

Host frame on which the request was posted.

C#
public byte InUse

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:127

One while this slot holds an outstanding request; zero marks it free for TryReservePendingSlot.

C#
public int OwningNodeIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:125

Baked node index that owns the request, or -1 when the issuing caller named no node.

C#
public int PendingId

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:121

Service-side request id reported by the wrapped service, which need not equal CommandId.

C#
public byte Reserved0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:129

Reserved byte kept zero for additive binary evolution.

C#
public byte Reserved1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:131

Reserved byte kept zero for additive binary evolution.

C#
public byte Reserved2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:133

Reserved byte kept zero for additive binary evolution.

C#
public int ServiceId

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:117

Stable service-id hash of the external service the outstanding request was posted to.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Execution.ReactiveConditionRuntimeState

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:480-497

Per-agent state for one artifact-indexed reactive condition.

Responsibilities:

  • Retain the last observed status and whether an observation has occurred.

Does NOT:

  • Own native memory or identify a baked condition independently of its array index.

C#
public byte HasObservation

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:487

One after the observer has produced its first status.

C#
public BitQuirky.Behavior.Nodes.BehaviorNodeStatus LastStatus

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:484

Most recent status returned by this condition observer.

C#
public byte Reserved0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:490

Reserved byte kept zero for additive binary evolution.

C#
public byte Reserved1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:493

Reserved byte kept zero for additive binary evolution.

C#
public byte Reserved2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Execution/BehaviorExecutionState.cs:496

Reserved byte kept zero for additive binary evolution.

Source fingerprint: sha256:29003d8b1658b98a79bebcd93e3b4030caf8511268b96817ab764d63df8d6c3b

Full-size image