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.6.0
Menu

BehaviorTreeGraphAdapter.cs declarations

Public API declaration excerpts from Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs.

Source snapshot ad0983d00d77.

On this page

Original file: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs

Source file hash: sha256:986dc3d4064ccfde11bbd83b26bf757e61deff0fe868998df966877defed689a

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

Original lines: 63-2076

Declaration hash: sha256:b9ad7d1b2c5b5b71fbbf32b879b7639987e8f6c85090016940baf68192241a5c

C#
public static class BehaviorTreeGraphAdapter
{
}

Method: BuildStatic(BehaviorSourceAst ast, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)

Section titled “Method: BuildStatic(BehaviorSourceAst ast, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)”

Original lines: 238-304

Declaration hash: sha256:9fca260a36893985d323d6e917e7620b7a9cd8cc14da2d422e74b84ff7c0ec16

C#
public static GraphDefinition BuildStatic(BehaviorSourceAst ast, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout);

Method: BuildStaticHostedTree(BehaviorSourceAst ast, string hostedRootId, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)

Section titled “Method: BuildStaticHostedTree(BehaviorSourceAst ast, string hostedRootId, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)”

Original lines: 353-367

Declaration hash: sha256:ea949d77068ab2261f7abaff6bbab9abb6810df136d59e7f06bbd1270f5fbeea

C#
public static GraphDefinition BuildStaticHostedTree(BehaviorSourceAst ast, string hostedRootId, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout);

Method: BuildStaticStateMachine(BehaviorSourceAst ast, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)

Section titled “Method: BuildStaticStateMachine(BehaviorSourceAst ast, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)”

Original lines: 786-851

Declaration hash: sha256:2143475e0501b110fecca44934939aa82dd08450e800f8fa0e60edcb4d59a270

C#
public static GraphDefinition BuildStaticStateMachine(BehaviorSourceAst ast, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout);

Method: TryResolveTransitionEndpoints(BehaviorSourceAst ast, string transitionId, out string sourceStateId, out string targetStateId)

Section titled “Method: TryResolveTransitionEndpoints(BehaviorSourceAst ast, string transitionId, out string sourceStateId, out string targetStateId)”

Original lines: 893-922

Declaration hash: sha256:ed6fe8805aa023ddd5eb507997cb02518896558cd8021306486d3b4316fb94fc

C#
public static bool TryResolveTransitionEndpoints(BehaviorSourceAst ast, string transitionId, out string sourceStateId, out string targetStateId);

Method: FindContainedActionId(BehaviorSourceAst ast, string stateId)

Section titled “Method: FindContainedActionId(BehaviorSourceAst ast, string stateId)”

Original lines: 945-949

Declaration hash: sha256:329861b78acdcc6fdd16b898e33eaea05e67673e92b9d11c2bbd76d3f825d94e

C#
public static string FindContainedActionId(BehaviorSourceAst ast, string stateId);

Method: FindContainedActionIds(BehaviorSourceAst ast, string stateId)

Section titled “Method: FindContainedActionIds(BehaviorSourceAst ast, string stateId)”

Original lines: 952-971

Declaration hash: sha256:938abaf034cbb5256df677514f08c588e7643953cb4bed3ced543249dee9abbf

C#
public static IReadOnlyList<string> FindContainedActionIds(BehaviorSourceAst ast, string stateId);

Method: FindContainedActionIds(BehaviorSourceAst ast, string stateId, string phaseToken)

Section titled “Method: FindContainedActionIds(BehaviorSourceAst ast, string stateId, string phaseToken)”

Original lines: 978-1006

Declaration hash: sha256:5d7a3c1c1d564ddff068c5b2f211188a5e30871db1a079069490c8adfcb01a32

C#
public static IReadOnlyList<string> FindContainedActionIds(BehaviorSourceAst ast, string stateId, string phaseToken);

Method: ResolveActionPhase(BehaviorSourceAst ast, string actionId)

Section titled “Method: ResolveActionPhase(BehaviorSourceAst ast, string actionId)”

Original lines: 1012-1016

Declaration hash: sha256:91bc1ff7dc114d83b0b2740ac7c457e49688852c435c7111a46a50e4c2342ac4

C#
public static string ResolveActionPhase(BehaviorSourceAst ast, string actionId);

Method: IsPhasedActionState(BehaviorSourceAst ast, string stateId)

