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: Source authoring

C#
enum BitQuirky.Behavior.Authoring.BehaviorAbortMode

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorAbortMode.cs:18-34

Underlying type: byte

Controls whether and how a condition is observed while a lower-priority selector branch runs, or while the branch it gates stays active.

Responsibilities:

  • Provide stable additive authoring and bake values for every condition interruption policy: no observation, lower-priority preemption, self cancellation, or both from one authored node and one per-update observation (BT-015).

Does NOT:

  • Implement the admission scan or the cancellation effect, or define callbacks or presentation cues; those live in BehaviorValidator and BehaviorTickCore.

C#
Both = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorAbortMode.cs:33

Perform the existing Self effect and the existing Lower Priority effect from the one authored node and the one per-update observation of its condition (BT-015).

C#
LowerPriority = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorAbortMode.cs:24

Preempt a running lower-priority selector branch when the condition succeeds.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorAbortMode.cs:21

Use legacy condition evaluation without reactive observation.

C#
Self = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorAbortMode.cs:27

Cancel the guarded branch synchronously when its own condition fails.

Category: Source authoring

C#
class BitQuirky.Behavior.Authoring.BehaviorAbortModeTokens

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorAbortMode.cs:45-58

Canonical source tokens forBehaviorAbortMode.

Responsibilities:

  • Centralize the stable format 1.1 values accepted by the condition schema.

Does NOT:

  • Parse source or mutate authored parameter values.

C#
public const string Both = "both"

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorAbortMode.cs:57

The source token for Both.

C#
public const string LowerPriority = "lower_priority"

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorAbortMode.cs:51

The source token for LowerPriority.

C#
public const string None = "none"

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorAbortMode.cs:48

The source token for None.

C#
public const string Self = "self"

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorAbortMode.cs:54

The source token for Self.

Category: Source authoring

C#
class BitQuirky.Behavior.Authoring.BehaviorAssemblyIdentity

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:89-236

Projects only the exact assembly bindings declared by this Behavior runtime’s distributor. Unlisted assemblies, including another product’s private dependencies, remain distinct. Canonical source builds have no bindings and retain ordinary exact CLR identity.

C#
public static string CanonicalName(string assemblyName)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:96

Returns the canonical authored name for one explicitly owned assembly.

C#
public static string CanonicalTypeName(string typeName)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:102

Canonicalizes exact assembly qualifiers inside a structured CLR type name.

C#
public static string RuntimeName(string assemblyName)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:99

Returns this runtime owner’s exact implementation of an authored assembly.

C#
public static string RuntimeTypeName(string typeName)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:105

Binds exact assembly qualifiers inside a structured CLR type name to this owner.

Category: Source authoring

C#
enum BitQuirky.Behavior.Authoring.BehaviorDeclaredComparisonSupport

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:646-656

Underlying type: byte

Which comparisons one declared value supports as a transition-predicate operand.

Responsibilities:

  • State the one comparison rule the validator, the baker, the shared evaluation core, and the authoring surface all read, so no consumer invents its own operator table.

Does NOT:

  • Decide storage, carriage, or which agent surface can run the predicate.

C#
EqualityOnly = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:652

Only == and != decide this declaration.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:649

The declaration cannot be compared at all, so no operator is legal.

C#
OrderingAndEquality = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:655

Ordering and equality both decide this declaration.

Category: Source authoring

C#
enum BitQuirky.Behavior.Authoring.BehaviorDeclaredTypeResolution

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:733-749

Underlying type: byte

The three, and only three, outcomes of resolving one saved type record: it resolves, it cannot be found, or it is ambiguous. None of them guesses or discards the record.

Responsibilities:

  • Distinguish a clean resolution from the two faults, so the editor never adopts a same-named survivor and never guesses.

Does NOT:

  • Perform the resolution or offer candidates; the resolver returns those beside it.

C#
CannotResolveToOne = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:748

No assembly is recorded and more than one type matches, or the recorded assembly is gone and more than one other assembly declares that full name.

C#
NotFound = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:742

The recorded assembly is present but no longer declares the type, or is gone and exactly one other assembly declares that full name.

C#
Resolves = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:736

The recorded assembly is present and declares the type.

Category: Source authoring

C#
enum BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:546-634

Underlying type: byte

The append-only representation vocabulary of a declared blackboard value.

