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

StateHostedBehaviorTreeModel.cs declarations

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

Source snapshot ad0983d00d77.

On this page

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

Source file hash: sha256:affd596ee777d80f0c3c41c57478265e7a5cc95c3f5d4d85fcfadb121d00c0b9

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

Original lines: 14-24

Declaration hash: sha256:0d920b5fdb1cc0f1690902218e1d29a40267f71929fdc9a71db129ef8c0c6726

C#
public enum StateHostedTreeKind
{
}

Original lines: 17

Declaration hash: sha256:dc937b59892604f5a86ac96936cd7ff09e25f18ae6b758e8014a24c7fa039e91

C#
None

Original lines: 20

Declaration hash: sha256:486866528bf67f6cbb484900e65bf77c422008b6999037f8b5871a7e044dd3e3

C#
ProjectAsset

Original lines: 23

Declaration hash: sha256:a2a61106bc4e00b57cd2bb51dbbf4a8d5a8ac76ced153358bd8aaf468f1e9aca

C#
InDocument

Original lines: 36-82

Declaration hash: sha256:8839d0709843137921a1ff1a14d513bceb8de166e8cdf302cc87fbf1c624d810

C#
public readonly struct StateHostedTreeInfo
{
}

Original lines: 39

Declaration hash: sha256:2cefff9eebf8c18b06f4f69e3bab8af1b380675530e2dd62d6b613abf46cbb21

C#
public readonly StateHostedTreeKind Kind;

Original lines: 42

Declaration hash: sha256:dc5c6ce86167664526b3b112ff71669c8c06b7895e64fbcfd78ec742fed900fe

C#
public readonly string RootNodeId;

Original lines: 45

Declaration hash: sha256:f1b2a99d970fe7be94f13ef2f5e31d268c59d9c59cec8605202f8fe259df2921

C#
public readonly BehaviorSourceNodeKind RootKind;

Original lines: 48

Declaration hash: sha256:ae55cedf1fd7e2ad1e7a7ef83e50301b5baa0118fe268327d00221e33fb9b1be

C#
public readonly string AssetAddress;

Original lines: 51

Declaration hash: sha256:7c085ae0c385255e47c36eaa7b81aa7f41184af184dc905bcc34592b16747e36

C#
public readonly string AssetPath;

Original lines: 54

Declaration hash: sha256:923fa1eebb5b67bda577356422782419be6ff9f4e9bd3a2a348c100c2b5004f8

C#
public readonly string DisplayName;

Original lines: 57

Declaration hash: sha256:bf1b2c82a1cc57f9d26335b70f46f00f7aa91e17617a5f4425b5bcf12751bacd

C#
public readonly string FolderPath;

Original lines: 60

Declaration hash: sha256:c4e4099a03c79f2406964ea7152a0205913f2cf3b0ac467571d4626dbc8c53b1

C#
public readonly bool AssetResolves;

Method: StateHostedTreeInfo(StateHostedTreeKind kind, string rootNodeId, BehaviorSourceNodeKind rootKind, string assetAddress, string assetPath, string displayName, string folderPath, bool assetResolves)

Section titled “Method: StateHostedTreeInfo(StateHostedTreeKind kind, string rootNodeId, BehaviorSourceNodeKind rootKind, string assetAddress, string assetPath, string displayName, string folderPath, bool assetResolves)”

Original lines: 63-81

Declaration hash: sha256:1720c07a6a48f6aac617cd2adb1c9dccf664f3640192951ac0414b683daa570b

C#
public StateHostedTreeInfo(StateHostedTreeKind kind, string rootNodeId, BehaviorSourceNodeKind rootKind, string assetAddress, string assetPath, string displayName, string folderPath, bool assetResolves);

Original lines: 99-569

Declaration hash: sha256:29a336728218825df7af9bedc41b5af147937880b640f135a0d7f9eca180feaa

C#
public static class StateHostedBehaviorTreeModel
{
}

Original lines: 104-105

Declaration hash: sha256:8cfc4677863f9cdb50f9b3987dcb1f1272c891f90f94843fbe116c7a9c42f363

C#
public const string ActiveUpdateSourceKey = BehaviorSourceStateParameterTokens.ActiveUpdateSource;

Original lines: 108-109

Declaration hash: sha256:cddea037ba74c105b613e4ee8658f623764c7c350ff7ba508d10b599db560413

C#
public const string ActionsUpdateSourceValue = BehaviorSourceStateParameterTokens.ActionsUpdateSource;

Original lines: 112-113

Declaration hash: sha256:c8341a5b9804d6f03ce1b265c34bac721a3e7ed42503de25f7a8f0b4f8cc415a