Section titled “Method: IsPhasedActionState(BehaviorSourceAst ast, string stateId)”

Original lines: 1024-1027

Declaration hash: sha256:10f19a38bae9c73ffd504740c7fe33a5465a3b2b9908ce0ed1a070e6ba486fa1

C#
public static bool IsPhasedActionState(BehaviorSourceAst ast, string stateId);

Method: Build(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex)

Section titled “Method: Build(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex)”

Original lines: 1317-1424

Declaration hash: sha256:89cf68ca95bdc5fd421c6e7e39a277fd6d7ea99b56536a228c8f470fb2132526

C#
public static GraphDefinition Build(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex);

Method: ComputeActivePathNodeIndices(BakedBehaviorArtifact artifact, int bakedIndex)

Section titled “Method: ComputeActivePathNodeIndices(BakedBehaviorArtifact artifact, int bakedIndex)”

Original lines: 1431-1445

Declaration hash: sha256:3d9f3a631fd7aee45749c9d06a53d46fd9edf9cdf0e35b432050d8534b6f3987

C#
public static HashSet<int> ComputeActivePathNodeIndices(BakedBehaviorArtifact artifact, int bakedIndex);

Method: BuildStateMachine(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex)

Section titled “Method: BuildStateMachine(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex)”

Original lines: 1455-1562

Declaration hash: sha256:37e925e94ded1b3ac4fce51c6f59d743d8944691fde33bb2454e0ab26839e12d

C#
public static GraphDefinition BuildStateMachine(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex);

Method: StateMachineTransitionEdgeGuid(BakedBehaviorArtifact artifact, int transitionRow)

Section titled “Method: StateMachineTransitionEdgeGuid(BakedBehaviorArtifact artifact, int transitionRow)”

Original lines: 1569-1576

Declaration hash: sha256:abd5f0b20b16574cdd84109aa93cd686bab0efa6dbbedeca7c0c07e2aa8aeccf

C#
public static Guid StateMachineTransitionEdgeGuid(BakedBehaviorArtifact artifact, int transitionRow);

Method: ResolveVisibleNodeIndex(BakedBehaviorArtifact artifact, int bakedIndex)

Section titled “Method: ResolveVisibleNodeIndex(BakedBehaviorArtifact artifact, int bakedIndex)”

Original lines: 1583-1630

Declaration hash: sha256:11253274547070a8196d513e8830fe4bd0de12a13c3e293bda646c8115d7b506

C#
public static int ResolveVisibleNodeIndex(BakedBehaviorArtifact artifact, int bakedIndex);

Method: DescribeNode(BakedBehaviorArtifact artifact, int bakedIndex)

Section titled “Method: DescribeNode(BakedBehaviorArtifact artifact, int bakedIndex)”

Original lines: 1645-1651

Declaration hash: sha256:dea7c91324149c3aa9a5d45b3a05e2b5032905a786598d65f52fce37430225e0

C#
public static string DescribeNode(BakedBehaviorArtifact artifact, int bakedIndex);

Method: DescribeTransition(BakedBehaviorArtifact artifact, int transitionId, int causeId)

Section titled “Method: DescribeTransition(BakedBehaviorArtifact artifact, int transitionId, int causeId)”

Original lines: 1657-1680

Declaration hash: sha256:6c725a64e35dde7975770fd8e42b163d1728953b6f0aee7d1f6dfce632b1bc27

C#
public static string DescribeTransition(BakedBehaviorArtifact artifact, int transitionId, int causeId);

Method: DecoratorCount(BakedBehaviorArtifact artifact)

Section titled “Method: DecoratorCount(BakedBehaviorArtifact artifact)”

Original lines: 1726

Declaration hash: sha256:292a915dce870c395e8d6ca7ce63f9048d3a57b4a6e1aa295203d01963947331

C#
public static int DecoratorCount(BakedBehaviorArtifact artifact);

Method: NodeCount(BakedBehaviorArtifact artifact)

Section titled “Method: NodeCount(BakedBehaviorArtifact artifact)”

Original lines: 1729-1732

Declaration hash: sha256:29f28778d97cf315d21e62de607da3a0ade1b641d576ed185d150882d9ce81a9

C#
public static int NodeCount(BakedBehaviorArtifact artifact);
Full-size image