Responsibilities:

  • Identify every supported declared-value representation with a stable append-only code used by the canonical codec, the baker, and the generated companion.

Does NOT:

  • ReplaceBehaviorMemberValueKind, which keeps its existing member-binding semantics unchanged, or decide compatibility by itself.

C#
Bool = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:552

One bool value.

C#
Bounds = 23

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:618

UnityEngine Bounds.

C#
Byte = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:558

One byte value.

C#
Char = 10

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:579

One char value.

C#
Color = 21

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:612

UnityEngine Color.

C#
ComponentReference = 28

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:633

A runtime-populated Unity Component reference.

C#
Enum = 13

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:588

An enum, including a flags enum, with an integral underlying type.

C#
Float32 = 11

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:582

One float value.

C#
Float64 = 12

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:585

One double value.

C#
Int16 = 4

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:561

One short value.

C#
Int32 = 6

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:567

One int value.

C#
Int64 = 8

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:573

One long value.

C#
InterfaceReference = 27

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:630

An interface or abstract base valued as none or one satisfying asset.

C#
ProjectClass = 25

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:624

A project-defined serializable class, valued as none or one instance.

C#
ProjectStruct = 24

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:621

A project-defined struct whose fields are all unmanaged.

C#
Quaternion = 20

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:609

UnityEngine Quaternion.

C#
Rect = 22

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:615

UnityEngine Rect.

C#
SByte = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:555

One sbyte value.

C#
String = 14

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:591

Text, which distinguishes none from empty.

C#
UInt16 = 5

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:564

One ushort value.

C#
UInt32 = 7

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:570

One uint value.

C#
UInt64 = 9

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:576

One ulong value.

C#
UnityObjectReference = 26

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:627

A UnityEngine.Object asset reference, valued as none or one asset.

C#
Unknown = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:549

No supported representation.

C#
Vector2 = 15

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:594

UnityEngine Vector2.

C#
Vector2Int = 18

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:603

UnityEngine Vector2Int.

C#
Vector3 = 16

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:597

UnityEngine Vector3.

C#
Vector3Int = 19

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:606

UnityEngine Vector3Int.

C#
Vector4 = 17

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:600

UnityEngine Vector4.

Category: Source authoring

C#
enum BitQuirky.Behavior.Authoring.BehaviorDeclaredValueRejectionReason

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:668-720

Underlying type: byte

The stable reason one declared value cannot be used.

Responsibilities:

  • Name every refusal the declared-value contract can report, so diagnostics stay exact and nothing is substituted, truncated, coerced, or omitted.

Does NOT:

  • Carry presentation text; the diagnostic record supplies the message.

C#
CannotResolveToOneType = 4

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:683

More than one type matches and no recorded assembly settles it.

C#
DuplicateDictionaryKey = 12

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:707

A dictionary entry carries a key that is duplicated at commit.

C#
DuplicateSetElement = 16

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:719

A set carries two authored elements that compare equal.

C#
IncompatibleMemberRole = 10

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:701

The value is not compatible with the member role it is bound to.

C#
InvalidAssetAssignment = 8

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:695

The assigned object is a scene object or does not satisfy the slot.

C#
InvalidCanonicalPayload = 6

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:689

The canonical payload does not parse against the declared type.

C#
InvalidDeclaredName = 15

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:716

The declared name is not a valid identifier or is already declared.

C#
NestedCollection = 11

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:704

A collection is nested inside a collection shape.

C#
NoEntityPathStorage = 9

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:698

The entity path has no storage for this declared value.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:671

The declaration is valid.

C#
NullDictionaryKey = 14

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:713

A dictionary entry carries the reserved null-key marker.

C#
OpenGeneric = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:677

The declared type is an open generic definition.

C#
RequiredDictionaryKey = 13

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:710

A dictionary entry carries a key that has never been committed.

C#
TypeNotFound = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:680

The recorded assembly no longer declares the recorded type.

C#
UnserializableType = 5

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:686

Unity cannot retain a value of the declared type.

C#
UnsupportedType = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:674

The declared type is not an authorable value type.

C#
ValueOutOfRange = 7

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:692

The parsed value falls outside the declared type’s range.

Category: Source authoring

C#
enum BitQuirky.Behavior.Authoring.BehaviorDeclaredValueSerializationClass

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:499-533

Underlying type: byte

How Unity retains one declared value.

Responsibilities:

  • Select the exact serialized backing representation a generated companion field uses.

