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

Original file: Packages/io.bitquirky.behavior/Runtime/Backend/Execution/BehaviorHostedStateMachineRuntime.cs

Source file hash: sha256:0f8f13efb6c9283514484908e3f03f7aaa2593f3dd85a355512e8a6779918d42

Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.

Original lines: 39-622

Declaration hash: sha256:c484be4dafce4e493208d27454208c3d4649bdc36e67d44407d8398501f40a35

C#
public sealed class BehaviorHostedStateMachineRuntime : IDisposable
{
}

Method: Create(BakedBehaviorArtifact hostArtifact, Func<int, BakedBehaviorArtifact> resolveReferencedArtifact, int graphId, Func<int, BakedBehaviorArtifact, NativeArray<byte>, ExternalServiceCompletionRing, BehaviorMemberBindingRuntime> createMemberRuntime, uint? randomSeed)

Section titled “Method: Create(BakedBehaviorArtifact hostArtifact, Func<int, BakedBehaviorArtifact> resolveReferencedArtifact, int graphId, Func<int, BakedBehaviorArtifact, NativeArray<byte>, ExternalServiceCompletionRing, BehaviorMemberBindingRuntime> createMemberRuntime, uint? randomSeed)”

Original lines: 164-196

Declaration hash: sha256:2aa79bc474b9cfd681d8e6f2828964f10e068735f7a19c23fd8fc1011b04574b

C#
public static BehaviorHostedStateMachineRuntime Create(BakedBehaviorArtifact hostArtifact, Func<int, BakedBehaviorArtifact> resolveReferencedArtifact, int graphId = 0, Func<int, BakedBehaviorArtifact, NativeArray<byte>, ExternalServiceCompletionRing, BehaviorMemberBindingRuntime> createMemberRuntime = null, uint? randomSeed = null);

Original lines: 205

Declaration hash: sha256:4fe1e0b411710c8639ba85bc3ccdc9ce5a4863616019fc3975086f4f11aa56a6

C#
public NativeArray<BehaviorRuntimeInstance> InstanceSlot { get; }

Original lines: 208

Declaration hash: sha256:9233115b1ac0d9b40c070b33ce4462c22ed8aa6cbb73aa51da922692c2b5ad6a

C#
public NativeArray<int> OwningNodeIndexSlot { get; }

Original lines: 211

Declaration hash: sha256:e22f7321203891acc11ad5613116d862ca7660e9ada31a186bdbbf2e2a9ea711

C#
public bool HasRows { get; }

Original lines: 214

Declaration hash: sha256:7cff198511808cca8587adf95e88262c9b40fcdfd64937c65c218c7ac00ccde6

C#
public bool IsActive { get; }

Original lines: 217

Declaration hash: sha256:759c485791350e300e3bbb85b78fa3152b9202b7c439d0f24d06cd327d0c425c

C#
public BakedBehaviorArtifact ActiveArtifact { get; }

Original lines: 220

Declaration hash: sha256:efb5ed3d06f8f6878b496072766730b4f304b712060e95823a15332a47ec7b3b

C#
public NativeArray<byte> ActiveBlackboard { get; }

Original lines: 223

Declaration hash: sha256:c030573bf38ac02c702a28afc8b1014a461fed08d80c245c95cc2aacd357457c

C#
public ExternalServiceCommandQueue ActiveCommandQueue { get; }

Original lines: 226

Declaration hash: sha256:4e4f27d52acba4845f7ba4f0c93540e149515a9554ec50267621c31b7389c650

C#
public ExternalServiceCompletionRing ActiveCompletionRing { get; }

Original lines: 234

Declaration hash: sha256:82d6141c982dfeb0b3efe60dd57f15401b8ccf6eabd0f3d4241639b116aa189b

C#
public BehaviorMemberBindingRuntime ActiveMemberRuntime { get; }

Original lines: 243-256

Declaration hash: sha256:ddd2b466dc6f42b0d900e9a12b6cb3ba5006a636e725e9437369f898c37a071a

C#
public void ReleaseActive();

Method: AdvanceBeforeHostTick(EntityId entityId, int frameNumber, float deltaSeconds, in AuthorityContext context)

Section titled “Method: AdvanceBeforeHostTick(EntityId entityId, int frameNumber, float deltaSeconds, in AuthorityContext context)”

Original lines: 263-276

Declaration hash: sha256:33f03f8fa60615d23f306c13b2ed92f215257b8c2b8b64c6c145fc172a68dc6c

C#
public void AdvanceBeforeHostTick(EntityId entityId, int frameNumber, float deltaSeconds, in AuthorityContext context);

Method: ReconcileAfterHostTick(NativeArray<BakedBlackboardSlot> hostBlackboardLayout, NativeArray<byte> hostBlackboard, EntityId entityId, int frameNumber, float deltaSeconds, in AuthorityContext context)

Section titled “Method: ReconcileAfterHostTick(NativeArray<BakedBlackboardSlot> hostBlackboardLayout, NativeArray<byte> hostBlackboard, EntityId entityId, int frameNumber, float deltaSeconds, in AuthorityContext context)”

Original lines: 284-336

Declaration hash: sha256:e3ab125e7aeaff7288be2e8c145f7cd9129c3d85c293f9eccec63fefde73aca8

C#
public void ReconcileAfterHostTick(NativeArray<BakedBlackboardSlot> hostBlackboardLayout, NativeArray<byte> hostBlackboard, EntityId entityId, int frameNumber, float deltaSeconds, in AuthorityContext context);

Original lines: 615-621

Declaration hash: sha256:a91d2628cfe5c53d79add667cfc661cdeed0fac06fb357bfc1b0ac2895cccf2c

C#
public void Dispose();
Full-size image