C#
public const string BehaviorTreeUpdateSourceValue = BehaviorSourceStateParameterTokens.BehaviorTreeUpdateSource;

Original lines: 116

Declaration hash: sha256:49a1e1161bb6179a068fc2a39985342000eb8894dafa69b752a58c445b4600be

C#
public const string HostLifetimeKey = BehaviorSourceStateParameterTokens.HostLifetime;

Original lines: 119-120

Declaration hash: sha256:bb32a169eaee016d692e7c635868aadae858da082ebcfd8494271905bb3c4825

C#
public const string HostSuccessEventKey = BehaviorSourceStateParameterTokens.HostSuccessEvent;

Original lines: 123-124

Declaration hash: sha256:d64bdab2bc5346751cc2643192746ef09d85eef919333744a667bc1ee424a37f

C#
public const string HostFailureEventKey = BehaviorSourceStateParameterTokens.HostFailureEvent;

Original lines: 127

Declaration hash: sha256:d570a178734be84bdae8320863688685ff2404ea7ef49df302bbe8977b72c77d

C#
public const string OnceLifetimeValue = "once";

Original lines: 130

Declaration hash: sha256:a9b64601f8c8c8eb93020e34d50b181953023fd66600abda0f0510a086f58480

C#
public const string RepeatLifetimeValue = "repeat";

Original lines: 138-139

Declaration hash: sha256:39ae9d0a1ee510750c076211df99e436c8684550fa06d3071311bfd1f6842a30

C#
public const BehaviorSourceNodeKind DefaultInDocumentRootKind = BehaviorSourceNodeKind.Sequence;

Method: InDocumentTreeDisplayName(string stateDisplayName)

Section titled “Method: InDocumentTreeDisplayName(string stateDisplayName)”

Original lines: 142-146

Declaration hash: sha256:1b56ce1d5bb6adfe34520b13e8edb6f37687862b26f68cf37c91f88c41166023

C#
public static string InDocumentTreeDisplayName(string stateDisplayName);

Method: IsInDocumentHostedRoot(BehaviorSourceAst ast, string stateId, string rootNodeId)

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

Original lines: 153-165

Declaration hash: sha256:82fa60028a9b27bd18a2046f8e5750a3d2bc981a199a366372027ff9d1ab8791

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

Method: CanRootStateTree(BehaviorSourceNodeKind kind)

Section titled “Method: CanRootStateTree(BehaviorSourceNodeKind kind)”

Original lines: 170-188

Declaration hash: sha256:d35977a652dae33398ed6ea5dc3092357765498cc5418b596bea7c9eb7f910d4

C#
public static bool CanRootStateTree(BehaviorSourceNodeKind kind);

Method: FindContainmentChildIds(BehaviorSourceAst ast, string stateId)

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

Original lines: 195-219

Declaration hash: sha256:8054ce06ba2bf1b346fe047325d85b3ef71212a8909385016fc5c1f8c2b1891c

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

Method: TryFindHostedRootId(BehaviorSourceAst ast, string stateId, out string rootNodeId)

Section titled “Method: TryFindHostedRootId(BehaviorSourceAst ast, string stateId, out string rootNodeId)”

Original lines: 226-254

Declaration hash: sha256:e5b17ebe1c7e54fa424a4ee206f083d0c5942b976e393432459014cc1c5b2d8c

C#
public static bool TryFindHostedRootId(BehaviorSourceAst ast, string stateId, out string rootNodeId);

Method: UsesBehaviorTreeSource(BehaviorSourceAst ast, string stateId)

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

Original lines: 260-276

Declaration hash: sha256:0ca95c8be418a740f83b343e0b8eb8682dfb78ebb5c533d51ca04b0c40577356

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

Method: IsUpdateAction(BehaviorSourceNode action)

Section titled “Method: IsUpdateAction(BehaviorSourceNode action)”

Original lines: 282-291

Declaration hash: sha256:77ad29e89a8c1ee1fc1f037159b9929ef04dd04e70d8609626389a744e6dc692

C#
public static bool IsUpdateAction(BehaviorSourceNode action);

Method: ReadHostedTree(BehaviorSourceAst ast, string stateId, Func<string, bool> assetAddressResolves)

Section titled “Method: ReadHostedTree(BehaviorSourceAst ast, string stateId, Func<string, bool> assetAddressResolves)”

Original lines: 298-309

Declaration hash: sha256:27a7aca8ed645c5c90038c0475cd1be6d56869e08119d55356f8f99b8ed9a35e

C#
public static StateHostedTreeInfo ReadHostedTree(BehaviorSourceAst ast, string stateId, Func<string, bool> assetAddressResolves);

Method: ReadHostedTree(BehaviorSourceAst ast, string stateId, Func<string, string> assetAddressToPath)