Does NOT:

C#
BuiltIn = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:505

A built-in scalar written as its C# keyword.

C#
Component = 10

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:532

A runtime-populated Component reference whose authored seed is none.

C#
Enum = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:508

An enum with a supported integral underlying type.

C#
InterfaceReference = 7

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:523

An interface or abstract base a project asset satisfies.

C#
ManagedCollection = 9

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:529

A product-backed recursive collection Unity cannot serialize directly.

C#
ProjectClass = 5

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:517

A project-defined serializable class carried by managed reference.

C#
ProjectStruct = 4

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:514

A project-defined struct whose fields are all unmanaged.

C#
Text = 8

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:526

Text, which distinguishes none from empty.

C#
UnityObject = 6

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:520

A UnityEngine.Object asset reference.

C#
UnityValueStruct = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:511

A fixed UnityEngine value struct.

C#
Unknown = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:502

No supported serialized representation.

Category: Source authoring

C#
enum BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShape

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:249-268

Underlying type: byte

The declared shape of one blackboard variable: single, list, array, dictionary, set, or queue, with the type or types that shape needs.

Responsibilities:

  • Carry which authorable shape a declaration uses. Single, list, array, set, and queue carry one value type; dictionary carries a key type and a value type.

Does NOT:

  • Encode a generic or array spelling; the type identity always names the element type.

C#
Array = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:258

An ordered collection whose length is a field.

C#
Dictionary = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:261

An ordered set of entries with one key identity and one value identity.

C#
List = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:255

An ordered collection whose length the author edits by adding rows.

C#
Queue = 5

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:267

An ordered first-in, first-out collection of authored elements.

C#
Set = 4

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:264

An unordered collection of unique authored elements.

C#
Single = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:252

One value: a value type always holds one, a reference may hold none.

Category: Source authoring

C#
class BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShapeLevel

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:317-331

One collection level in a recursively declared value shape.

Responsibilities:

  • Preserve an outermost-first list, array, dictionary, set, or queue level.
  • Carry the exact recursively shaped key beside its own dictionary level.

Does NOT:

  • Repeat the value leaf type or flatten a collection key into a generic spelling.

