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

BitQuirky.Behavior.Member

Public behavior trees and state machines: runtime backend symbols in BitQuirky.Behavior.Member.

Source snapshot 29003d8b1658.

Assembly: BitQuirky.Behavior.Runtime.Backend

Category: Member binding

C#
enum BitQuirky.Behavior.Member.BehaviorAgentSurface

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:18-25

Underlying type: byte

Which agent surface a compatibility verdict was reached for.

Responsibilities:

  • Name the exact target path a graph was assigned or baked for.

Does NOT:

  • Describe one running agent; the verdict is about the graph.

C#
GameObject = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:21

A GameObject-bound agent, which carries every declared type.

C#
PureEntity = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:24

A pure entity, whose blackboard is unmanaged data only.

Category: Member binding

C#
readonly struct BitQuirky.Behavior.Member.BehaviorArtifactCompatibilityDiagnostic

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:96-160

One exact, source-local verdict that a graph cannot run on the target agent surface.

Responsibilities:

  • Carry the graph identity, the declared variable, its complete declared type identity (and, for a dictionary, which half is being reported), the source line, the target path, the stable reason, the recoveries, and one actionable message.

Does NOT:

  • Substitute a type, supply a default, omit the variable, fall back to the GameObject path, or block authoring. The variable and its value stay editable.