Section titled “Method: ReadHostedTree(BehaviorSourceAst ast, string stateId, Func<string, string> assetAddressToPath)”

Original lines: 316-369

Declaration hash: sha256:0d5376ee4cad84a4a3b8b004d3d6b75f0c6dafd6a7cf3145020f76eb2e614e70

C#
public static StateHostedTreeInfo ReadHostedTree(BehaviorSourceAst ast, string stateId, Func<string, string> assetAddressToPath);

Original lines: 372-380

Declaration hash: sha256:c4ccd497c729f4fd4d296c42a0bd7b19a63e0835a4a17cbe041e80e8a114754e

C#
public static string AssetDisplayName(string address);

Original lines: 383-391

Declaration hash: sha256:4a3274e6927f02540f4fa18e54e065db34127d2175f132967f104ff4d05cbe4a

C#
public static string AssetFolderPath(string address);

Method: ReadLifetime(BehaviorSourceNode state)

Section titled “Method: ReadLifetime(BehaviorSourceNode state)”

Original lines: 401-407

Declaration hash: sha256:a1983d1fadc91428c400bc67e3c4f11af9b6bf2ff51e31f5dc1ec56e29c1b4e3

C#
public static string ReadLifetime(BehaviorSourceNode state);

Method: HasExplicitLifetime(BehaviorSourceNode state)

Section titled “Method: HasExplicitLifetime(BehaviorSourceNode state)”

Original lines: 410-413

Declaration hash: sha256:95379414df06f0e09eda1a51682b65e05d9f205cefa83499dcf137d427d3c60b

C#
public static bool HasExplicitLifetime(BehaviorSourceNode state);

Method: ReadSuccessEventId(BehaviorSourceNode state)

Section titled “Method: ReadSuccessEventId(BehaviorSourceNode state)”

Original lines: 416-419

Declaration hash: sha256:6b3adc16a89adc78848ac866c889d9d5785a1d8a850518f9224b5b5246b5f86d

C#
public static string ReadSuccessEventId(BehaviorSourceNode state);

Method: ReadFailureEventId(BehaviorSourceNode state)

Section titled “Method: ReadFailureEventId(BehaviorSourceNode state)”

Original lines: 422-425

Declaration hash: sha256:cefc57a9c03b4d5fbe70a54e40d9e02728d812fda7110f5ea19e1893bf981a6c

C#
public static string ReadFailureEventId(BehaviorSourceNode state);

Method: ReadParameter(BehaviorSourceNode node, string key)

Section titled “Method: ReadParameter(BehaviorSourceNode node, string key)”

Original lines: 428-442

Declaration hash: sha256:4f9a412242df24776228ba3a01d3b29c553f3e41dbe9b43e4096f67d033a6bce

C#
public static string ReadParameter(BehaviorSourceNode node, string key);

Original lines: 448-471

Declaration hash: sha256:a4eb197309784d8b97289e4b57ed19b8d5a8147fb3c908cf0416113677e74779

C#
public static bool IsStableEventId(string eventId);

Method: CollectExposedEventIds(BehaviorSourceNode state)

Section titled “Method: CollectExposedEventIds(BehaviorSourceNode state)”

Original lines: 481-495

Declaration hash: sha256:42243ce7dfb5d8c52e52549955f13d9813dfd0a4b1bb7323b2a03ea6d5723b34

C#
public static IReadOnlyList<string> CollectExposedEventIds(BehaviorSourceNode state);

Method: FindTransitionSourceStateId(BehaviorSourceAst ast, string transitionId)

Section titled “Method: FindTransitionSourceStateId(BehaviorSourceAst ast, string transitionId)”

Original lines: 498-520

Declaration hash: sha256:4af837579296578d05c4787b589b616d777c73a49d3550154eaf5436e3e94223

C#
public static string FindTransitionSourceStateId(BehaviorSourceAst ast, string transitionId);

Method: ReadTransitionEventId(BehaviorSourceAst ast, string transitionId)

Section titled “Method: ReadTransitionEventId(BehaviorSourceAst ast, string transitionId)”

Original lines: 523-539

Declaration hash: sha256:3959285ccdb24762188cf06c1db1ffc1ec22816151679c1336ee903a064f274f

C#
public static string ReadTransitionEventId(BehaviorSourceAst ast, string transitionId);

Method: IsStateKind(BehaviorSourceNodeKind kind)

Section titled “Method: IsStateKind(BehaviorSourceNodeKind kind)”

Original lines: 542-546

Declaration hash: sha256:49ab03cc8a0ceb5c6b9c3b34a52662a6ab8d2926a763828bc8f10d9bd8560478

C#
public static bool IsStateKind(BehaviorSourceNodeKind kind);
Full-size image