C#
public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueTypeShape Key { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:323

Gets or sets this dictionary level’s key shape, or null otherwise.

C#
public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShape Shape { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:320

Gets or sets this collection level’s shape.

C#
public string BuildCanonicalIdentity()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:326-330

Builds this level’s stable recursive identity.

Category: Source authoring

C#
enum BitQuirky.Behavior.Authoring.BehaviorDeclaredValueStorageClass

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:477-487

Underlying type: byte

Where the runtime keeps a declared value, derived from the one rule: unmanaged data is carried on either path, and a managed reference or lookup is GameObject-path only.

Responsibilities:

  • Say whether the shared native blackboard carries the value, a native buffer carries its elements, or the GameObject-path managed companion holds it.

Does NOT:

  • Get authored. Storage classification is derived from the declared type and shape.

C#
ManagedCompanion = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:486

A managed reference or managed lookup, carried on the GameObject path only.

C#
Native = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:480

Unmanaged data carried in one native blackboard slot on both surfaces.

C#
NativeBuffer = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:483

A list or array of unmanaged elements carried as a native buffer.

Category: Source authoring

C#
class BitQuirky.Behavior.Authoring.BehaviorDeclaredValueTypeShape

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:280-305

One exact recursively shaped type used by a dictionary key.

Responsibilities:

  • Carry the innermost leaf identity and every outer collection level in reading order.
  • Keep one independently shaped key type at every dictionary level.

Does NOT:

  • Resolve a CLR type, carry a value, or impose a nesting-depth limit.

C#
public BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity DeclaredType { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:283

Gets or sets the exact innermost leaf type.

C#
public bool IsCollection { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:292

Gets whether this type is itself a collection.

C#
public System.Collections.Generic.List<BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShapeLevel> Levels { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:289

Gets the collection levels from outermost to innermost.

C#
public bool RecordsAssembly { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:286

Gets whether the saved leaf token recorded its assembly.

C#
public string BuildCanonicalIdentity()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:295-304

Builds the stable recursive identity used by deterministic hashes.

Category: Source authoring

C#
class BitQuirky.Behavior.Authoring.BehaviorDeclaredValueTypeShapeFactory

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:344-464

Converts between exact CLR collection types and the source format’s leaf-plus-level model.

Responsibilities:

  • Decompose arrays, lists, dictionaries, sets, and queues at any depth into outermost-first levels.
  • Reconstruct the exact closed CLR type without customer wrapper types.

Does NOT:

  • Resolve saved identities, validate authorability, or interpret values.

Construct(Type leaf, IReadOnlyList<BehaviorDeclaredValueShapeLevel> levels, Func<BehaviorDeclaredValueTypeShape, Type> resolveKey)

Section titled “Construct(Type leaf, IReadOnlyList<BehaviorDeclaredValueShapeLevel> levels, Func<BehaviorDeclaredValueTypeShape, Type> resolveKey)”
C#
public static System.Type Construct(System.Type leaf, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShapeLevel> levels, System.Func<BitQuirky.Behavior.Authoring.BehaviorDeclaredValueTypeShape, System.Type> resolveKey)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:361-400

Reconstructs an exact CLR type from an already resolved leaf and key leaves.

C#
public static BitQuirky.Behavior.Authoring.BehaviorDeclaredValueTypeShape FromType(System.Type type)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:347-358

Decomposes one exact CLR type into its leaf identity and collection levels.

Category: Source authoring

C#
class BitQuirky.Behavior.Authoring.BehaviorSourceAsset

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:29-294

Inherits: ScriptableObject

Implements: ISerializationCallbackReceiver

Imported representation of a canonical Bit Quirky behavior source.

Responsibilities:

  • Carry the exact source text imported from a.bqbehaviorfile.
  • Be the main Unity asset type for behavior sources so inspectors can show behavior tooling instead of the raw text asset inspector.
  • Retain structured diagnostics and the deterministic serialized bake cache.
  • Materialize fresh native runtime artifacts without parsing or baking source.
  • Invalidate derived diagnostics when Unity reloads the serialized import data.

Does NOT:

  • Parse, validate, bake, or mutate the canonical source file.
  • Store user editor preferences or treat derived data as source authority.

C#
public ulong BindingSetFingerprint { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:141-143

Gets the generated member-provider and managed-companion contract fingerprint, or zero when the source has no executable cache or no generated binding contract.

C#
public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceDiagnostic> Diagnostics { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:151-171

Gets the structured diagnostics recorded by the importer.

C#
public ulong ExecutableContentHash { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:133-135

Gets the complete executable-content hash of the derived cache, or zero when absent.

C#
public ulong ExecutableSemanticHash { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:146-148

Compatibility alias for ExecutableContentHash.

C#
public bool HasBakedCache { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:103

Compatibility alias for the imported baked-cache contract.

C#
public bool HasExecutableCache { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:100

Gets whether validation produced a derived executable cache.

C#
public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceAsset> HostedStateMachineReferencedAssets { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:120-121

Gets the resolved referenced asset for each authoredHostedStateMachinenode (FSM-013), parallel in order to the derived cache’s own BakedHostedStateMachineReferencerows. The importer resolves each row’s interned address to the actual asset once, at import time (editor-only), so runtime materialization needs no further address resolution (noAssetDatabaseaccess from the Runtime assembly).

C#
public BitQuirky.Behavior.Blackboard.BehaviorManagedBlackboardTemplate ManagedBlackboardTemplate { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:127-128

Gets the imported typed companion template derived from canonical source, or null when every declared value is carried by the native blackboard.

C#
public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberReference> MemberReferences { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:109-110

Gets the explicit-reference assignments owned by this graph asset. Scene-object assignments remain on theBehaviorAgentthat owns them.

C#
public string SourceContentHash { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:97

Gets the SHA-256 identity of the exact imported source text.

C#
public string SourceFormat { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:94

Gets the imported additive source-format identifier.

C#
public string Text { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:91

Gets the exact canonical text imported from the source file.

C#
public BitQuirky.Behavior.Baked.BakedBehaviorArtifact CreateArtifact(Unity.Collections.Allocator allocator = Persistent)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:283-291

Materializes a fresh native artifact owned by the caller.

SetImportedData(string text, string sourceFormat, string sourceContentHash, IReadOnlyList<BehaviorSourceDiagnostic> diagnostics, BakedBehaviorArtifact artifact)

Section titled “SetImportedData(string text, string sourceFormat, string sourceContentHash, IReadOnlyList<BehaviorSourceDiagnostic> diagnostics, BakedBehaviorArtifact artifact)”
C#
public void SetImportedData(string text, string sourceFormat, string sourceContentHash, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceDiagnostic> diagnostics, BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:252-280

Replaces all importer-owned exact text, identity, diagnostic, and derived cache data.

SetImportedHostedStateMachineReferencedAssets(IReadOnlyList<BehaviorSourceAsset> referencedAssets)

Section titled “SetImportedHostedStateMachineReferencedAssets(IReadOnlyList<BehaviorSourceAsset> referencedAssets)”
C#
public void SetImportedHostedStateMachineReferencedAssets(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceAsset> referencedAssets)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:217-226

Stores the importer-resolved referenced asset for each authored HostedStateMachinenode, parallel in order to the derived cache’s own BakedHostedStateMachineReferencerows (FSM-013).

SetImportedManagedBlackboardTemplate(BehaviorManagedBlackboardTemplate template)

Section titled “SetImportedManagedBlackboardTemplate(BehaviorManagedBlackboardTemplate template)”
C#
public void SetImportedManagedBlackboardTemplate(BitQuirky.Behavior.Blackboard.BehaviorManagedBlackboardTemplate template)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:194-198

Stores the importer-owned managed companion template derived from canonical source. Import and tests call this while composing the derived graph cache; runtime agents read the resulting reference and never discover or create a template themselves.

SetImportedMemberReferences(IReadOnlyList<BehaviorMemberReference> references)

Section titled “SetImportedMemberReferences(IReadOnlyList<BehaviorMemberReference> references)”
C#
public void SetImportedMemberReferences(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberReference> references)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:201-210

Stores importer-owned graph asset reference assignments.

C#
public void SetText(string text)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:174-187

Replaces the in-memory exact source text and clears derived data.

Category: Source authoring

C#
readonly struct BitQuirky.Behavior.Authoring.BehaviorSourceDiagnostic

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceDiagnostic.cs:25-59

One diagnostic emitted by the parser. Line numbers are 1-based.

C#
public string Code { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceDiagnostic.cs:48

Stable machine-readable code such as unknown-field. Tools should match on this rather than on Message.

C#
public int Line { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceDiagnostic.cs:46

One-based source line the report points at; zero when it concerns the document as a whole rather than one line.

C#
public string Message { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceDiagnostic.cs:50

Human-readable explanation of the problem, written for the author of the source.

C#
public BitQuirky.Behavior.Authoring.BehaviorSourceDiagnosticSeverity Severity { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceDiagnostic.cs:44

Severity of this report; a single Error means the parse or bake yields no artifact.

BehaviorSourceDiagnostic(BehaviorSourceDiagnosticSeverity severity, int line, string code, string message)

Section titled “BehaviorSourceDiagnostic(BehaviorSourceDiagnosticSeverity severity, int line, string code, string message)”
C#
public BehaviorSourceDiagnostic(BitQuirky.Behavior.Authoring.BehaviorSourceDiagnosticSeverity severity, int line, string code, string message)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceDiagnostic.cs:31-41

Records one report against the source at a one-based line, or line zero for a report about the document as a whole. A null code or message is stored as an empty string.

C#
public override string ToString()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceDiagnostic.cs:55-58

Formats the diagnostic for logs asSeverity (Code) line Line: Message.

Category: Source authoring

C#
enum BitQuirky.Behavior.Authoring.BehaviorSourceDiagnosticSeverity

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceDiagnostic.cs:10-20

Underlying type: int

Severity of a parser-emitted diagnostic.

C#
Error = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceDiagnostic.cs:19

A rejected source construct. One of these means the parse or the bake yields no usable artifact.

C#
Info = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceDiagnostic.cs:13

Advisory only; the parse and the bake both still produce their result.

C#
Warning = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceDiagnostic.cs:16

A questionable source construct. The parse and the bake still produce their result.

Category: Source authoring

C#
readonly struct BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:23-82

Implements: IEquatable<BehaviorSourceTypeIdentity>

One exact type identity: the pair of assembly simple name and full CLR type name.

Responsibilities:

  • Identify a type exactly without version, culture, or public-key metadata.
  • Name theelementtype of a declared value; the declared shape is carried beside it, so no generic or array spelling is ever written or parsed.

Does NOT:

  • Resolve the type, accept generic declaring shapes, or guess a same-named type; validation rejects those.

C#
public string AssemblyName { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:33

Gets the exact assembly simple name, without version.

C#
public string DefinitionName { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:42

Gets the exact full CLR type definition name. Alias ofTypeNamekept for the declared-value contract, which names definitions rather than constructed spellings.

C#
public bool HasAssembly { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:49

Gets whether the identity records an assembly simple name.

C#
public bool IsEmpty { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:45-46

Gets whether both identity components are empty.

C#
public string TypeName { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:36

Gets the exact full CLR type name.

BehaviorSourceTypeIdentity(string assemblyName, string typeName)

Section titled “BehaviorSourceTypeIdentity(string assemblyName, string typeName)”
C#
public BehaviorSourceTypeIdentity(string assemblyName, string typeName)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:26-30

Creates one exact type identity.

C#
public bool Equals(BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity other)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:58-62

Compares both identity components by ordinal, case-sensitive string equality.

C#
public override bool Equals(object obj)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:65-68

Returns whether the boxed object is a type identity with the same two components.

C#
public override int GetHashCode()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:71-75

Combines the hashes of both identity components, consistent with Equals.

C#
public override string ToString()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:78-81

Formats the identity for display as TypeName, AssemblyName; no version, culture or public key is emitted.

C#
public BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity WithAssembly(string assemblyName)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:52-55

Returns the same type name carried with the supplied assembly simple name.

Category: Source authoring

C#
class BitQuirky.Behavior.Authoring.BehaviorSourceTypeKeywords

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:765-850

The six built-in scalars canonical source writes as C# keywords with no assembly.

Responsibilities:

  • Map between the canonical keyword token and the exact full CLR type name for bool, char, int, float, double and string, because a keyword names exactly one runtime type.

Does NOT:

  • Accept any other keyword spelling, resolve a type, or omit an assembly for a type that is not one of the six.

C#
public static string KeywordAssemblyName { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:802

Gets the assembly simple name recorded for a keyword scalar identity. Canonical text omits it, and the resolver never needs it, because the keyword names one runtime type.

C#
public static BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity Identity(string keyword)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:839-847

Builds the exact identity of one canonical keyword scalar.

C#
public static bool IsKeyword(string token)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:805-808

Returns whether the token is one of the six canonical keyword scalars.

IsKeywordIdentity(BehaviorSourceTypeIdentity identity)

Section titled “IsKeywordIdentity(BehaviorSourceTypeIdentity identity)”
C#
public static bool IsKeywordIdentity(BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity identity)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:833-836

Returns whether the identity is written as a keyword with no assembly.

TryGetKeyword(string fullTypeName, out string keyword)

Section titled “TryGetKeyword(string fullTypeName, out string keyword)”
C#
public static bool TryGetKeyword(string fullTypeName, out string keyword)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:822-830

Maps an exact full CLR type name to its canonical keyword token.

TryGetTypeName(string keyword, out string fullTypeName)

Section titled “TryGetTypeName(string keyword, out string fullTypeName)”
C#
public static bool TryGetTypeName(string keyword, out string fullTypeName)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceTypeIdentity.cs:811-819

Maps a canonical keyword token to its exact full CLR type name.

Category: Source authoring

C#
class BitQuirky.Behavior.Authoring.SerializedBakedBehavior

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:305-750

Unity-serializable mirror of a derived baked behavior artifact.

Responsibilities:

  • Persist importer-derived POD tables and materialize fresh native ownership.

Does NOT:

  • Replace canonical behavior source or share native allocations between agents.

C#
public ulong BindingSetFingerprint { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:436

Gets the generated binding-set fingerprint captured from the artifact.

C#
public ulong ExecutableContentHash { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:434

Gets the complete executable-content hash captured from the artifact.

C#
public ulong SourceContentHash { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:431

Gets the semantic hash captured from the baked artifact.

C#
public static BitQuirky.Behavior.Authoring.SerializedBakedBehavior Capture(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:440-546

Captures managed copies of every executable table in an artifact.

C#
public BitQuirky.Behavior.Baked.BakedBehaviorArtifact CreateArtifact(Unity.Collections.Allocator allocator)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceAsset.cs:549-733

Materializes fresh native tables owned by the returned artifact.

Source fingerprint: sha256:29003d8b1658b98a79bebcd93e3b4030caf8511268b96817ab764d63df8d6c3b

Full-size image