C#
public string DeclaredKeyType { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:131

Gets the complete declared key type identity of a dictionary, or empty.

C#
public string DeclaredType { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:128

Gets the complete declared type identity, never shortened.

C#
public string GraphIdentity { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:122

Gets the exact graph or source identity.

C#
public string Message { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:146

Gets the actionable quiet presentation message.

C#
public BitQuirky.Behavior.Member.BehaviorArtifactCompatibilityReason Reason { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:140

Gets the stable refusal reason.

C#
public BitQuirky.Behavior.Member.BehaviorArtifactCompatibilityRecovery Recoveries { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:143

Gets the recoveries this refusal offers.

C#
public int SourceLine { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:134

Gets the one-based source line of the variable record.

C#
public BitQuirky.Behavior.Member.BehaviorAgentSurface Surface { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:137

Gets the target agent surface the verdict was reached for.

C#
public string VariableName { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:125

Gets the exact declared variable name.

BehaviorArtifactCompatibilityDiagnostic(string graphIdentity, string variableName, string declaredType, string declaredKeyType, int sourceLine, BehaviorAgentSurface surface, BehaviorArtifactCompatibilityReason reason, BehaviorArtifactCompatibilityRecovery recoveries, string message)

Section titled “BehaviorArtifactCompatibilityDiagnostic(string graphIdentity, string variableName, string declaredType, string declaredKeyType, int sourceLine, BehaviorAgentSurface surface, BehaviorArtifactCompatibilityReason reason, BehaviorArtifactCompatibilityRecovery recoveries, string message)”
C#
public BehaviorArtifactCompatibilityDiagnostic(string graphIdentity, string variableName, string declaredType, string declaredKeyType, int sourceLine, BitQuirky.Behavior.Member.BehaviorAgentSurface surface, BitQuirky.Behavior.Member.BehaviorArtifactCompatibilityReason reason, BitQuirky.Behavior.Member.BehaviorArtifactCompatibilityRecovery recoveries, string message)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:99-119

Creates one complete compatibility verdict.

C#
public override string ToString()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:149-159

Renders the complete verdict, including every diagnostic coordinate.

Category: Member binding

C#
enum BitQuirky.Behavior.Member.BehaviorArtifactCompatibilityReason

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:36-55

Underlying type: byte

The stable reason one artifact is incompatible with the target surface.

Responsibilities:

  • Name each refusal with an append-only code so presentation never parses a message.

Does NOT:

  • Carry a repair; the recovery is decided by the authoring surface.

C#
ArtifactMissingDeclaredValueTables = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:48

The artifact predates declared-value tables and cannot state its storage.

C#
CollectionHasNoEntityStorage = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:54

The declared list or array has no entity storage: its element type is itself a collection, or is an element kind the entity path does not carry.

C#
ManagedValueIncompatibleWithPureEntity = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:45

The declared value is a managed reference or a managed lookup, which the entity path has no storage for.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:39

The artifact is compatible with the target surface.

Category: Member binding

C#
enum BitQuirky.Behavior.Member.BehaviorArtifactCompatibilityRecovery

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:66-80

Underlying type: byte

The recovery a designer can take in one interaction and one undo step.

Responsibilities:

  • Name the exact recoveries a refusal offers, so the surface never invents one.

Does NOT:

  • Apply the recovery.

C#
BakeForTheGameObjectPath = 4

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:79

Bake the graph for the GameObject path.

C#
ChangeTheShape = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:76

Change the shape, which keeps values in authored order and drops keys.

C#
ChangeTheType = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:73

Change the declared type to one the path carries.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:70

No recovery applies.

Category: Member binding

C#
enum BitQuirky.Behavior.Member.BehaviorEntityContainerClass

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:35-54

Underlying type: byte

What kind of entity storage an exact authored target type is.

C#
BufferElement = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:44

An unmanaged IBufferElementData addressed one exact entry at a time.

C#
Component = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:41

An unmanaged IComponentData whose stored data is representable.

C#
DeclaredAssetIdentity = 5

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:53

A declared managed asset represented only by a stable identity during entity ticks.

C#
ManagedComponent = 4

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:50

A component-shaped type whose storage holds managed references.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:38

The type is not a container the entity backend can address.

C#
StaticType = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:47

A declaring type reached with no entity instance at all.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorEntityMemberAvailability

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:81-1500

The entity backend’s member-availability contract: which containers exist, which member kinds each container offers, and when a property accessor is a provable direct read or write of a stored field.

Responsibilities:

  • Classify one exact authored target type as a component, a buffer element, a static declaring type, or storage the entity path cannot carry.
  • Decide, once, which member kinds each container offers, and name the exact reason a member kind is unavailable so bake and the picker state the same fact.
  • Prove from the compiled accessor body whether a property reads or writes one stored field directly, with no call and no allocation, including an indexer that addresses one stored unmanaged container’s own element accessor or, per the one recorded Constitution Principle XVIII exception (.specify/memory/constitution.md:633), one FixedBufferAttribute-decorated stored field by direct pointer arithmetic, and name the exact disqualifying fact when it does not.
  • Decide, once, which generic method shapes have a direct entity call site, so bake and the picker admit exactly the fully closed static definitions whose chosen type arguments Burst can specialize.

Does NOT:

  • Resolve an entity, rewrite a property into a field, offer a substitute member, or judge whether a value kind is carried;BehaviorEntityMemberValueContractowns the value matrix.

C#
public const string SyntheticEnabledMemberName = "enabled"

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:90

The one spelling of the synthetic member that reads and writes an enableable component’s enablement. It is defined here once so the picker, the canonical source, bake, and the accessor generator all name the same member.

Classify(Type targetType, BehaviorSourceMemberTargetMode mode, BehaviorSourceMemberEntityContainerKind containerKind)

Section titled “Classify(Type targetType, BehaviorSourceMemberTargetMode mode, BehaviorSourceMemberEntityContainerKind containerKind)”
C#
public static BitQuirky.Behavior.Member.BehaviorEntityContainerClass Classify(System.Type targetType, BitQuirky.Behavior.Authoring.BehaviorSourceMemberTargetMode mode, BitQuirky.Behavior.Authoring.BehaviorSourceMemberEntityContainerKind containerKind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:97-131

Classifies one exact resolved target type for the given authored target mode. The Static mode reaches a declaring type with no instance; DeclaredAssetIdentity reaches an asset’s baked identity. Other modes address stored entity data.

C#
public static bool HasAnyIndexer(System.Type targetType)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:492-508

Returns whether the type declares at least one indexer, admitted or not. An author who declares an indexer always sees its exact disqualifying fact on its own row rather than a hidden Properties tab, even when every other property on the same type fails to qualify (, AE-019, AE-024, AE-028, Phase 4C).

C#
public static bool HasAnyQualifyingProperty(System.Type targetType)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:459-484

Returns whether any property of the type qualifies. A type on which none qualifies and declares no indexer offers no Properties tab at all rather than an empty one; a declared indexer is its own signal even when refused, so HasAnyIndexerkeeps the tab open for it (, Phase 4C).

C#
public static bool HasOnlyUnmanagedStorage(System.Type type)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:515-518

Returns whether every stored field of the type, transitively, has a direct unmanaged representation. A managed reference anywhere in the storage makes the type a no entity storagefault rather than something to carry beside the tick path.

C#
public static bool IsEnableable(System.Type targetType)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:257-261

Returns whether the target type is an enableable component, whose enablement the entity path reads and writes as the syntheticenabled : boolmember and observes as a one-shot occurrence source.

IsGenericCallShapeAvailable(MethodInfo method, out BehaviorMemberBindingDiagnosticReason reason, out Type unrepresentableArgument)

Section titled “IsGenericCallShapeAvailable(MethodInfo method, out BehaviorMemberBindingDiagnosticReason reason, out Type unrepresentableArgument)”
C#
public static bool IsGenericCallShapeAvailable(System.Reflection.MethodInfo method, out BitQuirky.Behavior.Member.BehaviorMemberBindingDiagnosticReason reason, out System.Type unrepresentableArgument)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:212-250

Returns whether one resolved method has a direct entity call site as far as its generic shape is concerned, and names the exact reason when it does not. A non-generic method is unaffected. A fully closed generic static method is admitted, because the generated accessor spells its chosen types at the call site and Burst specializes exactly that call. An open definition has nothing to spell, an instance method has no entity call site to spell it in, and a chosen type argument that carries a managed reference cannot be Burst-specialized even when the ordinary signature is representable.

IsMemberKindAvailable(BehaviorEntityContainerClass container, BehaviorSourceMemberKind memberKind, out BehaviorMemberBindingDiagnosticReason reason)

Section titled “IsMemberKindAvailable(BehaviorEntityContainerClass container, BehaviorSourceMemberKind memberKind, out BehaviorMemberBindingDiagnosticReason reason)”
C#
public static bool IsMemberKindAvailable(BitQuirky.Behavior.Member.BehaviorEntityContainerClass container, BitQuirky.Behavior.Authoring.BehaviorSourceMemberKind memberKind, out BitQuirky.Behavior.Member.BehaviorMemberBindingDiagnosticReason reason)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:141-201

Returns whether the container offers the authored member kind, and names the exact reason when it does not. A component offers its stored fields, its qualifying properties, and its enabled state; a buffer entry offers its stored fields; a static declaring type offers its methods and fields. A component’s instance methods and events are unavailable rather than listed inert, so the picker omits the tab that would hold them and bake reports the same fact for a directly authored binding.

TryProveDirectStoredFieldAccess(PropertyInfo property, bool requireRead, bool requireWrite, out BehaviorMemberBindingDiagnosticReason reason, IBehaviorEntityPropertyAccessorProofProvider proofProvider)

Section titled “TryProveDirectStoredFieldAccess(PropertyInfo property, bool requireRead, bool requireWrite, out BehaviorMemberBindingDiagnosticReason reason, IBehaviorEntityPropertyAccessorProofProvider proofProvider)”
C#
public static bool TryProveDirectStoredFieldAccess(System.Reflection.PropertyInfo property, bool requireRead, bool requireWrite, out BitQuirky.Behavior.Member.BehaviorMemberBindingDiagnosticReason reason, BitQuirky.Behavior.Member.IBehaviorEntityPropertyAccessorProofProvider proofProvider = null)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:273-282

Proves whether the property’s requested accessors are direct reads or writes of one stored field, or, for an indexer, exactly one element of one stored unmanaged container field addressed by the ordered index parameters ((a)). A qualifying property binds exactly as that storage binds and keeps its property identity; it is never rewritten into a field record. A property that fails the proof names its exact disqualifying fact: an accessor returning a managed reference, a non-public accessor, an accessor whose body computes rather than stores, or, for an indexer, an index parameter whose declared type is managed.

TryProveDirectStoredFieldAccess(PropertyInfo property, bool requireRead, bool requireWrite, out BehaviorMemberBindingDiagnosticReason reason, out FieldInfo indexedStoredField, IBehaviorEntityPropertyAccessorProofProvider proofProvider)

Section titled “TryProveDirectStoredFieldAccess(PropertyInfo property, bool requireRead, bool requireWrite, out BehaviorMemberBindingDiagnosticReason reason, out FieldInfo indexedStoredField, IBehaviorEntityPropertyAccessorProofProvider proofProvider)”
C#
public static bool TryProveDirectStoredFieldAccess(System.Reflection.PropertyInfo property, bool requireRead, bool requireWrite, out BitQuirky.Behavior.Member.BehaviorMemberBindingDiagnosticReason reason, out System.Reflection.FieldInfo indexedStoredField, BitQuirky.Behavior.Member.IBehaviorEntityPropertyAccessorProofProvider proofProvider = null)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:291-302

TheTryProveDirectStoredFieldAccess overload that also returns the exact stored container field an admitted indexer’s generated bounds check addresses, so a generator that already proved the shape never re-walks the accessor’s IL to find it again.

TryProveDirectStoredFieldAccess(PropertyInfo property, bool requireRead, bool requireWrite, out BehaviorMemberBindingDiagnosticReason reason, out FieldInfo indexedStoredField, out string indexerLengthMemberName, IBehaviorEntityPropertyAccessorProofProvider proofProvider)

Section titled “TryProveDirectStoredFieldAccess(PropertyInfo property, bool requireRead, bool requireWrite, out BehaviorMemberBindingDiagnosticReason reason, out FieldInfo indexedStoredField, out string indexerLengthMemberName, IBehaviorEntityPropertyAccessorProofProvider proofProvider)”
C#
public static bool TryProveDirectStoredFieldAccess(System.Reflection.PropertyInfo property, bool requireRead, bool requireWrite, out BitQuirky.Behavior.Member.BehaviorMemberBindingDiagnosticReason reason, out System.Reflection.FieldInfo indexedStoredField, out string indexerLengthMemberName, BitQuirky.Behavior.Member.IBehaviorEntityPropertyAccessorProofProvider proofProvider = null)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:312-451

TheTryProveDirectStoredFieldAccessoverload that also returns the exact Length or Countmember name an admitted indexer’s bounds-check pass-through proof accepted (C1), so a generator that already holds this proof never re-derives its own guess from a coincidentally same-named, unproven member.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorEntityMemberValueContract

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberValueContract.cs:20-180

The entity backend’s slice of the portable member value and conversion contract.

Responsibilities:

  • Decide which supported value kinds have a direct Burst-representable entity representation, which of them can address one retained occurrence by exact identity, and which single portable conversion applies to a pair on this backend.

Does NOT:

  • Add a conversion the portable contract does not already allow, box, coerce, narrow, or substitute a companion managed store. Being unmanaged alone does not put a type in the authored entity conversion contract.

IsSupportedIdentityKind(BehaviorMemberValueKind kind)

Section titled “IsSupportedIdentityKind(BehaviorMemberValueKind kind)”
C#
public static bool IsSupportedIdentityKind(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberValueContract.cs:66-70

Returns whether the kind can address one retained occurrence by exact identity: any carried kind with a fixed byte width, compared over its complete stored value. The occurrence state keeps that whole value, so no hash ever stands in for exact identity, and an identity wider than sixty-four bits is addressed like any other.

An enum identity field is addressed by the exact underlying scalar bake records for it, so the enum kind itself is never the recorded identity kind.

IsSupportedValueKind(BehaviorMemberValueKind kind)

Section titled “IsSupportedValueKind(BehaviorMemberValueKind kind)”
C#
public static bool IsSupportedValueKind(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberValueContract.cs:29-55

Returns whether the kind is carried natively by the entity backend. Managed references, Unity object references, and unlisted unmanaged developer structs are outside the matrix and are rejected rather than stored beside the tick path.

TryGetConversion(BehaviorMemberValueKind source, BehaviorMemberValueKind target, out BehaviorMemberConversion conversion)

Section titled “TryGetConversion(BehaviorMemberValueKind source, BehaviorMemberValueKind target, out BehaviorMemberConversion conversion)”
C#
public static bool TryGetConversion(BitQuirky.Behavior.Member.BehaviorMemberValueKind source, BitQuirky.Behavior.Member.BehaviorMemberValueKind target, out BitQuirky.Behavior.Member.BehaviorMemberConversion conversion)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberValueContract.cs:77-100

Decides the single allowed conversion for a pair on the entity backend: the portable conversion, restricted to carried kinds. Everything else is rejected at its exact binding edge rather than coerced.

TryGetConversion(Type source, Type target, out BehaviorMemberConversion conversion)

Section titled “TryGetConversion(Type source, Type target, out BehaviorMemberConversion conversion)”
C#
public static bool TryGetConversion(System.Type source, System.Type target, out BitQuirky.Behavior.Member.BehaviorMemberConversion conversion)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberValueContract.cs:107-127

Decides the single allowed conversion for two resolved CLR types. Resolved types are required for enum conversions because an enum kind alone does not identify its exact underlying scalar type.

TryGetIdentityStorageKind(Type type, out BehaviorMemberValueKind storageKind)

Section titled “TryGetIdentityStorageKind(Type type, out BehaviorMemberValueKind storageKind)”
C#
public static bool TryGetIdentityStorageKind(System.Type type, out BitQuirky.Behavior.Member.BehaviorMemberValueKind storageKind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberValueContract.cs:134-146

Resolves the exact stored identity kind of a CLR type. Enum identities use their underlying integral kind because occurrence state and baked constants store that exact scalar representation.

TryParseIdentityConstant(Type identityType, BehaviorMemberValueKind authoredKind, string literal, out BehaviorMemberValueKind storageKind, out long valueBits, out string canonical)

Section titled “TryParseIdentityConstant(Type identityType, BehaviorMemberValueKind authoredKind, string literal, out BehaviorMemberValueKind storageKind, out long valueBits, out string canonical)”
C#
public static bool TryParseIdentityConstant(System.Type identityType, BitQuirky.Behavior.Member.BehaviorMemberValueKind authoredKind, string literal, out BitQuirky.Behavior.Member.BehaviorMemberValueKind storageKind, out long valueBits, out string canonical)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberValueContract.cs:153-177

Parses one identity constant into the exact scalar storage used by baked constants. Wider identity types remain valid for blackboard operands, but are rejected as constants until baked constants can store their complete value.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorManagedOperandProjector

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:4548-4690

Maintains one native match ordinal per projected GameObject-path transition operand, as part of one agent’s pre-tick member synchronization.

Responsibilities:

  • Ask this agent’s own generated companion clone which authored candidate each projected slot currently equals, using real ordinal text equality and reference identity, and write that one-based ordinal into the reserved native word the shared evaluation core reads.
  • Recompute a projection only when its companion slot version advances, and clear every reserved word whenever the agent reinitializes or is disabled.

Does NOT:

  • Read or hold a managed value, convert a value to a number, decide a predicate, or allocate once its candidate table is built.

C#
public bool HasProjections { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:4617

Gets whether this graph projects any GameObject-path transition operand.

BehaviorManagedOperandProjector(BakedBehaviorArtifact artifact, NativeArray<byte> blackboard, BehaviorManagedBlackboardTemplate companion)

Section titled “BehaviorManagedOperandProjector(BakedBehaviorArtifact artifact, NativeArray<byte> blackboard, BehaviorManagedBlackboardTemplate companion)”
C#
public BehaviorManagedOperandProjector(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, Unity.Collections.NativeArray<byte> blackboard, BitQuirky.Behavior.Blackboard.BehaviorManagedBlackboardTemplate companion)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:4573-4614

Flattens the baked candidate table once, so every later projection compares against preallocated storage and the steady-state path allocates nothing.

C#
public void Reset()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:4663-4671

Clears every reserved match word and forgets every observed version, so a reinitialized or disabled agent starts from no match rather than from a previous run’s answer.

C#
public void SampleBeforeTick()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:4624-4650

Refreshes every projection whose companion slot version advanced and every projection not yet computed. Unity object-backed references are also recomputed every pass because destruction changes their managed null equality without invoking a generated setter.

Category: Member binding

C#
readonly struct BitQuirky.Behavior.Member.BehaviorMemberArgumentView

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:218-420

Non-boxing typed view over the argument values one member accessor consumes.

Responsibilities:

  • Expose the materialized constant and blackboard argument values of the current invocation as exact typed reads, plus the managed reference arguments.

Does NOT:

  • Own storage, convert values, or read the blackboard; the binding runtime materializes the values before the invocation.

C#
public int Count { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:260

Gets the number of materialized arguments.

C#
public bool Boolean(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:263

Reads the exact bool argument at the ordinal.

C#
public byte Byte(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:269

Reads the exact byte argument at the ordinal.

C#
public char Char(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:290

Reads the exact char argument at the ordinal.

C#
public double Double(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:296

Reads the exact double argument at the ordinal.

C#
public Unity.Entities.Entity EntityId(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:331-339

Reads the exact Entities Entity argument at the ordinal.

C#
public TEnum Enum<TEnum>(int ordinal) where TEnum : unmanaged, System.Enum

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:345-356

Reads the exact enum argument at the ordinal from its underlying bits.

C#
public Unity.Mathematics.float2 Float2(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:299-305

Reads the exact float2 argument at the ordinal.

C#
public Unity.Mathematics.float3 Float3(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:308-316

Reads the exact float3 argument at the ordinal.

C#
public Unity.Mathematics.float4 Float4(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:319-328

Reads the exact float4 argument at the ordinal.

C#
public short Int16(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:272

Reads the exact short argument at the ordinal.

C#
public int Int32(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:278

Reads the exact int argument at the ordinal.

C#
public long Int64(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:284

Reads the exact long argument at the ordinal.

C#
public TReference Reference<TReference>(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:359-362

Reads the exact managed Unity-object reference argument at the ordinal.

C#
public int RequestId(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:342

Reads the exact request identifier argument at the ordinal.

C#
public sbyte SByte(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:266

Reads the exact sbyte argument at the ordinal.

C#
public float Single(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:293

Reads the exact float argument at the ordinal.

C#
public ushort UInt16(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:275

Reads the exact ushort argument at the ordinal.

C#
public uint UInt32(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:281

Reads the exact uint argument at the ordinal.

C#
public ulong UInt64(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:287

Reads the exact ulong argument at the ordinal.

C#
public T Unmanaged<T>(int ordinal) where T : unmanaged

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:365-401

Reads an unmanaged developer value from its allocation-free native transport.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberAttribute

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:47-52

Inherits: Attribute

Explicitly exposes one non-public member to Behavior Trees and State Machines authoring.

Place it on the exact method, property, field, or event a graph needs. The declaration keeps its C# accessibility: ordinary code gains no wrapper, no widened declaration, and no generated public facade, and only the prepared graph binding can reach it.

Opt-in changes visibility eligibility only. Signature, value type, accessor direction, target mode, and operation rules stay in force, so an exposed member that breaks one of them stays visible and ruled out for that ordinary reason. A mutable field allows read and write; a readonly or literal field allows read only. The attribute is inherited, so an override of an exposed declaration stays exposed, while anewhiding declaration and a same-named overload each need their own attribute.

Steady-state cost, so a value-typed field can be predicted before it is exposed. A method, property, or event runs through a strongly typed delegate bound once before evaluation and allocates nothing. A field the generated provider can name in C#, which includes a public field and an internal field its assembly can see, compiles to ordinary field access and allocates nothing. Any other field, such as a private one, resolves one field handle once before evaluation and reuses it: a reference-typed field allocates nothing, and a value-typed field costs exactly one box per access. No path performs a member lookup on an evaluation tick.

Responsibilities:

  • Record the developer’s intentional opt-in for one exact declaration.

Does NOT:

  • Change CLR accessibility, admit another overload or backing member, or permit reflective member discovery during graph ticks.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberBindingRuntime

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:53-4531

Implements: IBehaviorMemberCommandSink, IBehaviorLiveMemberCapability, IDisposable

The per-agent member binding runtime that drives one consumer-owned member provider around the shared behavior core.

Responsibilities:

  • Resolve every explicit and agent-relative target exactly once, never substituting a same-type object, and initialize the injected provider with an explicit context carrying this agent’s own managed companion clone and exact typed declared-value access.
  • Validate every declared Out/Ref parameter’s resolved output destination exactly once at construction, checking slot bounds, exact value-kind agreement, and, when the provider supplies it, unmanaged size against the generated provider’s compiled output type size so a stale or mismatched baked artifact fails closed before the provider is initialized rather than dropping or corrupting a write mid-tick.
  • Sample member-to-blackboard notifications and polls before a selected tick, service the shared core’s immediate member requests through a bounded microstep, start and complete deferred coroutine and event operations through the pending-external path, and push changed blackboard fields to writable members after the tick.
  • Own coroutine handles and event subscriptions with generation-tagged lifecycle, releasing them exactly once on completion, interruption, reset, target loss, and disposal, and rejecting stale-generation callbacks.
  • Serve the optional Live member capability: one immutable snapshot per surfaced property or field binding, and one exact typed edit transaction per user commit that preflights completely, invokes the generated setter exactly once, and commits package-owned state only after that call returns.

Does NOT:

  • Discover a member by name at runtime, perform reflective invocation during a tick, allocate on the steady-state path, schedule tree control flow, or reference a game assembly or Bit Quirky Core.
  • Decide an editor control, retry a refused or failed Live transaction, or reverse a side effect customer code performed inside a throwing setter.

C#
public int ActiveDeferredCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:794-808

Gets the number of deferred coroutine or event operations currently in flight.

C#
public BitQuirky.Behavior.Blackboard.BehaviorBlackboardChangeWriter BlackboardWriter { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:382

Gets the central writer for Unity-thread blackboard changes.

C#
public BitQuirky.Behavior.Member.BehaviorMemberDeclaredValues DeclaredValues { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:391

Gets exact typed access to the graph’s declared variables, or null when it declares none.

C#
public int EvaluationIndex { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:493

Gets the index of the last selected evaluation this graph-facing state represents, or -1 before the first one.

C#
public int FaultCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:405

Gets the number of recorded runtime member failures held for reading.

C#
public int FaultOverflowCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:411

Gets the number of runtime member failures dropped after the preallocated record ring filled. A non-zero count means failures kept arriving faster than they were read.

C#
public BitQuirky.Behavior.Diagnostics.BehaviorMemberFaultTrace FaultTrace { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:416

Gets the managed structured-fault companion to the agent’s Burst-safe behavior trace.

C#
public bool HasTargetFailure { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:402

Gets whether an exact resolved target was destroyed after initialization.

C#
public BitQuirky.Behavior.Member.BehaviorLiveAgentIdentity LiveAgentIdentity { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:496-504

Gets the complete identity of the attached running instance.

C#
public int LiveMemberBindingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:507

Gets the number of baked member binding rows. Rows that are not surfaced property or field projections report no snapshot, so this is an addressing range rather than a count of Live editable rows.

C#
public uint LiveRuntimeGeneration { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:487

Gets the monotonic generation of this initialized member runtime. It advances on every Reset, so a Live request pinned to an earlier generation is refused instead of applied to a reinitialized runtime.

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

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:388

Gets this agent’s independently mutable managed companion clone, or null when the graph declares no GameObject-path value.

C#
public int NotificationBindingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:379

Gets the number of authored notification subscriptions held.

C#
public int PollBindingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:373

Gets the number of member blackboard bindings polled each selected tick.

C#
public int PushBindingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:376

Gets the number of member blackboard bindings pushed to their members.

C#
public int RefEvaluationReadingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:453

Gets the number of preallocated live ref-parameter evaluation readings.

C#
public int TargetReadingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:441

Gets the number of preallocated live target readings.

C#
public int UnresolvedTargetCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:438

Gets how many blackboard-variable targets did not resolve on their last evaluation. This is the live reading, never the bake verdict, and it clears as soon as every variable holds a usable object again.

BehaviorMemberBindingRuntime(BakedBehaviorArtifact artifact, NativeArray<byte> blackboard, IBehaviorMemberProvider provider, IReadOnlyList<BehaviorMemberReference> references, GameObject agentGameObject, ExternalServiceCompletionRing completionRing, EntityId entityId, string ownerName, Func<IEnumerator, Coroutine> startCoroutine, Action<Coroutine> stopCoroutine, string graphIdentity, BehaviorManagedBlackboardTemplate managedBlackboard)

Section titled “BehaviorMemberBindingRuntime(BakedBehaviorArtifact artifact, NativeArray<byte> blackboard, IBehaviorMemberProvider provider, IReadOnlyList<BehaviorMemberReference> references, GameObject agentGameObject, ExternalServiceCompletionRing completionRing, EntityId entityId, string ownerName, Func<IEnumerator, Coroutine> startCoroutine, Action<Coroutine> stopCoroutine, string graphIdentity, BehaviorManagedBlackboardTemplate managedBlackboard)”
C#
public BehaviorMemberBindingRuntime(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, Unity.Collections.NativeArray<byte> blackboard, BitQuirky.Behavior.Member.IBehaviorMemberProvider provider, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberReference> references, UnityEngine.GameObject agentGameObject, BitQuirky.Behavior.ExternalService.ExternalServiceCompletionRing completionRing, UnityEngine.EntityId entityId, string ownerName, System.Func<System.Collections.IEnumerator, UnityEngine.Coroutine> startCoroutine, System.Action<UnityEngine.Coroutine> stopCoroutine, string graphIdentity = null, BitQuirky.Behavior.Blackboard.BehaviorManagedBlackboardTemplate managedBlackboard = null)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:190-370

Resolves targets, initializes the provider, and subscribes authored notifications for one GameObject agent. Fails closed on any missing, ambiguous, or wrong-type target and on a provider binding-set fingerprint mismatch.

C#
public void CancelAllDeferred()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:993-1006

Cancels every in-flight deferred operation for a runtime reset or hard cancel.

C#
public void ClearFaults()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:428-431

Clears the recorded runtime member failures after a diagnostic consumer has read them. A steady-state tick never calls this and never records.

C#
public void Dispose()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:1045-1056

Unsubscribes notifications, cancels deferred work, and disposes the provider.

C#
public BitQuirky.Behavior.Member.BehaviorMemberFault FaultAt(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:419-422

Reads one recorded runtime member failure by index.

HandleMemberCommand(in ExternalServiceCommand command, int frameNumber)

Section titled “HandleMemberCommand(in ExternalServiceCommand command, int frameNumber)”
C#
public void HandleMemberCommand(in BitQuirky.Behavior.ExternalService.ExternalServiceCommand command, int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:928-946

Handles one deferred member service command routed from the binding map.

ManagedSlotVersion(int companionSlotIndex)

Section titled “ManagedSlotVersion(int companionSlotIndex)”
C#
public int ManagedSlotVersion(int companionSlotIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:394-399

Reads the preallocated monotonic version of one dense managed slot.

Pause(ref BehaviorRuntimeInstance instance)

Section titled “Pause(ref BehaviorRuntimeInstance instance)”
C#
public void Pause(ref BitQuirky.Behavior.Execution.BehaviorRuntimeInstance instance)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:952-966

Releases active member work and subscriptions while preserving deterministic graph state for a fresh activation after the agent is enabled again.

PushAfterTick(ref BehaviorRuntimeInstance instance, int frameNumber)

Section titled “PushAfterTick(ref BehaviorRuntimeInstance instance, int frameNumber)”
C#
public bool PushAfterTick(ref BitQuirky.Behavior.Execution.BehaviorRuntimeInstance instance, int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:911-925

Pushes changed blackboard fields to their writable members after the core tick.

ReadManagedReference(int blackboardSlotIndex)

Section titled “ReadManagedReference(int blackboardSlotIndex)”
C#
public object ReadManagedReference(int blackboardSlotIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:787-791

Reads one managed reference through the same sidecar the result and getter-sync AnythingToString caches, and every other reference-kind slot, already write through (, Phase 3b), so a test or diagnostic can observe the exact formatted string instance a String-declared destination holds.

C#
public BitQuirky.Behavior.Member.BehaviorMemberRefEvaluationReading ReadRefEvaluation(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:461-476

Reads one live ref-parameter evaluation reading for explicit tooling inspection: the pre-call read, post-call write, and completion outcome the last invocation of that ref-bearing operation observed. Formatting happens only here, never on the evaluation path.

C#
public BitQuirky.Behavior.Member.BehaviorMemberTargetReading ReadTargetReading(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:447-450

Reads one live blackboard-variable target reading for explicit tooling inspection. Formatting happens only here, never on the evaluation path.

RecordExternalMemberWrite(string surfaceName, BehaviorLiveMemberValue confirmedValue)

Section titled “RecordExternalMemberWrite(string surfaceName, BehaviorLiveMemberValue confirmedValue)”
C#
public void RecordExternalMemberWrite(string surfaceName, BitQuirky.Behavior.Member.BehaviorLiveMemberValue confirmedValue)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:729-744

Records one member-originated write for the surfaced binding named surfaceNameas a confirmed governed game write: the same sticky bookkeeping this method’s neighbor keeps for an accepted edit, and RecordGameWriteConfirmationkeeps for a central-writer game write, so the binding’s own next ordinary poll or notification is attributed as a game write once it delivers this exact value, rather than relabeling to an ordinary member sample. Writes no blackboard bytes and advances no evaluation: game code that changes a two-way bound member directly, through its own customer/game path, calls this immediately after the write, and the authored binding’s own getter/notification synchronization alone still carries the value into the graph-facing slot, only at its own next evaluation.

C#
public void Reset()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:1009-1042

Restores the synchronization bookkeeping and cancels deferred work on reset.

C#
public void Resume()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:969-975

Restores authored notification subscriptions after an agent is enabled.

SampleBeforeTick(ref BehaviorRuntimeInstance instance, NativeArray<BehaviorActionRuntimeState> actionStates, int frameNumber, float deltaTime, bool advanceObservation)

Section titled “SampleBeforeTick(ref BehaviorRuntimeInstance instance, NativeArray<BehaviorActionRuntimeState> actionStates, int frameNumber, float deltaTime, bool advanceObservation)”
C#
public bool SampleBeforeTick(ref BitQuirky.Behavior.Execution.BehaviorRuntimeInstance instance, Unity.Collections.NativeArray<BitQuirky.Behavior.Execution.BehaviorActionRuntimeState> actionStates, int frameNumber, float deltaTime, bool advanceObservation = true)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:817-856

Runs the pre-tick member synchronization steps: reconcile cancelled deferred operations, drain fired events into completions, drain member notifications, and poll member-to-blackboard getters. Runs before the shared core tick. Internal immediate drains passadvanceObservationfalse to refresh getters and receiver ownership without advancing the selected event observation.

ServiceImmediateRequest(ref BehaviorRuntimeInstance instance, int frameNumber)

Section titled “ServiceImmediateRequest(ref BehaviorRuntimeInstance instance, int frameNumber)”
C#
public void ServiceImmediateRequest(ref BitQuirky.Behavior.Execution.BehaviorRuntimeInstance instance, int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:862-883

Services one pending immediate member request from the shared core, writing the exact completion code onto the runtime instance member request channel.

SubmitLiveMemberEdit(in BehaviorLiveMemberEditRequest request)

Section titled “SubmitLiveMemberEdit(in BehaviorLiveMemberEditRequest request)”
C#
public BitQuirky.Behavior.Member.BehaviorLiveMemberEditResult SubmitLiveMemberEdit(in BitQuirky.Behavior.Member.BehaviorLiveMemberEditRequest request)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:569-714

Performs one exact typed edit transaction for one user commit, returning the accepted confirmation or the structured refusal.

TryReadLiveMemberSnapshot(int bindingIndex, out BehaviorLiveMemberSnapshot snapshot)

Section titled “TryReadLiveMemberSnapshot(int bindingIndex, out BehaviorLiveMemberSnapshot snapshot)”
C#
public bool TryReadLiveMemberSnapshot(int bindingIndex, out BitQuirky.Behavior.Member.BehaviorLiveMemberSnapshot snapshot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:510-566

Reads one immutable snapshot of the baked binding row. Returns false when the row is out of range or is not a surfaced property or field projection.

WriteManagedReference(int blackboardSlotIndex, object value)

Section titled “WriteManagedReference(int blackboardSlotIndex, object value)”
C#
public void WriteManagedReference(int blackboardSlotIndex, object value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:754-768

Writes one managed reference through the central member-bound blackboard path and immediately pushes an external Unity-thread change to writable members.

WriteManagedReference(int blackboardSlotIndex, Object value)

Section titled “WriteManagedReference(int blackboardSlotIndex, Object value)”
C#
public void WriteManagedReference(int blackboardSlotIndex, UnityEngine.Object value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:774-779

Preserves the original Unity-object-specific public overload while routing it through the generalized managed-reference path.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberContractHash

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3554-3618

Deterministic 64-bit member contract hashing with explicit collision detection.

Responsibilities:

  • Hash a canonical exact member identity into the stable 64-bit contract hash.
  • Find any collision between distinct canonical identities so baking can reject it.

Does NOT:

  • Build canonical identities or decide bake success.

C#
public static ulong Compute(string canonicalIdentity)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3566-3576

Computes the stable FNV-1a 64-bit hash of a canonical identity string.

TryFindCollision(IReadOnlyList<ulong> hashes, IReadOnlyList<string> canonicalIdentities, out int firstIndex, out int secondIndex)

Section titled “TryFindCollision(IReadOnlyList<ulong> hashes, IReadOnlyList<string> canonicalIdentities, out int firstIndex, out int secondIndex)”
C#
public static bool TryFindCollision(System.Collections.Generic.IReadOnlyList<ulong> hashes, System.Collections.Generic.IReadOnlyList<string> canonicalIdentities, out int firstIndex, out int secondIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3582-3615

Finds the first pair whose hashes are equal while their canonical identities differ. Returns false when every equal hash also has an identical canonical identity.

BehaviorMemberConverterRegistrationException

Section titled “BehaviorMemberConverterRegistrationException”

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberConverterRegistrationException

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:57-79

Inherits: Exception

Thrown when a converter registration fails the source-emittable static-call contract.

Responsibilities:

  • Name the registration’s exact source and target types and the one rejection reason.

Does NOT:

  • Retry, coerce, or partially accept a rejected registration.

C#
public BitQuirky.Behavior.Member.BehaviorMemberConverterRejectionReason Reason { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:78

Gets the exact reason the registration was rejected.

C#
public System.Type SourceType { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:72

Gets the registration’s declared source type.

C#
public System.Type TargetType { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:75

Gets the registration’s declared target type.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberConverterRegistry

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:115-401

An injected, non-static registration surface for project-specific node-parameter conversions (, Phase 4, //).

Responsibilities:

  • Accept a one-directional (RegisterOneWay) or bidirectional (RegisterTwoWay) conversion between two exact CLR types, validating the supplied delegate’s backing method against the source-emittable static-call contract before recording only its (DeclaringType, MethodName)identity and discarding the delegate.
  • Resolve a directional(source, target)pair to its baked identity, or report that pair as ambiguous when more than one registration claims it.

Does NOT:

  • Store a delegate, invoke a conversion, or hold any mutable state reachable through a static field orInstanceproperty (Constitution Principle VI). An instance is constructed fresh for one bake operation and discarded once generation reads its baked identities.

RegisterOneWay<TSource, TTarget>(Func<TSource, TTarget> convert)

Section titled “RegisterOneWay<TSource, TTarget>(Func<TSource, TTarget> convert)”
C#
public void RegisterOneWay<TSource, TTarget>(System.Func<TSource, TTarget> convert)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:156-165

Registers a one-directional conversion fromTSourceto TTarget. The reverse direction is never admitted by this call; it is rejected the same as any other unsupported pair unless separately registered.

Exceptions

RegisterTwoWay<TSource, TTarget>(Func<TSource, TTarget> convert, Func<TTarget, TSource> reverseConvert)

Section titled “RegisterTwoWay<TSource, TTarget>(Func<TSource, TTarget> convert, Func<TTarget, TSource> reverseConvert)”
C#
public void RegisterTwoWay<TSource, TTarget>(System.Func<TSource, TTarget> convert, System.Func<TTarget, TSource> reverseConvert)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:178-197

Registers a bidirectional conversion betweenTSourceand TTarget: both convertand reverseConvertmust independently satisfy the source-emittable static-call contract. Only a pair registered through this method is ever admitted as two-way; two independently registered one-way conversions covering the same two directions never qualify merely because both directions happen to resolve.

Exceptions

Category: Member binding

C#
enum BitQuirky.Behavior.Member.BehaviorMemberConverterRejectionReason

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:20-46

Underlying type: byte

The stable reason a converter registration was rejected.

Responsibilities:

  • Name every way a supplied delegate fails the source-emittable static-call contract.

Does NOT:

C#
AmbiguousOverload = 4

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:41

More than one public static single-parameter method on the declaring type shares this name and accepts the registration’s source type: the literal call site would not resolve to one method.

C#
CompilerGenerated = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:28

The method carries CompilerGeneratedAttribute, or its name is not a valid C# identifier: no literal source name exists to emit.

C#
GenericMethod = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:36

The method is generic, open or closed: no single non-generic call site can be emitted from only its declaring type and name.

C#
InaccessibleDeclaringType = 5

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:45

The declaring type, or a type it is nested inside, is not public: the emitted call site could not compile from another assembly.

C#
InaccessibleMethod = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:32

The method is static but not public: the emitted call site could not reach it from the generated caller’s assembly.

C#
NotStatic = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:24

The delegate’s method is an instance method: a closure, local function capturing state, or bound instance delegate.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberCoroutineOutcome

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:176-201

Optional terminal marker yielded by a bound coroutine.

Responsibilities:

  • Carry one exact terminal member outcome through Unity’s coroutine protocol.

Does NOT:

  • Schedule, stop, or own the coroutine.

C#
public static BitQuirky.Behavior.Member.BehaviorMemberCoroutineOutcome Failed { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:199-200

Shared marker a bound coroutine yields to finish as a failure. Immutable, so yielding it allocates nothing.

C#
public BitQuirky.Behavior.Member.BehaviorMemberInvocationStatus Status { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:186

Gets the exact terminal status.

C#
public static BitQuirky.Behavior.Member.BehaviorMemberCoroutineOutcome Succeeded { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:192-193

Shared marker a bound coroutine yields to finish as a success. Immutable, so yielding it allocates nothing.

BehaviorMemberCoroutineOutcome(BehaviorMemberInvocationStatus status)

Section titled “BehaviorMemberCoroutineOutcome(BehaviorMemberInvocationStatus status)”
C#
public BehaviorMemberCoroutineOutcome(BitQuirky.Behavior.Member.BehaviorMemberInvocationStatus status)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:180-183

Creates an exact terminal marker.

Category: Member binding

C#
readonly struct BitQuirky.Behavior.Member.BehaviorMemberDeclaredDefault

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3638-3687

One derived description of a parameter’s current concrete compile-time default.

Responsibilities:

  • Carry the exact parameter type, the bounded value classification, the reflected value, the canonical authored display spelling, the canonical generated C# payload, the culture-independent declaration digest, and the reachable override sources.

Does NOT:

  • Enter authored source. It is derived from the live declaration on every use, so a changed declaration produces a new descriptor without touching the graph’s text.

C#
public ulong DeclarationHash { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3680

Gets the culture-independent digest of the exact type and tagged value.

C#
public string DisplayLiteral { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3672

Gets the canonical authored spelling the editor controls show.

C#
public string GeneratedLiteral { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3677

Gets the canonical C# payload provider generation wraps in the exact parameter type.

C#
public bool IsConcrete { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3686

Gets whether this descriptor describes a concrete declared value.

C#
public BitQuirky.Behavior.Member.BehaviorMemberDeclaredDefaultOverride OverrideCapability { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3683

Gets the override sources the existing authoring vocabulary can reach.

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

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3663

Gets the exact parameter type identity the value belongs to.

C#
public object Value { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3669

Gets the reflected declared value; null for a null reference default.

C#
public BitQuirky.Behavior.Member.BehaviorMemberDeclaredDefaultKind ValueKind { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3666

Gets the bounded classification of the declared value.

BehaviorMemberDeclaredDefault(BehaviorSourceTypeIdentity parameterType, BehaviorMemberDeclaredDefaultKind valueKind, object value, string displayLiteral, string generatedLiteral, ulong declarationHash, BehaviorMemberDeclaredDefaultOverride overrideCapability)

Section titled “BehaviorMemberDeclaredDefault(BehaviorSourceTypeIdentity parameterType, BehaviorMemberDeclaredDefaultKind valueKind, object value, string displayLiteral, string generatedLiteral, ulong declarationHash, BehaviorMemberDeclaredDefaultOverride overrideCapability)”
C#
public BehaviorMemberDeclaredDefault(BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity parameterType, BitQuirky.Behavior.Member.BehaviorMemberDeclaredDefaultKind valueKind, object value, string displayLiteral, string generatedLiteral, ulong declarationHash, BitQuirky.Behavior.Member.BehaviorMemberDeclaredDefaultOverride overrideCapability)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3644-3660

Creates one declared-default descriptor.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberDeclaredDefaultContract

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3703-4210

The one shared classifier of concrete compile-time parameter defaults.

Responsibilities:

  • Decide whether one exact parameter carries a concrete declared value, and derive its canonical display spelling, generated C# payload, declaration digest, and reachable override sources from the live declaration alone.

Does NOT:

  • Substitutedefault(T)for an absent or unsupported value, read authored source, resolve an overload, or cache a declaration across a domain reload.

HasConcreteDefault(ParameterInfo parameter)

Section titled “HasConcreteDefault(ParameterInfo parameter)”
C#
public static bool HasConcreteDefault(System.Reflection.ParameterInfo parameter)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3783-3784

Returns whether one exact parameter carries a concrete compile-time default.

TryDescribe(ParameterInfo parameter, out BehaviorMemberDeclaredDefault descriptor)

Section titled “TryDescribe(ParameterInfo parameter, out BehaviorMemberDeclaredDefault descriptor)”
C#
public static bool TryDescribe(System.Reflection.ParameterInfo parameter, out BitQuirky.Behavior.Member.BehaviorMemberDeclaredDefault descriptor)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3737-3778

Describes the concrete compile-time default of one exact parameter. Returns false for a required parameter, a parameter array, any by-reference shape, optional metadata with no value, and a value with no deterministic exact representation.

TryDescribe(Type parameterType, object value, out BehaviorMemberDeclaredDefault descriptor)

Section titled “TryDescribe(Type parameterType, object value, out BehaviorMemberDeclaredDefault descriptor)”
C#
public static bool TryDescribe(System.Type parameterType, object value, out BitQuirky.Behavior.Member.BehaviorMemberDeclaredDefault descriptor)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3790-3828

Describes one exact parameter type and reflected declaration value. Absence markers and values with no deterministic exact representation are refused.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberDeclaredValues

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1107-1395

Exact typed access to one agent’s declared blackboard variables.

Responsibilities:

  • Resolve a declared variable to its baked row once, during initialization, so a generated accessor never looks a name up while the graph is running.
  • Read and write every carried category in its own unmanaged type, including a project-defined struct whose fields are all unmanaged, and the elements and live length of a carried collection, through the central change writer.

Does NOT:

  • Hold a managed value, box a carried value, or substitute a value for a variable whose storage does not match the requested access.

C#
public int Count { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1144

Gets the number of declared variables the graph authored, in author order.

C#
public int BlackboardSlotIndex(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1160

Gets the native blackboard slot of one variable, or -1 when it is managed.

C#
public string DeclaredType(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1150-1151

Gets the complete canonical declared type identity of one variable.

C#
public int ElementCapacity(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1235

Gets the authored capacity of one carried collection.

C#
public int ElementCount(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1225

Gets the live element count of one carried collection.

C#
public int ManagedSlotIndex(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1157

Gets the dense companion ordinal of one variable, or -1 when it is carried.

C#
public string Name(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1147

Gets the exact declared name of one variable.

C#
public T Read<T>(int index) where T : unmanaged

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1198-1204

Reads one carried variable in its exact unmanaged type. Reading a variable through a type the graph did not declare is refused rather than reinterpreted.

ReadElement<T>(int index, int elementIndex)

Section titled “ReadElement<T>(int index, int elementIndex)”
C#
public T ReadElement<T>(int index, int elementIndex) where T : unmanaged

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1238-1242

Reads one element of a carried collection in its exact unmanaged type.

C#
public int Require(string name)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1184-1192

Resolves one declared variable by its exact name, or fails closed. A generated provider calls this while it initializes, never while the graph is running.

SetElementCount(int index, int elementCount)

Section titled “SetElementCount(int index, int elementCount)”
C#
public void SetElementCount(int index, int elementCount)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1228-1232

Sets the live element count of one carried collection.

C#
public int SourceLine(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1163

Gets the one-based source line the variable was declared on.

C#
public BitQuirky.Behavior.Baked.BakedDeclaredValueStorage Storage(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1154

Gets the derived storage of one variable.

C#
public bool TryFind(string name, out int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1166-1178

Finds one declared variable by its exact name.

C#
public void Write<T>(int index, T value) where T : unmanaged

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1210-1222

Writes one carried variable in its exact unmanaged type. Writing a variable through a type the graph did not declare is refused rather than reinterpreted.

WriteElement<T>(int index, int elementIndex, T value)

Section titled “WriteElement<T>(int index, int elementIndex, T value)”
C#
public void WriteElement<T>(int index, int elementIndex, T value) where T : unmanaged

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1245-1253

Writes one element of a carried collection in its exact unmanaged type.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberDelegateResolver

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberDelegateResolver.cs:24-137

Shared, one-time reflective resolution of a generated provider’s Method-kind accessor into a strongly typed, allocation-free delegate. Responsibilities: reflect the customer’s exact live method once, at IBehaviorMemberProvider.Initializetime, matching declaring type, name, static-ness, closed generic arguments, return type, and each parameter’s type/by-ref/out/in/params-array shape exactly, then bind it asTDelegate; throw MissingMethodExceptionthe moment a stale generated provider’s bound method no longer matches a live overload. Keeping this one search here, instead of duplicated inline in every generated provider, is what lets a generated file’s compiled text mention no reflection API at all while every evaluation after initialization still calls the resolved delegate directly, with zero managed allocation and zero further reflection (, P2-D1/G1). Does NOT: cache a result across calls, invoke the resolved delegate, or run more than once per accessor; every call site is generated exactly once, insideInitialize.

ResolveDelegate<TDelegate>(Type declaringType, string memberName, bool isStatic, Type[] genericArgumentTypes, Type returnType, Type[] parameterTypes, bool[] parameterIsByRef, bool[] parameterIsOut, bool[] parameterIsIn, bool[] parameterIsParams)

Section titled “ResolveDelegate<TDelegate>(Type declaringType, string memberName, bool isStatic, Type[] genericArgumentTypes, Type returnType, Type[] parameterTypes, bool[] parameterIsByRef, bool[] parameterIsOut, bool[] parameterIsIn, bool[] parameterIsParams)”
C#
public static TDelegate ResolveDelegate<TDelegate>(System.Type declaringType, string memberName, bool isStatic, System.Type[] genericArgumentTypes, System.Type returnType, System.Type[] parameterTypes, bool[] parameterIsByRef, bool[] parameterIsOut, bool[] parameterIsIn, bool[] parameterIsParams) where TDelegate : System.Delegate

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberDelegateResolver.cs:34-52

Resolves the exact live method the generation-time identity described and returns it bound asTDelegate.

Category: Member binding

C#
readonly struct BitQuirky.Behavior.Member.BehaviorMemberEventConditionSink

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1057-1071

Handle a generated event condition subscribe accessor connects one event source to.

Responsibilities:

  • Record that the event of one active event condition activation fired so the binding runtime completes the owning node with the authored outcome before the next tick.

Does NOT:

  • Read the event arguments, allocate, or run the graph. A firing that arrives after the activation is cancelled or reset is ignored by activation generation.

C#
public void Fire()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1070

Records that the event fired for this activation.

Category: Member binding

C#
readonly struct BitQuirky.Behavior.Member.BehaviorMemberInvocationResult

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:100-165

The exact result of one generated member accessor invocation.

Responsibilities:

  • Report the terminal behavior outcome (or running for a started coroutine) so the shared core can resume the owning node without boxing.

Does NOT:

  • Carry the returned member value; a returned value is written through the result sink.

C#
public static BitQuirky.Behavior.Member.BehaviorMemberInvocationResult Failed { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:116-117

One failed result.

C#
public static BitQuirky.Behavior.Member.BehaviorMemberInvocationResult Running { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:120-121

One running result for a coroutine that started this tick.

C#
public BitQuirky.Behavior.Member.BehaviorMemberInvocationStatus Status { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:109

Gets the terminal or running status of the invocation.

C#
public static BitQuirky.Behavior.Member.BehaviorMemberInvocationResult Succeeded { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:112-113

One succeeded result.

BehaviorMemberInvocationResult(BehaviorMemberInvocationStatus status)

Section titled “BehaviorMemberInvocationResult(BehaviorMemberInvocationStatus status)”
C#
public BehaviorMemberInvocationResult(BitQuirky.Behavior.Member.BehaviorMemberInvocationStatus status)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:103-106

Creates one invocation result carrying the exact status.

C#
public static BitQuirky.Behavior.Member.BehaviorMemberInvocationResult FromCondition(bool succeeded)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:152-155

Maps an authored condition outcome to a completed invocation status.

FromCondition(bool condition, BehaviorMemberInvocationStatus trueStatus, BehaviorMemberInvocationStatus falseStatus)

Section titled “FromCondition(bool condition, BehaviorMemberInvocationStatus trueStatus, BehaviorMemberInvocationStatus falseStatus)”
C#
public static BitQuirky.Behavior.Member.BehaviorMemberInvocationResult FromCondition(bool condition, BitQuirky.Behavior.Member.BehaviorMemberInvocationStatus trueStatus, BitQuirky.Behavior.Member.BehaviorMemberInvocationStatus falseStatus)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:158-164

Maps a boolean comparison to two exact authored outcomes.

C#
public static BitQuirky.Behavior.Member.BehaviorMemberInvocationResult FromStatus(BitQuirky.Behavior.Nodes.BehaviorNodeStatus status)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:124-149

Maps a shared node status to the exact invocation status.

Category: Member binding

C#
enum BitQuirky.Behavior.Member.BehaviorMemberInvocationStatus

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:66-88

Underlying type: byte

Outcome kind of one generated member accessor invocation.

Responsibilities:

  • Carry the exact terminal behavior outcome, including status forms beyond success and failure, or the running form of a started coroutine.

Does NOT:

  • Reference the shared execution result enum; the runtime maps this to it.

C#
AuthorityMismatch = 6

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:87

The operation reported an authority mismatch.

C#
Blocked = 3

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:78

The operation reported the blocked status.

C#
Failed = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:72

The operation completed and failed.

C#
Interrupted = 5

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:84

The operation was interrupted.

C#
Running = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:75

A coroutine started and remains running until one later completion.

C#
Succeeded = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:69

The operation completed and succeeded.

C#
Timeout = 4

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:81

The operation reported the timeout status.

Category: Member binding

C#
readonly struct BitQuirky.Behavior.Member.BehaviorMemberNotificationSink

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1014-1028

Handle a generated subscribe accessor connects one member notification source to.

Responsibilities:

  • Record that one surfaced member-to-blackboard binding has a pending change so the binding runtime re-reads its value before the next selected tick.

Does NOT:

  • Read the member, allocate, or run the graph; it only marks the binding pending.

C#
public void Notify()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1027

Records a pending change for the bound member-to-blackboard binding.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberProviderContext

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1416-1646

The explicit per-agent execution context a generated member provider is initialized with.

Responsibilities:

  • Present the exact resolved targets, materialized argument view, result sink, coroutine host, and notification sinks a generated accessor needs to make a direct, non-boxing call without discovering a member at runtime.
  • Present this agent’s independently mutable managed companion clone and exact typed access to every declared blackboard variable, so a generated accessor reads and writes a declared value in its own type rather than through a general object store.

Does NOT:

  • Schedule graph control flow, search for a target, store global state, or own gameplay algorithms.

C#
public BitQuirky.Behavior.Member.BehaviorMemberArgumentView Args { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1586-1595

Gets the materialized argument view for the current invocation.

C#
public System.Threading.CancellationToken CancellationToken { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1627

Gets the runtime-owned token for the deferred invocation currently being serviced. The runtime requests cancellation when that invocation is interrupted, reset, loses its target, or reaches its authored give-up budget.

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

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1466

Gets this agent’s independently mutable managed companion clone, or null when the graph declares no GameObject-path value. A generated provider casts it to its exact generated type once, while it initializes, and never again.

C#
public int ManagedSlotCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1557-1558

Gets the dense managed slot count the bound companion clone declares.

C#
public BitQuirky.Behavior.Member.BehaviorMemberResultSink Result { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1598

Gets the result sink for the current invocation.

C#
public int TargetCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1569

Gets the number of resolved or dynamically populated member targets.

C#
public BitQuirky.Behavior.Member.BehaviorMemberDeclaredValues Values { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1472

Gets exact typed access to the graph’s declared blackboard variables, or null when the graph declares none.

C#
public void BeginCoroutine(System.Collections.IEnumerator routine)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1638-1645

Begins one owned coroutine for a coroutine member operation.

EventConditionSink(int activationGeneration)

Section titled “EventConditionSink(int activationGeneration)”
C#
public BitQuirky.Behavior.Member.BehaviorMemberEventConditionSink EventConditionSink(int activationGeneration)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1634-1635

Gets an event condition sink for the activation generation.

ManagedSlotVersion(int companionSlotIndex)

Section titled “ManagedSlotVersion(int companionSlotIndex)”
C#
public int ManagedSlotVersion(int companionSlotIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1565-1566

Reads the preallocated monotonic version of one dense managed slot. A generated setter bumps it after writing its typed field, so a consumer can observe a managed change without allocating and without comparing values.

C#
public BitQuirky.Behavior.Member.BehaviorMemberNotificationSink NotificationSink(int bindingIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1630-1631

Gets a notification sink for the surfaced binding index.

C#
public BitQuirky.Behavior.Member.BehaviorMemberResultSink Output(int ordinal)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1611-1620

Gets the prepared ref/out destination sink for a materialized argument ordinal. The destination’s exact slot, value kind, and size were validated once when the owning runtime was constructed, so this call performs no discovery, conversion, or fallback: it only routes the caller’s typed write to the fixed slot already proven correct for that ordinal.

ResolveLiveComparisonConstant(int accessorId, bool bakedLiteral)

Section titled “ResolveLiveComparisonConstant(int accessorId, bool bakedLiteral)”
C#
public bool ResolveLiveComparisonConstant(int accessorId, bool bakedLiteral)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1525-1536

The Bool form ofResolveLiveComparisonConstant(, P1): reads the same per-node overlay raw bit pattern, reinterpreted as the node’s own authored Bool comparison constant rather than a float.

ResolveLiveComparisonConstant(int accessorId, int bakedLiteral)

Section titled “ResolveLiveComparisonConstant(int accessorId, int bakedLiteral)”
C#
public int ResolveLiveComparisonConstant(int accessorId, int bakedLiteral)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1543-1554

The Int32 form ofResolveLiveComparisonConstant(, P1): reads the same per-node overlay raw bit pattern, reinterpreted as the node’s own authored Int32 comparison constant rather than a float.

ResolveLiveComparisonConstant(int accessorId, float bakedLiteral)

Section titled “ResolveLiveComparisonConstant(int accessorId, float bakedLiteral)”
C#
public float ResolveLiveComparisonConstant(int accessorId, float bakedLiteral)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1509-1518

Resolves a generated comparison accessor’s compiled Float32 literal against the currently invoked node’s own accepted live-value edit, consulting the override ahead of the baked literal exactly as the entity path’s BehaviorEntityMemberExecutor.ComparisonHoldsconsults its baked constant. ReturnsbakedLiteralunchanged when no overlay carrier is attached,CurrentNodeIndexcarries no slot, or that node’s slot carries no accepted edit.accessorIdis unused by this resolution: the currently invoked node is what identifies the right overlay slot, not the (possibly shared) accessor id, but the parameter is kept so every already-generated call site keeps compiling unchanged. , P1: two sibling overloads below resolve the Bool and Int32 forms of the exact same comparison constant; the generator picks the matching overload by the literal’s own compiled type, and all three read the overlay’s raw bit pattern reinterpreted at the node’s own authored kind, never assuming Float32.

C#
public BitQuirky.Behavior.Member.BehaviorMemberResultSink ResultAt(int blackboardSlotIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1601-1602

Gets a result sink for an explicit baked blackboard slot.

C#
public UnityEngine.Object Target(int targetIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1572-1575

Gets the exact resolved target at the provider target index, or null.

C#
public TTarget Target<TTarget>(int targetIndex) where TTarget : class

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1578-1583

Gets the exact resolved target cast to its assigned type, or null.

Category: Member binding

C#
readonly struct BitQuirky.Behavior.Member.BehaviorMemberResultSink

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:436-905

Non-boxing typed sink one member accessor uses to write its returned value.

Responsibilities:

  • Route the exact returned value of a method result or property/field read to the surfaced blackboard slot of the current operation.

Does NOT:

  • Convert values; the generated accessor emits the exact cast to the destination kind.

C#
public int SlotIndex { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:455

Gets this sink’s own resolved destination slot index (, Phase 3b fix round 1, finding P2): aFormatted*caller captures a sink instance once and passes this back as its own cache-key/destination argument, so an_context.Output(...) sink’s runtime-resolved slot – unknown at code-generation time, unlike _context.ResultAt(resultIndex)’s literal resultIndex– reaches the identical revision-gated cache the Result/Property/Field flow already uses.

C#
public void Boolean(bool value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:458

Writes a bool result to the surfaced slot.

C#
public void Byte(byte value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:464

Writes a byte result to the surfaced slot.

C#
public void Char(char value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:485

Writes a char result to the surfaced slot.

C#
public void Double(double value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:491-492

Writes a double result to the surfaced slot.

C#
public void EntityId(Unity.Entities.Entity value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:521-525

Writes an Entities Entity result to the surfaced slot.

C#
public void Enum<TEnum>(TEnum value) where TEnum : unmanaged, System.Enum

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:531-541

Writes an enum result to the surfaced slot from its underlying bits.

C#
public void Float2(Unity.Mathematics.float2 value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:495-500

Writes a float2 result to the surfaced slot.

C#
public void Float3(Unity.Mathematics.float3 value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:503-508

Writes a float3 result to the surfaced slot.

C#
public void Float4(Unity.Mathematics.float4 value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:511-518

Writes a float4 result to the surfaced slot.

FormattedBoolean(bool value, int formattedResultSlot)

Section titled “FormattedBoolean(bool value, int formattedResultSlot)”
C#
public void FormattedBoolean(bool value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:558-567

Formats abool result through the revision-gated AnythingToString result cache (, Phase 3b), writing the canonical"true"/"false" spelling only whenvalue’s raw bits changed since the last invocation atformattedResultSlot.

FormattedBooleanIfChanged(bool value, int formattedResultSlot)

Section titled “FormattedBooleanIfChanged(bool value, int formattedResultSlot)”
C#
public string FormattedBooleanIfChanged(bool value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:735-745

Compares and, on a change, formats aboolresult through the same revision-gated cacheFormattedBooleanuses (, Phase 3b), returning the formatted text ornullon a cache hit instead of writing it itself, so a ManagedCompanion-backedSystem.Stringdestination’s generated setter call can wrap it:string formatted = sink.FormattedBooleanIfChanged(value, resultIndex); if (formatted != null) { SetManagedValue_N(formatted); }.

FormattedByte(byte value, int formattedResultSlot)

Section titled “FormattedByte(byte value, int formattedResultSlot)”
C#
public void FormattedByte(byte value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:582-591

Formats a byte result through the revision-gated result cache (, Phase 3b).

FormattedByteIfChanged(byte value, int formattedResultSlot)

Section titled “FormattedByteIfChanged(byte value, int formattedResultSlot)”
C#
public string FormattedByteIfChanged(byte value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:761-771

Companion-wrapped variant of FormattedByte (, Phase 3b).

FormattedChar(char value, int formattedResultSlot)

Section titled “FormattedChar(char value, int formattedResultSlot)”
C#
public void FormattedChar(char value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:669-678

Formats acharresult through the revision-gated result cache (, Phase 3b), writing the single character itself with no format provider.

FormattedCharIfChanged(char value, int formattedResultSlot)

Section titled “FormattedCharIfChanged(char value, int formattedResultSlot)”
C#
public string FormattedCharIfChanged(char value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:852-862

Companion-wrapped variant of FormattedChar (, Phase 3b).

FormattedDouble(double value, int formattedResultSlot)

Section titled “FormattedDouble(double value, int formattedResultSlot)”
C#
public void FormattedDouble(double value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:693-702

Formats a double result through the revision-gated result cache (, Phase 3b).

FormattedDoubleIfChanged(double value, int formattedResultSlot)

Section titled “FormattedDoubleIfChanged(double value, int formattedResultSlot)”
C#
public string FormattedDoubleIfChanged(double value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:878-888

Companion-wrapped variant of FormattedDouble (, Phase 3b).

FormattedEnum<TEnum>(TEnum value, int formattedResultSlot)

Section titled “FormattedEnum<TEnum>(TEnum value, int formattedResultSlot)”
C#
public void FormattedEnum<TEnum>(TEnum value, int formattedResultSlot) where TEnum : unmanaged, System.Enum

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:710-725

Formats an enum result through the revision-gated result cache (, Phase 3b), reading the exact member name from the baked(underlying value, name)table a negative signed enum, aulong above Int64.MaxValue, and an unnamed [Flags]composite each resolve correctly, never through runtime reflection.

FormattedEnumIfChanged<TEnum>(TEnum value, int formattedResultSlot)

Section titled “FormattedEnumIfChanged<TEnum>(TEnum value, int formattedResultSlot)”
C#
public string FormattedEnumIfChanged<TEnum>(TEnum value, int formattedResultSlot) where TEnum : unmanaged, System.Enum

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:891-904

Companion-wrapped variant of FormattedEnum (, Phase 3b).

FormattedInt16(short value, int formattedResultSlot)

Section titled “FormattedInt16(short value, int formattedResultSlot)”
C#
public void FormattedInt16(short value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:594-603

Formats a short result through the revision-gated result cache (, Phase 3b).

FormattedInt16IfChanged(short value, int formattedResultSlot)

Section titled “FormattedInt16IfChanged(short value, int formattedResultSlot)”
C#
public string FormattedInt16IfChanged(short value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:774-784

Companion-wrapped variant of FormattedInt16 (, Phase 3b).

FormattedInt32(int value, int formattedResultSlot)

Section titled “FormattedInt32(int value, int formattedResultSlot)”
C#
public void FormattedInt32(int value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:618-627

Formats an int result through the revision-gated result cache (, Phase 3b).

FormattedInt32IfChanged(int value, int formattedResultSlot)

Section titled “FormattedInt32IfChanged(int value, int formattedResultSlot)”
C#
public string FormattedInt32IfChanged(int value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:800-810

Companion-wrapped variant of FormattedInt32 (, Phase 3b).

FormattedInt64(long value, int formattedResultSlot)

Section titled “FormattedInt64(long value, int formattedResultSlot)”
C#
public void FormattedInt64(long value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:642-651

Formats a long result through the revision-gated result cache (, Phase 3b).

FormattedInt64IfChanged(long value, int formattedResultSlot)

Section titled “FormattedInt64IfChanged(long value, int formattedResultSlot)”
C#
public string FormattedInt64IfChanged(long value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:826-836

Companion-wrapped variant of FormattedInt64 (, Phase 3b).

FormattedSByte(sbyte value, int formattedResultSlot)

Section titled “FormattedSByte(sbyte value, int formattedResultSlot)”
C#
public void FormattedSByte(sbyte value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:570-579

Formats an sbyte result through the revision-gated result cache (, Phase 3b).

FormattedSByteIfChanged(sbyte value, int formattedResultSlot)

Section titled “FormattedSByteIfChanged(sbyte value, int formattedResultSlot)”
C#
public string FormattedSByteIfChanged(sbyte value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:748-758

Companion-wrapped variant of FormattedSByte (, Phase 3b).

FormattedSingle(float value, int formattedResultSlot)

Section titled “FormattedSingle(float value, int formattedResultSlot)”
C#
public void FormattedSingle(float value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:681-690

Formats a float result through the revision-gated result cache (, Phase 3b).

FormattedSingleIfChanged(float value, int formattedResultSlot)

Section titled “FormattedSingleIfChanged(float value, int formattedResultSlot)”
C#
public string FormattedSingleIfChanged(float value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:865-875

Companion-wrapped variant of FormattedSingle (, Phase 3b).

FormattedUInt16(ushort value, int formattedResultSlot)

Section titled “FormattedUInt16(ushort value, int formattedResultSlot)”
C#
public void FormattedUInt16(ushort value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:606-615

Formats a ushort result through the revision-gated result cache (, Phase 3b).

FormattedUInt16IfChanged(ushort value, int formattedResultSlot)

Section titled “FormattedUInt16IfChanged(ushort value, int formattedResultSlot)”
C#
public string FormattedUInt16IfChanged(ushort value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:787-797

Companion-wrapped variant of FormattedUInt16 (, Phase 3b).

FormattedUInt32(uint value, int formattedResultSlot)

Section titled “FormattedUInt32(uint value, int formattedResultSlot)”
C#
public void FormattedUInt32(uint value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:630-639

Formats a uint result through the revision-gated result cache (, Phase 3b).

FormattedUInt32IfChanged(uint value, int formattedResultSlot)

Section titled “FormattedUInt32IfChanged(uint value, int formattedResultSlot)”
C#
public string FormattedUInt32IfChanged(uint value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:813-823

Companion-wrapped variant of FormattedUInt32 (, Phase 3b).

FormattedUInt64(ulong value, int formattedResultSlot)

Section titled “FormattedUInt64(ulong value, int formattedResultSlot)”
C#
public void FormattedUInt64(ulong value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:654-663

Formats a ulong result through the revision-gated result cache (, Phase 3b).

FormattedUInt64IfChanged(ulong value, int formattedResultSlot)

Section titled “FormattedUInt64IfChanged(ulong value, int formattedResultSlot)”
C#
public string FormattedUInt64IfChanged(ulong value, int formattedResultSlot)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:839-849

Companion-wrapped variant of FormattedUInt64 (, Phase 3b).

C#
public void Int16(short value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:467

Writes a short result to the surfaced slot.

C#
public void Int32(int value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:473

Writes an int result to the surfaced slot.

C#
public void Int64(long value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:479

Writes a long result to the surfaced slot.

C#
public void Reference(object value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:544

Writes a managed reference result to the surfaced slot.

C#
public void RequestId(int value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:528

Writes a request identifier result to the surfaced slot.

C#
public void SByte(sbyte value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:461

Writes an sbyte result to the surfaced slot.

C#
public void Single(float value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:488

Writes a float result to the surfaced slot.

C#
public void UInt16(ushort value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:470

Writes a ushort result to the surfaced slot.

C#
public void UInt32(uint value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:476

Writes a uint result to the surfaced slot.

C#
public void UInt64(ulong value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:482

Writes a ulong result to the surfaced slot.

C#
public void Unmanaged<T>(T value) where T : unmanaged

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:547-550

Writes an unmanaged developer value through allocation-free native transport.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberValueCompatibility

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1412-2439

The one directional exact-type compatibility service every member value role uses.

Responsibilities:

  • Decide the direction a role’s value moves, project a declared variable’s shape and exact element identities into the exact type it presents, and answer whether that type can serve one member role in that direction.
  • Require exact identity for every collection, dictionary and struct, keep reference assignability directional, and keep the already-permitted numeric and enum conversions available only where they were already permitted.
  • State the writability verdict of an entry that reads correctly but that no graph write may target, so an entry a member node surfaces stays listed as read-only rather than reading as a variable that vanished.

Does NOT:

  • Substitute a same-named or same-typed variable, coerce a value, or edit the graph.

Evaluate(BehaviorDeclaredValueDescriptor descriptor, BehaviorMemberValueRequirement requirement, BehaviorMemberConverterRegistry registry)

Section titled “Evaluate(BehaviorDeclaredValueDescriptor descriptor, BehaviorMemberValueRequirement requirement, BehaviorMemberConverterRegistry registry)”
C#
public static BitQuirky.Behavior.Member.BehaviorMemberVariableVerdict Evaluate(BitQuirky.Behavior.Authoring.BehaviorDeclaredValueDescriptor descriptor, BitQuirky.Behavior.Member.BehaviorMemberValueRequirement requirement, BitQuirky.Behavior.Member.BehaviorMemberConverterRegistry registry = null)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1531-1555

Evaluates one resolved declaration against one member-role requirement.

EvaluateSurfaced(BehaviorSourceTypeIdentity surfacedType, BehaviorMemberValueRequirement requirement, BehaviorMemberConverterRegistry registry)

Section titled “EvaluateSurfaced(BehaviorSourceTypeIdentity surfacedType, BehaviorMemberValueRequirement requirement, BehaviorMemberConverterRegistry registry)”
C#
public static BitQuirky.Behavior.Member.BehaviorMemberVariableVerdict EvaluateSurfaced(BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity surfacedType, BitQuirky.Behavior.Member.BehaviorMemberValueRequirement requirement, BitQuirky.Behavior.Member.BehaviorMemberConverterRegistry registry = null)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1561-1582

Evaluates one automatically surfaced blackboard entry, whose value is one instance of the exact type its projecting member declares.

FlowOf(BehaviorSourceMemberOperationKind operationKind, BehaviorSourceMemberDirection direction, BehaviorMemberValueRole role)

Section titled “FlowOf(BehaviorSourceMemberOperationKind operationKind, BehaviorSourceMemberDirection direction, BehaviorMemberValueRole role)”
C#
public static BitQuirky.Behavior.Member.BehaviorMemberValueFlow FlowOf(BitQuirky.Behavior.Authoring.BehaviorSourceMemberOperationKind operationKind, BitQuirky.Behavior.Authoring.BehaviorSourceMemberDirection direction, BitQuirky.Behavior.Member.BehaviorMemberValueRole role)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1421-1451

Decides the direction one member role moves its value. An argument is read from the blackboard, a stored result is written to it, and a property or field follows the binding’s authored direction.

Missing(string variableName, BehaviorMemberValueRequirement requirement)

Section titled “Missing(string variableName, BehaviorMemberValueRequirement requirement)”
C#
public static BitQuirky.Behavior.Member.BehaviorMemberVariableVerdict Missing(string variableName, BitQuirky.Behavior.Member.BehaviorMemberValueRequirement requirement)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1585-1596

Builds the verdict of a saved selection that is no longer on the blackboard.

NotWritable(string variableName, BehaviorMemberValueRequirement requirement)

Section titled “NotWritable(string variableName, BehaviorMemberValueRequirement requirement)”
C#
public static BitQuirky.Behavior.Member.BehaviorMemberVariableVerdict NotWritable(string variableName, BitQuirky.Behavior.Member.BehaviorMemberValueRequirement requirement)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1604-1615

Builds the verdict of an entry that exists and reads correctly but that no graph write may target. A member node surfaces its own value, so the graph observes that entry rather than owning it, and an output-only parameter cannot write there. The entry stays listed with this exact reason instead of disappearing.

QualifierLine(BehaviorSourceDeclaredValue declaration)

Section titled “QualifierLine(BehaviorSourceDeclaredValue declaration)”
C#
public static string QualifierLine(BitQuirky.Behavior.Authoring.BehaviorSourceDeclaredValue declaration)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1681-1704

Builds one labeled qualifier line per exact type in reading order.

QualifierLine(BehaviorSourceTypeIdentity valueType, BehaviorSourceTypeIdentity keyType)

Section titled “QualifierLine(BehaviorSourceTypeIdentity valueType, BehaviorSourceTypeIdentity keyType)”
C#
public static string QualifierLine(BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity valueType, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity keyType)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1710-1717

Builds the namespace and assembly line that tells two same-short-named candidates apart, promoting the namespace first and then the assembly.

C#
public static bool RequiresExactIdentity(System.Type type)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1621-1643

Returns whether a type keeps nominal identity when written, or when no ordinary argument reference upcast applies: collections, dictionaries, and non-scalar structs.

RoleOf(BehaviorSourceMemberOperationKind operationKind)

Section titled “RoleOf(BehaviorSourceMemberOperationKind operationKind)”
C#
public static BitQuirky.Behavior.Member.BehaviorMemberValueRole RoleOf(BitQuirky.Behavior.Authoring.BehaviorSourceMemberOperationKind operationKind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1454-1469

Maps one operation kind to the member value role its stored value serves.

C#
public static string SentenceStart(string text)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:2307-2312

Capitalizes the first letter of a reason so it reads as a sentence.

ShortName(BehaviorSourceTypeIdentity identity)

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

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1720-1736

Builds the short name of one exact type identity.

TryGetPresentedType(BehaviorDeclaredValueDescriptor descriptor, out Type presented)

Section titled “TryGetPresentedType(BehaviorDeclaredValueDescriptor descriptor, out Type presented)”
C#
public static bool TryGetPresentedType(BitQuirky.Behavior.Authoring.BehaviorDeclaredValueDescriptor descriptor, out System.Type presented)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1487-1528

Projects a resolved declaration into the exact type it presents to a member: the element type itself, a closed list or array of it, or a closed dictionary of the exact key and value identities.

TryResolveIdentity(BehaviorSourceTypeIdentity identity, out Type type)

Section titled “TryResolveIdentity(BehaviorSourceTypeIdentity identity, out Type type)”
C#
public static bool TryResolveIdentity(BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity identity, out System.Type type)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1475-1480

Resolves one exact type record to exactly one runtime type, applying the same recorded-assembly rules the declared-value resolver applies.

TypeLabel(BehaviorDeclaredValueShape shape, BehaviorSourceTypeIdentity valueType, BehaviorSourceTypeIdentity keyType)

Section titled “TypeLabel(BehaviorDeclaredValueShape shape, BehaviorSourceTypeIdentity valueType, BehaviorSourceTypeIdentity keyType)”
C#
public static string TypeLabel(BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShape shape, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity valueType, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity keyType)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1646-1667

Builds the short type label of one declared shape and its exact identities.

TypeLabel(BehaviorSourceDeclaredValue declaration)

Section titled “TypeLabel(BehaviorSourceDeclaredValue declaration)”
C#
public static string TypeLabel(BitQuirky.Behavior.Authoring.BehaviorSourceDeclaredValue declaration)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1670-1678

Builds the short label for one declaration at any collection depth.

C#
public static string WithIndefiniteArticle(string typeName)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:2246-2275

Prefixes a type name with the article it is read aloud with: “an int”, “an AlarmLevel”, “a float”. A leadingureads as “you” in the type names a binding meets (uint, ulong, Unity, Universal), so it takes “a”, except the negating prefix “un” before anything buti (Unmanaged, Unknown), which reads “uhn” and takes “an”. An all-caps initialism prefix (XML, URL, UI) is read letter by letter, so its article instead follows the spoken name of its own first letter: “an XML document” reads the “ex” in XML, not a word starting with the consonant letter X.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberValueContract

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:29-1214

The bounded member value and conversion contract for .

Responsibilities:

  • Map exact CLR types and canonical source tokens to the supported value kinds.
  • Decide the single allowed conversion for a source/target pair, rejecting everything else.
  • Parse, range-check, and canonicalize authored constants into exact value bits.

Does NOT:

  • Perform tick-time conversion, store values, or discover members.

C#
public const string NullLiteral = "null"

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:33

The canonical authored spelling for an absent reference constant.

GetNativeSize(BehaviorMemberValueKind kind)

Section titled “GetNativeSize(BehaviorMemberValueKind kind)”
C#
public static int GetNativeSize(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1028-1055

Gets the exact native blackboard slot byte size of a supported kind.

C#
public static string GetToken(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:173-201

Gets the canonical lowercase source token for a supported kind.

C#
public static int GetUnmanagedSize(System.Type type)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1058-1077

Gets the baked native byte size of an exact unmanaged developer type.

C#
public static BitQuirky.Behavior.Member.BehaviorMemberValueKind GetValueKind(BitQuirky.Behavior.Baked.BakedFieldTypeCode code)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:843-874

Gets the exact supported value kind one baked blackboard slot carries. This is the inverse of the bake-time kind to type-code mapping and the one place a stored slot is read back as a member value kind.

C#
public static bool IsIntegral(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:215-232

Returns whether the kind is one of the supported integral primitives.

IsLiveEditableBlackboardByteBlockTypeCode(BakedFieldTypeCode typeCode)

Section titled “IsLiveEditableBlackboardByteBlockTypeCode(BakedFieldTypeCode typeCode)”
C#
public static bool IsLiveEditableBlackboardByteBlockTypeCode(BitQuirky.Behavior.Baked.BakedFieldTypeCode typeCode)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:911-924

Gets whether a baked blackboard slot’s type code stores one native value with parts that a live edit replaces as one exact byte block (FromBytes): a Unity.Mathematics vector, or an unmanaged value such as a Unity vector, quaternion, color, rect, or bounds. The block must be exactly the slot’s size. Which declared types the editor offers an editor for is the editor’s decision; the runtime accepts only the exact size.

IsLiveEditableBlackboardTypeCode(BakedFieldTypeCode typeCode)

Section titled “IsLiveEditableBlackboardTypeCode(BakedFieldTypeCode typeCode)”
C#
public static bool IsLiveEditableBlackboardTypeCode(BitQuirky.Behavior.Baked.BakedFieldTypeCode typeCode)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:936-956

Gets whether a baked blackboard slot’s own type code has a real live-edit payload representation (, P2 completeness): every scalar kind MapDeclaredValueTypeCodecan bake a declared value to. A slot outside this set (a struct, a vector, a string, a managed or Unity-object reference, or any otherUnmanagedValue-shaped kind) genuinely cannot be edited through the bounded scalar payload this story adds, so its row must render read-only regardless of which node writes it, never a falsely writable editor that can never actually commit.

C#
public static bool IsNumeric(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:235-240

Returns whether the kind is a supported numeric primitive.

RequiresExactValueIdentity(BehaviorMemberValueKind kind)

Section titled “RequiresExactValueIdentity(BehaviorMemberValueKind kind)”
C#
public static bool RequiresExactValueIdentity(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:675-679

Returns whether a kind identifies more than one exact CLR type, so a conversion for it must compare the resolved types rather than the kinds.

SupportsEquality(BehaviorMemberValueKind kind)

Section titled “SupportsEquality(BehaviorMemberValueKind kind)”
C#
public static bool SupportsEquality(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:249-260

Returns whether equality comparisons apply to the kind.

SupportsOrdering(BehaviorMemberValueKind kind)

Section titled “SupportsOrdering(BehaviorMemberValueKind kind)”
C#
public static bool SupportsOrdering(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:243-246

Returns whether ordering comparisons apply to the kind.

TryFormatAnythingToString(BehaviorMemberValueKind kind, long bits, out string formatted)

Section titled “TryFormatAnythingToString(BehaviorMemberValueKind kind, long bits, out string formatted)”
C#
public static bool TryFormatAnythingToString(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind, long bits, out string formatted)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:496-543

Formats one decoded non-enum admitted scalar value’s raw bits into the exact culture-invariant text anAnythingToString conversion produces (, Phase 3a, ), shared by the bake-time Constant path (BehaviorValidator.TryResolveConstantand BehaviorMemberProviderGenerator.ReadArgumentDense) and the runtime argument path’s identical per-kind rule (BehaviorMemberBindingRuntime.FormatSlotIntoArgument). Returnsfalse for Enumand every kind IsAnythingToStringSourceKinddoes not admit: an enum value always formats through its own baked or reflected name lookup instead, never here.

TryGetArrayElementKind(Type parameterType, out BehaviorMemberValueKind elementKind)

Section titled “TryGetArrayElementKind(Type parameterType, out BehaviorMemberValueKind elementKind)”
C#
public static bool TryGetArrayElementKind(System.Type parameterType, out BitQuirky.Behavior.Member.BehaviorMemberValueKind elementKind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:158-170

Returns whether a resolved CLR type is a single-dimensional array whose element type is itself a supported non-reference value kind, and if so, that element kind. Mirrors the existing declared-array Blackboard carried-array path’selementType.IsValueType scope, so a non-null array-typed Constant index argument (, C3) is admitted for exactly the element shapes the sibling Blackboard array route already supports.

TryGetConversion(Type source, Type target, out BehaviorMemberConversion conversion)

Section titled “TryGetConversion(Type source, Type target, out BehaviorMemberConversion conversion)”
C#
public static bool TryGetConversion(System.Type source, System.Type target, out BitQuirky.Behavior.Member.BehaviorMemberConversion conversion)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:297-419

Decides the single allowed conversion between two resolved CLR types, covering the identity, widening, enum, and reference-assignability families. Everything else is rejected.

TryGetConversion(Type source, Type target, BehaviorMemberConverterRegistry registry, out BehaviorMemberConversion conversion)

Section titled “TryGetConversion(Type source, Type target, BehaviorMemberConverterRegistry registry, out BehaviorMemberConversion conversion)”
C#
public static bool TryGetConversion(System.Type source, System.Type target, BitQuirky.Behavior.Member.BehaviorMemberConverterRegistry registry, out BitQuirky.Behavior.Member.BehaviorMemberConversion conversion)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:432-449

Decides the single allowed conversion between two resolved CLR types, extended with an injected project registry consulted only as a fallback (, Phase 4, /): a built-in code from the overload above always takes precedence and can never itself become ambiguous against a registered custom converter. Returns CustomRegisteredonly when exactly one registration claims the exact(source, target)pair; an ambiguous pair (more than one registration claims it) is reported separately by IsAmbiguous, never silently resolved here.

TryGetKindConversion(BehaviorMemberValueKind source, BehaviorMemberValueKind target, out BehaviorMemberConversion conversion)

Section titled “TryGetKindConversion(BehaviorMemberValueKind source, BehaviorMemberValueKind target, out BehaviorMemberConversion conversion)”
C#
public static bool TryGetKindConversion(BitQuirky.Behavior.Member.BehaviorMemberValueKind source, BitQuirky.Behavior.Member.BehaviorMemberValueKind target, out BitQuirky.Behavior.Member.BehaviorMemberConversion conversion)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:266-290

Decides the single allowed pure-kind conversion for a source/target pair. Enum and reference pairs require the resolved-type overload.

TryGetLiveValueFieldTypeCode(BehaviorMemberValueKind kind, out BakedFieldTypeCode code)

Section titled “TryGetLiveValueFieldTypeCode(BehaviorMemberValueKind kind, out BakedFieldTypeCode code)”
C#
public static bool TryGetLiveValueFieldTypeCode(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind, out BitQuirky.Behavior.Baked.BakedFieldTypeCode code)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:883-901

Gets the baked field type code one live-edited Task authored comparison constant may carry (, P1): the bounded set of value kinds a Member Condition’s right-hand constant comparison supports for a live overlay edit. Returns false for every value kind outside that bounded set, so an unsupported comparison kind is refused rather than guessed.

TryGetTaskComparisonValueKind(BakedBehaviorArtifact artifact, int nodeIndex, out BehaviorMemberValueKind valueKind)

Section titled “TryGetTaskComparisonValueKind(BakedBehaviorArtifact artifact, int nodeIndex, out BehaviorMemberValueKind valueKind)”
C#
public static bool TryGetTaskComparisonValueKind(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, int nodeIndex, out BitQuirky.Behavior.Member.BehaviorMemberValueKind valueKind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:966-970

Finds the exact authored comparison value kind the baked node at nodeIndexowns as a Task live value overlay (, P1): the node’s own Member Condition right-hand constant comparison kind. Returns false when the node owns no constant comparison, so a Task live-value target that does not name an authored comparison node is refused rather than silently accepted at whatever kind the caller assumes.

TryGetValueKind(string fullTypeName, out BehaviorMemberValueKind kind)

Section titled “TryGetValueKind(string fullTypeName, out BehaviorMemberValueKind kind)”
C#
public static bool TryGetValueKind(string fullTypeName, out BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:90-98

Maps an exact full CLR type name to a supported non-enum, non-reference kind.

TryGetValueKind(Type type, out BehaviorMemberValueKind kind)

Section titled “TryGetValueKind(Type type, out BehaviorMemberValueKind kind)”
C#
public static bool TryGetValueKind(System.Type type, out BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:104-149

Maps a resolved CLR type, including enum and Unity-rooted reference detection, to a supported kind.

TryParseConstant(BehaviorMemberValueKind kind, string literal, out long valueBits, out string canonical)

Section titled “TryParseConstant(BehaviorMemberValueKind kind, string literal, out long valueBits, out string canonical)”
C#
public static bool TryParseConstant(BitQuirky.Behavior.Member.BehaviorMemberValueKind kind, string literal, out long valueBits, out string canonical)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:687-778

Parses and range-checks a canonical constant literal of a scalar kind into exact value bits, returning the canonical spelling the writer emits. Enum constants use TryParseEnumConstant; vector, identifier, and reference constants are unsupported.

TryParseEnumConstant(Type enumType, string literal, out long valueBits, out string canonical)

Section titled “TryParseEnumConstant(Type enumType, string literal, out long valueBits, out string canonical)”
C#
public static bool TryParseEnumConstant(System.Type enumType, string literal, out long valueBits, out string canonical)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:785-836

Parses a canonical enum constant against a resolved enum type by exact member name or exact underlying literal, returning underlying value bits and the canonical member name spelling when one exists.

TryParseToken(string token, out BehaviorMemberValueKind kind)

Section titled “TryParseToken(string token, out BehaviorMemberValueKind kind)”
C#
public static bool TryParseToken(string token, out BitQuirky.Behavior.Member.BehaviorMemberValueKind kind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:204-212

Maps a canonical lowercase source token back to its kind.

WidenBits(BehaviorMemberValueKind sourceKind, long bits, BehaviorMemberValueKind targetKind)

Section titled “WidenBits(BehaviorMemberValueKind sourceKind, long bits, BehaviorMemberValueKind targetKind)”
C#
public static long WidenBits(BitQuirky.Behavior.Member.BehaviorMemberValueKind sourceKind, long bits, BitQuirky.Behavior.Member.BehaviorMemberValueKind targetKind)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:552-598

Re-encodes oneNumericWideningvalue from the source kind’s raw bits into the target kind’s, in the layout the argument accessors read: integral kinds as their sign- or zero-extended value,floatas its 32-bit pattern,doubleas its 64-bit pattern. A pair that is not an admitted widening returns the bits unchanged.

Category: Member binding

C#
readonly struct BitQuirky.Behavior.Member.BehaviorMemberValueRequirement

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1238-1300

What one member-role control requires of a blackboard variable.

Responsibilities:

  • Carry the role, the direction the value moves, the exact member type identity, the element the requirement belongs to, the customer-facing role phrase a refusal names the slot by, falling back to the element label when it is empty, and its source line, so every refusal can be reported against exact coordinates.

Does NOT:

  • Name a variable or hold a selection; the requirement is the host’s half only.

C#
public bool AdmitsMatchingCollection { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1294

Gets whether a declared List of the exact same element type as an array-shaped MemberTypealso satisfies this requirement, alongside an exact Array match. Set only by the params explicit-array/list Collection requirement. Ordinary collection arguments otherwise admit only CLR reference upcasts, never element conversion or collection materialization.

C#
public string ElementLabel { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1274

Gets the exact element the requirement belongs to, such as argument 0.

C#
public BitQuirky.Behavior.Member.BehaviorMemberValueFlow Flow { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1265

Gets the direction the value moves.

C#
public bool IsWritten { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1297-1299

Gets whether the value is written back into the blackboard.

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

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1271

Gets the exact member type identity the value must satisfy.

C#
public BitQuirky.Behavior.Authoring.BehaviorSourceMemberParameterModifier ParameterModifier { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1268

Gets the declared parameter modifier, preserving by-ref collection invariance.

C#
public BitQuirky.Behavior.Member.BehaviorMemberValueRole Role { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1262

Gets the member role the value serves.

C#
public string RolePhrase { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1282

Gets the words a refusal names this slot by, such as output point. The element label is a repair coordinate and can carry an ordinal the author never typed, so a slot that has customer-facing words states them here and every refusal reads them instead. Empty falls back to the element label.

C#
public int SourceLine { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1285

Gets the one-based source line of the requiring record.

BehaviorMemberValueRequirement(BehaviorMemberValueRole role, BehaviorMemberValueFlow flow, BehaviorSourceTypeIdentity memberType, string elementLabel, int sourceLine, string rolePhrase, bool admitsMatchingCollection, BehaviorSourceMemberParameterModifier parameterModifier)

Section titled “BehaviorMemberValueRequirement(BehaviorMemberValueRole role, BehaviorMemberValueFlow flow, BehaviorSourceTypeIdentity memberType, string elementLabel, int sourceLine, string rolePhrase, bool admitsMatchingCollection, BehaviorSourceMemberParameterModifier parameterModifier)”
C#
public BehaviorMemberValueRequirement(BitQuirky.Behavior.Member.BehaviorMemberValueRole role, BitQuirky.Behavior.Member.BehaviorMemberValueFlow flow, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity memberType, string elementLabel, int sourceLine, string rolePhrase = "", bool admitsMatchingCollection = false, BitQuirky.Behavior.Authoring.BehaviorSourceMemberParameterModifier parameterModifier = Value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1241-1259

Creates one member-role requirement.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1354-1391

One blackboard entry offered against one member-role requirement.

Responsibilities:

  • Carry the entry’s exact name, origin, declared shape and exact type identities, the short type label and qualifier line that disambiguate it, and its verdict, so an entry that cannot hold the value is listed with its reason rather than omitted.

Does NOT:

  • Perform the edit; picking is the host’s undoable command.

C#
public bool IsPickable { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1390

Gets whether the entry can be picked for the requirement.

C#
public bool IsSaved { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1384

Gets or sets whether this entry is the saved selection.

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

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1369

Gets or sets the exact declared key identity of a dictionary entry.

C#
public string Name { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1357

Gets or sets the exact blackboard entry name.

C#
public BitQuirky.Behavior.Member.BehaviorMemberVariableOrigin Origin { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1360

Gets or sets where the entry came from.

C#
public string ProvisionNote { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1378

Gets or sets how a compatible carrier provides the required component.

C#
public string QualifierLine { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1375

Gets or sets the namespace and assembly line that disambiguates the label.

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

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1363

Gets or sets the declared shape of the entry.

C#
public int SourceLine { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1387

Gets or sets the one-based source line of the declaring record.

C#
public string TypeLabel { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1372

Gets or sets the short type label, including the shape.

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

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1366

Gets or sets the exact declared value type identity.

C#
public BitQuirky.Behavior.Member.BehaviorMemberVariableVerdict Verdict { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1381

Gets or sets the verdict against the requirement.

Category: Member binding

C#
class BitQuirky.Behavior.Member.BehaviorMemberVariableSelection

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:2454-3542

Builds the ordered blackboard entries one member-role control offers.

Responsibilities:

  • List every entry on the blackboard in panel order, variables this graph declares above the entries member nodes surface, each carrying its verdict against the requirement.
  • Preserve a saved selection that is missing or incompatible, listed with its exact reason and never replaced by a same-typed survivor, so repair stays explicit.

Does NOT:

  • Pick, edit, or auto-repair anything, and never hides an entry that does not fit.

BuildCandidates(BehaviorSourceAst ast, BehaviorMemberValueRequirement requirement, string savedName, BehaviorMemberConverterRegistry registry)

Section titled “BuildCandidates(BehaviorSourceAst ast, BehaviorMemberValueRequirement requirement, string savedName, BehaviorMemberConverterRegistry registry)”
C#
public static System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate> BuildCandidates(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Member.BehaviorMemberValueRequirement requirement, string savedName, BitQuirky.Behavior.Member.BehaviorMemberConverterRegistry registry = null)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:2462-2473

Builds every candidate for one requirement in panel order, appending the saved selection as a missing entry when the blackboard no longer declares it.

BuildCandidates(IReadOnlyList<BehaviorSourceDeclaredValue> declaredValues, IReadOnlyList<BehaviorSourceMemberBinding> memberBindings, BehaviorMemberValueRequirement requirement, string savedName, bool isEntityGraph, BehaviorMemberConverterRegistry registry)

Section titled “BuildCandidates(IReadOnlyList<BehaviorSourceDeclaredValue> declaredValues, IReadOnlyList<BehaviorSourceMemberBinding> memberBindings, BehaviorMemberValueRequirement requirement, string savedName, bool isEntityGraph, BehaviorMemberConverterRegistry registry)”
C#
public static System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate> BuildCandidates(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceDeclaredValue> declaredValues, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding> memberBindings, BitQuirky.Behavior.Member.BehaviorMemberValueRequirement requirement, string savedName, bool isEntityGraph = false, BitQuirky.Behavior.Member.BehaviorMemberConverterRegistry registry = null)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:2544-2663

Builds every candidate from the declared variables and member bindings directly, so the blackboard panel and every member-role control project one identical ordered set whether they hold an AST or a document.

BuildTargetCandidates(BehaviorSourceAst ast, BehaviorSourceTypeIdentity requiredType, string savedName)

Section titled “BuildTargetCandidates(BehaviorSourceAst ast, BehaviorSourceTypeIdentity requiredType, string savedName)”
C#
public static System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate> BuildTargetCandidates(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity requiredType, string savedName)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:2480-2507

Builds the shared Variable-target picker rows. Every blackboard entry remains visible; the verdict answers whether its live value can directly satisfy the required target or identify the same GameObject for a required component.

BuildTransitionOperandCandidates(BehaviorSourceAst ast, string savedName)

Section titled “BuildTransitionOperandCandidates(BehaviorSourceAst ast, string savedName)”
C#
public static System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate> BuildTransitionOperandCandidates(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string savedName)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:2515-2537

Builds the shared transition-predicate operand rows. Every blackboard entry stays visible in panel order; the verdict answers whether one declared value can be read as a transition operand at all, which is the same rule the validator, the baker and the shared evaluation core apply.

DeclaredParameterName(BehaviorSourceMemberBinding binding, int index)

Section titled “DeclaredParameterName(BehaviorSourceMemberBinding binding, int index)”
C#
public static string DeclaredParameterName(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:3346-3394

Returns the declared name of one method parameter: the name the source records, or, for a source saved before format 1.6 recorded names, the name the one matching method on the resolved declaring type declares. Empty when neither is known, so the caller falls back to the ordinal coordinate.

FindSaved(IReadOnlyList<BehaviorMemberVariableCandidate> candidates)

Section titled “FindSaved(IReadOnlyList<BehaviorMemberVariableCandidate> candidates)”
C#
public static BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate FindSaved(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate> candidates)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:2805-2820

Returns the saved candidate whether or not it can serve the requirement.

TryGetSelected(IReadOnlyList<BehaviorMemberVariableCandidate> candidates, out BehaviorMemberVariableCandidate selected)

Section titled “TryGetSelected(IReadOnlyList<BehaviorMemberVariableCandidate> candidates, out BehaviorMemberVariableCandidate selected)”
C#
public static bool TryGetSelected(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate> candidates, out BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate selected)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:2784-2802

Returns the saved candidate only when it exists and can serve the requirement, so a missing or incompatible selection never resolves to a usable pick.

ValidateBindings(BehaviorSourceAst ast, string graphIdentity, BehaviorMemberConverterRegistry registry)

Section titled “ValidateBindings(BehaviorSourceAst ast, string graphIdentity, BehaviorMemberConverterRegistry registry)”
C#
public static System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberBindingDiagnostic> ValidateBindings(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string graphIdentity, BitQuirky.Behavior.Member.BehaviorMemberConverterRegistry registry = null)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:2709-2778

Validates every member role that names a blackboard entry through the same directional exact-type service used by the selectors. Missing and incompatible saved selections are reported with their exact repair coordinates and are never substituted.

Category: Member binding

C#
readonly struct BitQuirky.Behavior.Member.BehaviorMemberVariableVerdict

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1312-1341

The verdict of one variable against one member-role requirement.

Responsibilities:

  • State whether the variable can serve the role, the exact conversion each direction uses, and the exact reason when it cannot.

Does NOT:

  • Substitute, coerce, or repair anything.

C#
public BitQuirky.Behavior.Member.BehaviorMemberConversion ConversionToBlackboard { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1334

Gets the conversion applied when the member supplies the blackboard.

C#
public BitQuirky.Behavior.Member.BehaviorMemberConversion ConversionToMember { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1331

Gets the conversion applied when the blackboard supplies the member.

C#
public bool IsCompatible { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1340

Gets whether the variable can serve the requirement.

C#
public string Reason { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1337

Gets the exact reason sentence, empty when the variable fits.

C#
public BitQuirky.Behavior.Member.BehaviorMemberVariableRejection Rejection { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1328

Gets the stable refusal reason, or None when the variable fits.

BehaviorMemberVariableVerdict(BehaviorMemberVariableRejection rejection, BehaviorMemberConversion conversionToMember, BehaviorMemberConversion conversionToBlackboard, string reason)

Section titled “BehaviorMemberVariableVerdict(BehaviorMemberVariableRejection rejection, BehaviorMemberConversion conversionToMember, BehaviorMemberConversion conversionToBlackboard, string reason)”
C#
public BehaviorMemberVariableVerdict(BitQuirky.Behavior.Member.BehaviorMemberVariableRejection rejection, BitQuirky.Behavior.Member.BehaviorMemberConversion conversionToMember, BitQuirky.Behavior.Member.BehaviorMemberConversion conversionToBlackboard, string reason)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1315-1325

Creates one verdict.

IBehaviorEntityConverterBurstCompatibilityAnalyzer

Section titled “IBehaviorEntityConverterBurstCompatibilityAnalyzer”

Category: Member binding

C#
interface BitQuirky.Behavior.Member.IBehaviorEntityConverterBurstCompatibilityAnalyzer

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityConverterBurstCompatibility.cs:22-31

Editor-only, bake-time collaborator that decides whether a registered custom converter’s exact static method is Burst-compatible (, Phase 5, ).

Responsibilities:

  • Judge one converter method’s own IL, and the IL of every method it reaches within non-system assemblies, against a conservative, Editor-only Burst-compatibility rule, synchronously, with no cached state surviving past the one call that ran it (Constitution VI).

Does NOT:

  • Run at runtime, cache a result across calls, or judge a method Burst-compatible by compiling it; the installed Burst compiler exposes no synchronous structured probe for an arbitrary callee, so this judges the method’s own IL shape instead.

IsBurstCompatible(Type declaringType, string methodName, out string offendingConstruct)

Section titled “IsBurstCompatible(Type declaringType, string methodName, out string offendingConstruct)”
C#
bool IsBurstCompatible(System.Type declaringType, string methodName, out string offendingConstruct)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityConverterBurstCompatibility.cs:29-30

Returns whether the exact(declaringType, methodName)static method is Burst-compatible. On failure,offendingConstructnames the first disqualifying construct found, for use in the rejection diagnostic’s message.

IBehaviorEntityPropertyAccessorProofProvider

Section titled “IBehaviorEntityPropertyAccessorProofProvider”

Category: Member binding

C#
interface BitQuirky.Behavior.Member.IBehaviorEntityPropertyAccessorProofProvider

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:23-30

Supplies build-time direct-field accessor proofs when the current runtime cannot expose managed IL, as under IL2CPP.

Responsibilities:

  • Confirm that the exact property and requested access directions were already proven by the compiler-facing generation pipeline.

Does NOT:

  • Discover members, guess from names, weaken the direct-field rule, or run during graph evaluation.

HasDirectStoredFieldProof(PropertyInfo property, bool requireRead, bool requireWrite)

Section titled “HasDirectStoredFieldProof(PropertyInfo property, bool requireRead, bool requireWrite)”
C#
bool HasDirectStoredFieldProof(System.Reflection.PropertyInfo property, bool requireRead, bool requireWrite)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:26-29

Returns whether build-time generation proved the exact requested access.

Category: Member binding

C#
interface BitQuirky.Behavior.Member.IBehaviorMemberCommandSink

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberCommandSink.cs:19-23

The routing seam a GameObject agent’s binding map uses to hand deferred member service commands to the member binding runtime.

Responsibilities:

  • Receive one drained deferred member request, interruption, or cancellation command so the runtime can start, stop, or subscribe the coroutine or event operation it names.

Does NOT:

  • Service immediate member operations, which resolve through the runtime instance member request channel and the bounded in-tick microstep.

HandleMemberCommand(in ExternalServiceCommand command, int frameNumber)

Section titled “HandleMemberCommand(in ExternalServiceCommand command, int frameNumber)”
C#
void HandleMemberCommand(in BitQuirky.Behavior.ExternalService.ExternalServiceCommand command, int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberCommandSink.cs:22

Handles one deferred member service command drained for the selected frame.

Category: Member binding

C#
interface BitQuirky.Behavior.Member.IBehaviorMemberConverterProvider

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:90-94

A project-scoped provider of project-specific member conversions.

Responsibilities:

  • Register one or more conversions onto the supplied registry.

Does NOT:

  • Hold state, resolve a binding, or execute a conversion itself.

RegisterConverters(BehaviorMemberConverterRegistry registry)

Section titled “RegisterConverters(BehaviorMemberConverterRegistry registry)”
C#
void RegisterConverters(BitQuirky.Behavior.Member.BehaviorMemberConverterRegistry registry)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:93

Registers this provider’s conversions onto the supplied registry.

Category: Member binding

C#
interface BitQuirky.Behavior.Member.IBehaviorMemberProvider

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1666-1694

The additive consumer-owned member provider contract.

Responsibilities:

  • Resolve and validate generated accessor coverage during initialization.
  • Perform direct, non-boxing method, property, field, message, condition, coroutine, event add/remove, and notification calls by accessor id.
  • Read constants and blackboard values without boxing and write returned values through the supplied result sink.

Does NOT:

  • Schedule tree control flow, search for a target, store global state, discover a member by name at runtime, or reference the reusable product package’s game assemblies.

C#
ulong BindingSetFingerprint { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1669

Gets the deterministic binding-set fingerprint this provider was generated for.

C#
void Dispose()

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1693

Releases every owned delegate, subscription, and coroutine handle.

Initialize(BehaviorMemberProviderContext context)

Section titled “Initialize(BehaviorMemberProviderContext context)”
C#
void Initialize(BitQuirky.Behavior.Member.BehaviorMemberProviderContext context)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1672

Binds the provider to one agent’s explicit execution context.

Invoke(int accessorId, int targetIndex, int argumentStart, int argumentCount, int resultIndex)

Section titled “Invoke(int accessorId, int targetIndex, int argumentStart, int argumentCount, int resultIndex)”
C#
BitQuirky.Behavior.Member.BehaviorMemberInvocationResult Invoke(int accessorId, int targetIndex, int argumentStart, int argumentCount, int resultIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1679-1684

Invokes the generated accessor for one member operation against the exact resolved target, reading its materialized arguments and writing any returned value through the result sink.

Subscribe(int accessorId, int targetIndex, int activationGeneration)

Section titled “Subscribe(int accessorId, int targetIndex, int activationGeneration)”
C#
void Subscribe(int accessorId, int targetIndex, int activationGeneration)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1687

Subscribes one authored notification or event accessor for an activation.

Unsubscribe(int accessorId, int targetIndex, int activationGeneration)

Section titled “Unsubscribe(int accessorId, int targetIndex, int activationGeneration)”
C#
void Unsubscribe(int accessorId, int targetIndex, int activationGeneration)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1690

Unsubscribes one authored notification or event accessor for an activation.

Category: Member binding

C#
interface BitQuirky.Behavior.Member.IBehaviorMemberProviderDiagnostics

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1701-1708

Optional diagnostic contract implemented by generated member providers so the runtime can verify a baked artifact’s output destinations against the exact compiled types the generated accessor uses.

TryGetUnmanagedOutputSize(int accessorId, int ordinal, out int size)

Section titled “TryGetUnmanagedOutputSize(int accessorId, int ordinal, out int size)”
C#
bool TryGetUnmanagedOutputSize(int accessorId, int ordinal, out int size)

Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1707

Gets the exact unmanaged byte size of one generated output parameter, if the provider knows it. Returnsfalsefor parameters that are not unmanaged out/ref outputs.

Source fingerprint: sha256:29003d8b1658b98a79bebcd93e3b4030caf8511268b96817ab764d63df8d6c3b

Full-size image