BitQuirky.Behavior.Member
Public behavior trees and state machines: runtime backend symbols in BitQuirky.Behavior.Member.
Source snapshot 29003d8b1658.
On this page
Assembly: BitQuirky.Behavior.Runtime.Backend
BehaviorAgentSurface
Section titled “BehaviorAgentSurface”Category: Member binding
enum BitQuirky.Behavior.Member.BehaviorAgentSurfaceSource 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.
Members
Section titled “Members”GameObject
Section titled “GameObject”GameObject = 0Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:21
A GameObject-bound agent, which carries every declared type.
PureEntity
Section titled “PureEntity”PureEntity = 1Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:24
A pure entity, whose blackboard is unmanaged data only.
BehaviorArtifactCompatibilityDiagnostic
Section titled “BehaviorArtifactCompatibilityDiagnostic”Category: Member binding
readonly struct BitQuirky.Behavior.Member.BehaviorArtifactCompatibilityDiagnosticSource 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.
Members
Section titled “Members”DeclaredKeyType
Section titled “DeclaredKeyType”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.
DeclaredType
Section titled “DeclaredType”public string DeclaredType { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:128
Gets the complete declared type identity, never shortened.
GraphIdentity
Section titled “GraphIdentity”public string GraphIdentity { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:122
Gets the exact graph or source identity.
Message
Section titled “Message”public string Message { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:146
Gets the actionable quiet presentation message.
Reason
Section titled “Reason”public BitQuirky.Behavior.Member.BehaviorArtifactCompatibilityReason Reason { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:140
Gets the stable refusal reason.
Recoveries
Section titled “Recoveries”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.
SourceLine
Section titled “SourceLine”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.
Surface
Section titled “Surface”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.
VariableName
Section titled “VariableName”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)”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.
ToString()
Section titled “ToString()”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.
BehaviorArtifactCompatibilityReason
Section titled “BehaviorArtifactCompatibilityReason”Category: Member binding
enum BitQuirky.Behavior.Member.BehaviorArtifactCompatibilityReasonSource 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.
Members
Section titled “Members”ArtifactMissingDeclaredValueTables
Section titled “ArtifactMissingDeclaredValueTables”ArtifactMissingDeclaredValueTables = 2Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:48
The artifact predates declared-value tables and cannot state its storage.
CollectionHasNoEntityStorage
Section titled “CollectionHasNoEntityStorage”CollectionHasNoEntityStorage = 3Source 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.
ManagedValueIncompatibleWithPureEntity
Section titled “ManagedValueIncompatibleWithPureEntity”ManagedValueIncompatibleWithPureEntity = 1Source 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.
None = 0Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:39
The artifact is compatible with the target surface.
BehaviorArtifactCompatibilityRecovery
Section titled “BehaviorArtifactCompatibilityRecovery”Category: Member binding
enum BitQuirky.Behavior.Member.BehaviorArtifactCompatibilityRecoverySource 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.
Members
Section titled “Members”BakeForTheGameObjectPath
Section titled “BakeForTheGameObjectPath”BakeForTheGameObjectPath = 4Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:79
Bake the graph for the GameObject path.
ChangeTheShape
Section titled “ChangeTheShape”ChangeTheShape = 2Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:76
Change the shape, which keeps values in authored order and drops keys.
ChangeTheType
Section titled “ChangeTheType”ChangeTheType = 1Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:73
Change the declared type to one the path carries.
None = 0Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorArtifactCompatibilityDiagnostic.cs:70
No recovery applies.
BehaviorEntityContainerClass
Section titled “BehaviorEntityContainerClass”Category: Member binding
enum BitQuirky.Behavior.Member.BehaviorEntityContainerClassSource 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.
Members
Section titled “Members”BufferElement
Section titled “BufferElement”BufferElement = 2Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:44
An unmanaged IBufferElementData addressed one exact entry at a time.
Component
Section titled “Component”Component = 1Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:41
An unmanaged IComponentData whose stored data is representable.
DeclaredAssetIdentity
Section titled “DeclaredAssetIdentity”DeclaredAssetIdentity = 5Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:53
A declared managed asset represented only by a stable identity during entity ticks.
ManagedComponent
Section titled “ManagedComponent”ManagedComponent = 4Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:50
A component-shaped type whose storage holds managed references.
None = 0Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:38
The type is not a container the entity backend can address.
StaticType
Section titled “StaticType”StaticType = 3Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorEntityMemberAvailability.cs:47
A declaring type reached with no entity instance at all.
BehaviorEntityMemberAvailability
Section titled “BehaviorEntityMemberAvailability”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorEntityMemberAvailabilitySource 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), oneFixedBufferAttribute-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.
Members
Section titled “Members”SyntheticEnabledMemberName
Section titled “SyntheticEnabledMemberName”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)”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.
HasAnyIndexer(Type targetType)
Section titled “HasAnyIndexer(Type targetType)”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).
HasAnyQualifyingProperty(Type targetType)
Section titled “HasAnyQualifyingProperty(Type targetType)”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).
HasOnlyUnmanagedStorage(Type type)
Section titled “HasOnlyUnmanagedStorage(Type type)”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.
IsEnableable(Type targetType)
Section titled “IsEnableable(Type targetType)”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)”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)”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)”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)”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)”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.
BehaviorEntityMemberValueContract
Section titled “BehaviorEntityMemberValueContract”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorEntityMemberValueContractSource 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.
Members
Section titled “Members”IsSupportedIdentityKind(BehaviorMemberValueKind kind)
Section titled “IsSupportedIdentityKind(BehaviorMemberValueKind kind)”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)”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)”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)”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)”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)”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.
BehaviorManagedOperandProjector
Section titled “BehaviorManagedOperandProjector”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorManagedOperandProjectorSource 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.
Members
Section titled “Members”HasProjections
Section titled “HasProjections”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)”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.
Reset()
Section titled “Reset()”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.
SampleBeforeTick()
Section titled “SampleBeforeTick()”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.
BehaviorMemberArgumentView
Section titled “BehaviorMemberArgumentView”Category: Member binding
readonly struct BitQuirky.Behavior.Member.BehaviorMemberArgumentViewSource 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.
Members
Section titled “Members”public int Count { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:260
Gets the number of materialized arguments.
Boolean(int ordinal)
Section titled “Boolean(int ordinal)”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.
Byte(int ordinal)
Section titled “Byte(int ordinal)”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.
Char(int ordinal)
Section titled “Char(int ordinal)”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.
Double(int ordinal)
Section titled “Double(int ordinal)”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.
EntityId(int ordinal)
Section titled “EntityId(int ordinal)”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.
Enum<TEnum>(int ordinal)
Section titled “Enum<TEnum>(int ordinal)”public TEnum Enum<TEnum>(int ordinal) where TEnum : unmanaged, System.EnumSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:345-356
Reads the exact enum argument at the ordinal from its underlying bits.
Float2(int ordinal)
Section titled “Float2(int ordinal)”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.
Float3(int ordinal)
Section titled “Float3(int ordinal)”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.
Float4(int ordinal)
Section titled “Float4(int ordinal)”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.
Int16(int ordinal)
Section titled “Int16(int ordinal)”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.
Int32(int ordinal)
Section titled “Int32(int ordinal)”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.
Int64(int ordinal)
Section titled “Int64(int ordinal)”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.
Reference<TReference>(int ordinal)
Section titled “Reference<TReference>(int ordinal)”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.
RequestId(int ordinal)
Section titled “RequestId(int ordinal)”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.
SByte(int ordinal)
Section titled “SByte(int ordinal)”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.
Single(int ordinal)
Section titled “Single(int ordinal)”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.
UInt16(int ordinal)
Section titled “UInt16(int ordinal)”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.
UInt32(int ordinal)
Section titled “UInt32(int ordinal)”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.
UInt64(int ordinal)
Section titled “UInt64(int ordinal)”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.
Unmanaged<T>(int ordinal)
Section titled “Unmanaged<T>(int ordinal)”public T Unmanaged<T>(int ordinal) where T : unmanagedSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:365-401
Reads an unmanaged developer value from its allocation-free native transport.
BehaviorMemberAttribute
Section titled “BehaviorMemberAttribute”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberAttributeSource 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.
BehaviorMemberBindingRuntime
Section titled “BehaviorMemberBindingRuntime”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberBindingRuntimeSource 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.
Members
Section titled “Members”ActiveDeferredCount
Section titled “ActiveDeferredCount”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.
BlackboardWriter
Section titled “BlackboardWriter”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.
DeclaredValues
Section titled “DeclaredValues”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.
EvaluationIndex
Section titled “EvaluationIndex”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.
FaultCount
Section titled “FaultCount”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.
FaultOverflowCount
Section titled “FaultOverflowCount”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.
FaultTrace
Section titled “FaultTrace”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.
HasTargetFailure
Section titled “HasTargetFailure”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.
LiveAgentIdentity
Section titled “LiveAgentIdentity”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.
LiveMemberBindingCount
Section titled “LiveMemberBindingCount”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.
LiveRuntimeGeneration
Section titled “LiveRuntimeGeneration”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.
ManagedBlackboard
Section titled “ManagedBlackboard”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.
NotificationBindingCount
Section titled “NotificationBindingCount”public int NotificationBindingCount { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:379
Gets the number of authored notification subscriptions held.
PollBindingCount
Section titled “PollBindingCount”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.
PushBindingCount
Section titled “PushBindingCount”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.
RefEvaluationReadingCount
Section titled “RefEvaluationReadingCount”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.
TargetReadingCount
Section titled “TargetReadingCount”public int TargetReadingCount { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberBindingRuntime.cs:441
Gets the number of preallocated live target readings.
UnresolvedTargetCount
Section titled “UnresolvedTargetCount”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)”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.
CancelAllDeferred()
Section titled “CancelAllDeferred()”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.
ClearFaults()
Section titled “ClearFaults()”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.
Dispose()
Section titled “Dispose()”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.
FaultAt(int index)
Section titled “FaultAt(int index)”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)”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)”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)”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)”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)”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.
ReadRefEvaluation(int index)
Section titled “ReadRefEvaluation(int index)”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.
ReadTargetReading(int index)
Section titled “ReadTargetReading(int index)”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)”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.
Reset()
Section titled “Reset()”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.
Resume()
Section titled “Resume()”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)”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)”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)”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)”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)”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)”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.
BehaviorMemberContractHash
Section titled “BehaviorMemberContractHash”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberContractHashSource 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.
Members
Section titled “Members”Compute(string canonicalIdentity)
Section titled “Compute(string canonicalIdentity)”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)”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
class BitQuirky.Behavior.Member.BehaviorMemberConverterRegistrationExceptionSource 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.
Members
Section titled “Members”Reason
Section titled “Reason”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.
SourceType
Section titled “SourceType”public System.Type SourceType { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:72
Gets the registration’s declared source type.
TargetType
Section titled “TargetType”public System.Type TargetType { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberConverterRegistry.cs:75
Gets the registration’s declared target type.
BehaviorMemberConverterRegistry
Section titled “BehaviorMemberConverterRegistry”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberConverterRegistrySource 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 or
Instanceproperty (Constitution Principle VI). An instance is constructed fresh for one bake operation and discarded once generation reads its baked identities.
Members
Section titled “Members”RegisterOneWay<TSource, TTarget>(Func<TSource, TTarget> convert)
Section titled “RegisterOneWay<TSource, TTarget>(Func<TSource, TTarget> convert)”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
- BehaviorMemberConverterRegistrationException:
convert’s backing method fails the source-emittable static-call contract.
RegisterTwoWay<TSource, TTarget>(Func<TSource, TTarget> convert, Func<TTarget, TSource> reverseConvert)
Section titled “RegisterTwoWay<TSource, TTarget>(Func<TSource, TTarget> convert, Func<TTarget, TSource> reverseConvert)”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
- BehaviorMemberConverterRegistrationException: Either delegate’s backing method fails the source-emittable static-call contract.
BehaviorMemberConverterRejectionReason
Section titled “BehaviorMemberConverterRejectionReason”Category: Member binding
enum BitQuirky.Behavior.Member.BehaviorMemberConverterRejectionReasonSource 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:
- Carry presentation text;BehaviorMemberConverterRegistrationException supplies the exact message.
Members
Section titled “Members”AmbiguousOverload
Section titled “AmbiguousOverload”AmbiguousOverload = 4Source 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.
CompilerGenerated
Section titled “CompilerGenerated”CompilerGenerated = 1Source 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.
GenericMethod
Section titled “GenericMethod”GenericMethod = 3Source 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.
InaccessibleDeclaringType
Section titled “InaccessibleDeclaringType”InaccessibleDeclaringType = 5Source 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.
InaccessibleMethod
Section titled “InaccessibleMethod”InaccessibleMethod = 2Source 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.
NotStatic
Section titled “NotStatic”NotStatic = 0Source 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.
BehaviorMemberCoroutineOutcome
Section titled “BehaviorMemberCoroutineOutcome”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberCoroutineOutcomeSource 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.
Members
Section titled “Members”Failed
Section titled “Failed”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.
Status
Section titled “Status”public BitQuirky.Behavior.Member.BehaviorMemberInvocationStatus Status { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:186
Gets the exact terminal status.
Succeeded
Section titled “Succeeded”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)”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.
BehaviorMemberDeclaredDefault
Section titled “BehaviorMemberDeclaredDefault”Category: Member binding
readonly struct BitQuirky.Behavior.Member.BehaviorMemberDeclaredDefaultSource 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.
Members
Section titled “Members”DeclarationHash
Section titled “DeclarationHash”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.
DisplayLiteral
Section titled “DisplayLiteral”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.
GeneratedLiteral
Section titled “GeneratedLiteral”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.
IsConcrete
Section titled “IsConcrete”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.
OverrideCapability
Section titled “OverrideCapability”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.
ParameterType
Section titled “ParameterType”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.
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.
ValueKind
Section titled “ValueKind”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)”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.
BehaviorMemberDeclaredDefaultContract
Section titled “BehaviorMemberDeclaredDefaultContract”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberDeclaredDefaultContractSource 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:
- Substitute
default(T)for an absent or unsupported value, read authored source, resolve an overload, or cache a declaration across a domain reload.
Members
Section titled “Members”HasConcreteDefault(ParameterInfo parameter)
Section titled “HasConcreteDefault(ParameterInfo parameter)”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)”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)”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.
BehaviorMemberDeclaredValues
Section titled “BehaviorMemberDeclaredValues”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberDeclaredValuesSource 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.
Members
Section titled “Members”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.
BlackboardSlotIndex(int index)
Section titled “BlackboardSlotIndex(int index)”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.
DeclaredType(int index)
Section titled “DeclaredType(int index)”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.
ElementCapacity(int index)
Section titled “ElementCapacity(int index)”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.
ElementCount(int index)
Section titled “ElementCount(int index)”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.
ManagedSlotIndex(int index)
Section titled “ManagedSlotIndex(int index)”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.
Name(int index)
Section titled “Name(int index)”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.
Read<T>(int index)
Section titled “Read<T>(int index)”public T Read<T>(int index) where T : unmanagedSource 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)”public T ReadElement<T>(int index, int elementIndex) where T : unmanagedSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1238-1242
Reads one element of a carried collection in its exact unmanaged type.
Require(string name)
Section titled “Require(string name)”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)”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.
SourceLine(int index)
Section titled “SourceLine(int index)”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.
Storage(int index)
Section titled “Storage(int index)”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.
TryFind(string name, out int index)
Section titled “TryFind(string name, out int index)”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.
Write<T>(int index, T value)
Section titled “Write<T>(int index, T value)”public void Write<T>(int index, T value) where T : unmanagedSource 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)”public void WriteElement<T>(int index, int elementIndex, T value) where T : unmanagedSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1245-1253
Writes one element of a carried collection in its exact unmanaged type.
BehaviorMemberDelegateResolver
Section titled “BehaviorMemberDelegateResolver”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberDelegateResolverSource 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.
Members
Section titled “Members”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)”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.DelegateSource 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.
BehaviorMemberEventConditionSink
Section titled “BehaviorMemberEventConditionSink”Category: Member binding
readonly struct BitQuirky.Behavior.Member.BehaviorMemberEventConditionSinkSource 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.
Members
Section titled “Members”Fire()
Section titled “Fire()”public void Fire()Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1070
Records that the event fired for this activation.
BehaviorMemberInvocationResult
Section titled “BehaviorMemberInvocationResult”Category: Member binding
readonly struct BitQuirky.Behavior.Member.BehaviorMemberInvocationResultSource 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.
Members
Section titled “Members”Failed
Section titled “Failed”public static BitQuirky.Behavior.Member.BehaviorMemberInvocationResult Failed { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:116-117
One failed result.
Running
Section titled “Running”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.
Status
Section titled “Status”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.
Succeeded
Section titled “Succeeded”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)”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.
FromCondition(bool succeeded)
Section titled “FromCondition(bool succeeded)”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)”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.
FromStatus(BehaviorNodeStatus status)
Section titled “FromStatus(BehaviorNodeStatus status)”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.
BehaviorMemberInvocationStatus
Section titled “BehaviorMemberInvocationStatus”Category: Member binding
enum BitQuirky.Behavior.Member.BehaviorMemberInvocationStatusSource 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.
Members
Section titled “Members”AuthorityMismatch
Section titled “AuthorityMismatch”AuthorityMismatch = 6Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:87
The operation reported an authority mismatch.
Blocked
Section titled “Blocked”Blocked = 3Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:78
The operation reported the blocked status.
Failed
Section titled “Failed”Failed = 1Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:72
The operation completed and failed.
Interrupted
Section titled “Interrupted”Interrupted = 5Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:84
The operation was interrupted.
Running
Section titled “Running”Running = 2Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:75
A coroutine started and remains running until one later completion.
Succeeded
Section titled “Succeeded”Succeeded = 0Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:69
The operation completed and succeeded.
Timeout
Section titled “Timeout”Timeout = 4Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:81
The operation reported the timeout status.
BehaviorMemberNotificationSink
Section titled “BehaviorMemberNotificationSink”Category: Member binding
readonly struct BitQuirky.Behavior.Member.BehaviorMemberNotificationSinkSource 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.
Members
Section titled “Members”Notify()
Section titled “Notify()”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.
BehaviorMemberProviderContext
Section titled “BehaviorMemberProviderContext”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberProviderContextSource 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.
Members
Section titled “Members”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.
CancellationToken
Section titled “CancellationToken”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.
ManagedBlackboard
Section titled “ManagedBlackboard”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.
ManagedSlotCount
Section titled “ManagedSlotCount”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.
Result
Section titled “Result”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.
TargetCount
Section titled “TargetCount”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.
Values
Section titled “Values”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.
BeginCoroutine(IEnumerator routine)
Section titled “BeginCoroutine(IEnumerator routine)”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)”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)”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.
NotificationSink(int bindingIndex)
Section titled “NotificationSink(int bindingIndex)”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.
Output(int ordinal)
Section titled “Output(int ordinal)”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)”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)”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)”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.
ResultAt(int blackboardSlotIndex)
Section titled “ResultAt(int blackboardSlotIndex)”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.
Target(int targetIndex)
Section titled “Target(int targetIndex)”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.
Target<TTarget>(int targetIndex)
Section titled “Target<TTarget>(int targetIndex)”public TTarget Target<TTarget>(int targetIndex) where TTarget : classSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:1578-1583
Gets the exact resolved target cast to its assigned type, or null.
BehaviorMemberResultSink
Section titled “BehaviorMemberResultSink”Category: Member binding
readonly struct BitQuirky.Behavior.Member.BehaviorMemberResultSinkSource 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.
Members
Section titled “Members”SlotIndex
Section titled “SlotIndex”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.
Boolean(bool value)
Section titled “Boolean(bool value)”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.
Byte(byte value)
Section titled “Byte(byte value)”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.
Char(char value)
Section titled “Char(char value)”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.
Double(double value)
Section titled “Double(double value)”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.
EntityId(Entity value)
Section titled “EntityId(Entity value)”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.
Enum<TEnum>(TEnum value)
Section titled “Enum<TEnum>(TEnum value)”public void Enum<TEnum>(TEnum value) where TEnum : unmanaged, System.EnumSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:531-541
Writes an enum result to the surfaced slot from its underlying bits.
Float2(float2 value)
Section titled “Float2(float2 value)”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.
Float3(float3 value)
Section titled “Float3(float3 value)”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.
Float4(float4 value)
Section titled “Float4(float4 value)”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)”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)”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)”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)”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)”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)”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)”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)”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)”public void FormattedEnum<TEnum>(TEnum value, int formattedResultSlot) where TEnum : unmanaged, System.EnumSource 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)”public string FormattedEnumIfChanged<TEnum>(TEnum value, int formattedResultSlot) where TEnum : unmanaged, System.EnumSource 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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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).
Int16(short value)
Section titled “Int16(short value)”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.
Int32(int value)
Section titled “Int32(int value)”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.
Int64(long value)
Section titled “Int64(long value)”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.
Reference(object value)
Section titled “Reference(object value)”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.
RequestId(int value)
Section titled “RequestId(int value)”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.
SByte(sbyte value)
Section titled “SByte(sbyte value)”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.
Single(float value)
Section titled “Single(float value)”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.
UInt16(ushort value)
Section titled “UInt16(ushort value)”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.
UInt32(uint value)
Section titled “UInt32(uint value)”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.
UInt64(ulong value)
Section titled “UInt64(ulong value)”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.
Unmanaged<T>(T value)
Section titled “Unmanaged<T>(T value)”public void Unmanaged<T>(T value) where T : unmanagedSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/IBehaviorMemberProvider.cs:547-550
Writes an unmanaged developer value through allocation-free native transport.
BehaviorMemberValueCompatibility
Section titled “BehaviorMemberValueCompatibility”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberValueCompatibilitySource 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.
Members
Section titled “Members”Evaluate(BehaviorDeclaredValueDescriptor descriptor, BehaviorMemberValueRequirement requirement, BehaviorMemberConverterRegistry registry)
Section titled “Evaluate(BehaviorDeclaredValueDescriptor descriptor, BehaviorMemberValueRequirement requirement, BehaviorMemberConverterRegistry registry)”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)”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)”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)”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)”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)”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)”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.
RequiresExactIdentity(Type type)
Section titled “RequiresExactIdentity(Type type)”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)”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.
SentenceStart(string text)
Section titled “SentenceStart(string text)”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)”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)”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)”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)”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)”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.
WithIndefiniteArticle(string typeName)
Section titled “WithIndefiniteArticle(string typeName)”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.
BehaviorMemberValueContract
Section titled “BehaviorMemberValueContract”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberValueContractSource 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.
Members
Section titled “Members”NullLiteral
Section titled “NullLiteral”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)”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.
GetToken(BehaviorMemberValueKind kind)
Section titled “GetToken(BehaviorMemberValueKind kind)”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.
GetUnmanagedSize(Type type)
Section titled “GetUnmanagedSize(Type type)”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.
GetValueKind(BakedFieldTypeCode code)
Section titled “GetValueKind(BakedFieldTypeCode code)”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.
IsIntegral(BehaviorMemberValueKind kind)
Section titled “IsIntegral(BehaviorMemberValueKind kind)”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)”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)”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.
IsNumeric(BehaviorMemberValueKind kind)
Section titled “IsNumeric(BehaviorMemberValueKind kind)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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)”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.
BehaviorMemberValueRequirement
Section titled “BehaviorMemberValueRequirement”Category: Member binding
readonly struct BitQuirky.Behavior.Member.BehaviorMemberValueRequirementSource 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.
Members
Section titled “Members”AdmitsMatchingCollection
Section titled “AdmitsMatchingCollection”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.
ElementLabel
Section titled “ElementLabel”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.
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.
IsWritten
Section titled “IsWritten”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.
MemberType
Section titled “MemberType”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.
ParameterModifier
Section titled “ParameterModifier”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.
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.
RolePhrase
Section titled “RolePhrase”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.
SourceLine
Section titled “SourceLine”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)”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.
BehaviorMemberVariableCandidate
Section titled “BehaviorMemberVariableCandidate”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberVariableCandidateSource 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.
Members
Section titled “Members”IsPickable
Section titled “IsPickable”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.
IsSaved
Section titled “IsSaved”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.
KeyType
Section titled “KeyType”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.
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.
Origin
Section titled “Origin”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.
ProvisionNote
Section titled “ProvisionNote”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.
QualifierLine
Section titled “QualifierLine”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.
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.
SourceLine
Section titled “SourceLine”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.
TypeLabel
Section titled “TypeLabel”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.
ValueType
Section titled “ValueType”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.
Verdict
Section titled “Verdict”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.
BehaviorMemberVariableSelection
Section titled “BehaviorMemberVariableSelection”Category: Member binding
class BitQuirky.Behavior.Member.BehaviorMemberVariableSelectionSource 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.
Members
Section titled “Members”BuildCandidates(BehaviorSourceAst ast, BehaviorMemberValueRequirement requirement, string savedName, BehaviorMemberConverterRegistry registry)
Section titled “BuildCandidates(BehaviorSourceAst ast, BehaviorMemberValueRequirement requirement, string savedName, BehaviorMemberConverterRegistry registry)”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)”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)”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)”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)”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)”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)”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)”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.
BehaviorMemberVariableVerdict
Section titled “BehaviorMemberVariableVerdict”Category: Member binding
readonly struct BitQuirky.Behavior.Member.BehaviorMemberVariableVerdictSource 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.
Members
Section titled “Members”ConversionToBlackboard
Section titled “ConversionToBlackboard”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.
ConversionToMember
Section titled “ConversionToMember”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.
IsCompatible
Section titled “IsCompatible”public bool IsCompatible { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Member/BehaviorMemberValueContract.cs:1340
Gets whether the variable can serve the requirement.
Reason
Section titled “Reason”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.
Rejection
Section titled “Rejection”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)”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
interface BitQuirky.Behavior.Member.IBehaviorEntityConverterBurstCompatibilityAnalyzerSource 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.
Members
Section titled “Members”IsBurstCompatible(Type declaringType, string methodName, out string offendingConstruct)
Section titled “IsBurstCompatible(Type declaringType, string methodName, out string offendingConstruct)”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
interface BitQuirky.Behavior.Member.IBehaviorEntityPropertyAccessorProofProviderSource 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.
Members
Section titled “Members”HasDirectStoredFieldProof(PropertyInfo property, bool requireRead, bool requireWrite)
Section titled “HasDirectStoredFieldProof(PropertyInfo property, bool requireRead, bool requireWrite)”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.
IBehaviorMemberCommandSink
Section titled “IBehaviorMemberCommandSink”Category: Member binding
interface BitQuirky.Behavior.Member.IBehaviorMemberCommandSinkSource 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.
Members
Section titled “Members”HandleMemberCommand(in ExternalServiceCommand command, int frameNumber)
Section titled “HandleMemberCommand(in ExternalServiceCommand command, int frameNumber)”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.
IBehaviorMemberConverterProvider
Section titled “IBehaviorMemberConverterProvider”Category: Member binding
interface BitQuirky.Behavior.Member.IBehaviorMemberConverterProviderSource 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.
Members
Section titled “Members”RegisterConverters(BehaviorMemberConverterRegistry registry)
Section titled “RegisterConverters(BehaviorMemberConverterRegistry registry)”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.
IBehaviorMemberProvider
Section titled “IBehaviorMemberProvider”Category: Member binding
interface BitQuirky.Behavior.Member.IBehaviorMemberProviderSource 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.
Members
Section titled “Members”BindingSetFingerprint
Section titled “BindingSetFingerprint”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.
Dispose()
Section titled “Dispose()”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)”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)”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)”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)”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.
IBehaviorMemberProviderDiagnostics
Section titled “IBehaviorMemberProviderDiagnostics”Category: Member binding
interface BitQuirky.Behavior.Member.IBehaviorMemberProviderDiagnosticsSource 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.
Members
Section titled “Members”TryGetUnmanagedOutputSize(int accessorId, int ordinal, out int size)
Section titled “TryGetUnmanagedOutputSize(int accessorId, int ordinal, out int size)”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