BitQuirky.Behavior.Editor.BehaviorTreeEditCommands
Public behavior trees and state machines: editor backend symbols in BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.
Source snapshot 29003d8b1658.
On this page
Assembly: BitQuirky.Behavior.Editor.Backend
AddMemberParamsValueCommand
Section titled “AddMemberParamsValueCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.AddMemberParamsValueCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:16-51
Implements: IBehaviorTreeEditCommand
One atomic authored addition of a new required expanded params value at the end of the call order. Responsibilities: append one Required row with no authored value, resolve its element type from the binding’s current declaration, and invert by removing exactly that row. Does NOT: choose a source, invent a value, or shift another entry’s ordinal.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:39
Appending an expanded value does not alter graph topology.
AddMemberParamsValueCommand(BehaviorSourceMemberBinding binding)
Section titled “AddMemberParamsValueCommand(BehaviorSourceMemberBinding binding)”public AddMemberParamsValueCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:27-36
Creates one complete expanded params value addition for the supplied binding.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:42
Applies the appended value as one member edit.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:48
Names this exact undo step.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:45
Removes the appended value, restoring the exact prior call order.
AddStateActionCommand
Section titled “AddStateActionCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.AddStateActionCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:26-93
Implements: IBehaviorTreeEditCommand
Appends one service-backed action to an action state’s ordered child edge list.
Responsibilities:
- Preserve an allocated action identity across undo and redo.
- Store exactly one immediate or deferred service binding.
- Write the authored lifecycle group on the new row when one is supplied.
- Name the history operation
Add Action.
Does NOT:
- Choose the service, completion kind, lifecycle group, or source persistence.
Members
Section titled “Members”AssignedNodeId
Section titled “AssignedNodeId”public string AssignedNodeId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:64
Gets the stable identity allocated for the action.
IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:67
Gets whether this edit changes source topology.
AddStateActionCommand(string stateId, int actionIndex, string serviceToken, string preassignedId, string phaseToken, StateMachineActionBindingKind bindingKind)
Section titled “AddStateActionCommand(string stateId, int actionIndex, string serviceToken, string preassignedId, string phaseToken, StateMachineActionBindingKind bindingKind)”public AddStateActionCommand(string stateId, int actionIndex, string serviceToken, string preassignedId = null, string phaseToken = null, BitQuirky.Behavior.Editor.StateMachineActionBindingKind bindingKind = Immediate)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:33-61
Creates one ordered action append.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:70-82
Applies the action append and its authored lifecycle group.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:92
Gets the undo label.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:85-89
Restores the exact source before the append.
AddStateMachineReferenceCandidateCommand
Section titled “AddStateMachineReferenceCandidateCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.AddStateMachineReferenceCandidateCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:22-132
Implements: IBehaviorTreeEditCommand
Adds one saved-machine candidate to a Referenced State Machine as one undo entry.
Responsibilities:
- Create one GUID/path-addressed Subgraph Reference and its typed reference-to-candidate edge.
- Insert an ordinary candidate at the requested priority, before the optional Default, or append the one unconditional Default after every ordinary candidate.
Does NOT:
- Create, copy, open, load, or repair the referenced module asset.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:34
Gets whether this command changes source topology.
AddStateMachineReferenceCandidateCommand(string referenceNodeId, string candidateNodeId, string moduleAddress, int candidateIndex, bool isDefault)
Section titled “AddStateMachineReferenceCandidateCommand(string referenceNodeId, string candidateNodeId, string moduleAddress, int candidateIndex, bool isDefault)”public AddStateMachineReferenceCandidateCommand(string referenceNodeId, string candidateNodeId, string moduleAddress, int candidateIndex, bool isDefault = false)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:37-53
Creates one reversible candidate addition.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:56-117
Creates the candidate node and its ordered ownership edge.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:129-131
Returns the user-facing undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:120-126
Removes exactly the candidate node and ownership edge created by Apply.
AddStateMemberActionCommand
Section titled “AddStateMemberActionCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.AddStateMemberActionCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:100-206
Implements: IBehaviorTreeEditCommand
Adds one shared member operation directly to a State Machine lifecycle group. The explicit phase is the ownership discriminator: an unphased member child remains a hosted Behavior Tree root.
Members
Section titled “Members”AssignedNodeId
Section titled “AssignedNodeId”public string AssignedNodeId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:156
Gets the stable identity allocated for the lifecycle operation.
IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:159
Gets whether this edit changes source topology.
AddStateMemberActionCommand(string stateId, int actionIndex, string phaseToken, BehaviorSourceMemberOperationKind operationKind, BehaviorSourceMemberTargetMode targetMode, BehaviorMemberDescriptor descriptor, string preassignedId)
Section titled “AddStateMemberActionCommand(string stateId, int actionIndex, string phaseToken, BehaviorSourceMemberOperationKind operationKind, BehaviorSourceMemberTargetMode targetMode, BehaviorMemberDescriptor descriptor, string preassignedId)”public AddStateMemberActionCommand(string stateId, int actionIndex, string phaseToken, BitQuirky.Behavior.Authoring.BehaviorSourceMemberOperationKind operationKind, BitQuirky.Behavior.Authoring.BehaviorSourceMemberTargetMode targetMode, BitQuirky.Behavior.Editor.Member.BehaviorMemberDescriptor descriptor, string preassignedId = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:129-153
Creates a lifecycle row already closed over a discovered real member.
AddStateMemberActionCommand(string stateId, int actionIndex, string phaseToken, BehaviorSourceMemberOperationKind operationKind, string preassignedId)
Section titled “AddStateMemberActionCommand(string stateId, int actionIndex, string phaseToken, BehaviorSourceMemberOperationKind operationKind, string preassignedId)”public AddStateMemberActionCommand(string stateId, int actionIndex, string phaseToken, BitQuirky.Behavior.Authoring.BehaviorSourceMemberOperationKind operationKind, string preassignedId = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:111-126
Creates an unbound lifecycle member row for the shared binding inspector.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:162-182
Creates the row, its explicit lifecycle ownership, and optional binding.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:193
Gets the undo label.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:185-190
Restores the exact source before the lifecycle operation was added.
AssignStateHostedTreeAssetCommand
Section titled “AssignStateHostedTreeAssetCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.AssignStateHostedTreeAssetCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateHostedTreeAssetCommand.cs:30-242
Implements: IBehaviorTreeEditCommand
Assigns one hosted Behavior Tree project asset to a state as a single undo entry.
Responsibilities:
- Create exactly one subgraph-reference node carrying the asset database GUID as both
its address and its canonical
@addr:label. - Persist the assigned asset’s display name as root semantic metadata.
- Place the created reference beneath the state with a deterministic layout derived from the state’s authored position.
- Own exactly one state-to-reference containment edge so the state hosts one tree.
- Restore the exact pre-assignment document on undo.
Does NOT:
- Create, move, or import the Behavior Tree asset on disk.
- Author hosted lifetime or result-event exposure; those are separate parameter edits.
- Persist the source file.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateHostedTreeAssetCommand.cs:52
Gets whether this command changes source topology.
AssignStateHostedTreeAssetCommand(string stateNodeId, string treeNodeId, string assetGuid, string displayName)
Section titled “AssignStateHostedTreeAssetCommand(string stateNodeId, string treeNodeId, string assetGuid, string displayName)”public AssignStateHostedTreeAssetCommand(string stateNodeId, string treeNodeId, string assetGuid, string displayName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateHostedTreeAssetCommand.cs:59-77
Creates one reversible hosted-tree asset assignment for a state.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateHostedTreeAssetCommand.cs:84-132
Creates the hosted reference node and its one containment edge.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateHostedTreeAssetCommand.cs:146-149
Returns the undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateHostedTreeAssetCommand.cs:135-143
Removes the created containment edge and reference node.
AssignStateTreeRootCommand
Section titled “AssignStateTreeRootCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.AssignStateTreeRootCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateTreeRootCommand.cs:26-285
Implements: IBehaviorTreeEditCommand
Assigns a behavior tree root to a state as one undo entry.
Responsibilities:
- Create the hosted tree root node with a deterministic layout.
- Replace Active Update containment with one state-to-root edge, preserving Entry and Exit.
- Adopt previous Active Update children under the new root in authored order; adopted children of a Probability Selector carry a default weight of one.
- Restore the exact pre-assignment document on undo.
Does NOT:
- Choose the hosted tree’s behavior or bind action services.
- Persist the source file.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateTreeRootCommand.cs:44
Gets whether this command changes source topology.
AssignStateTreeRootCommand(string stateNodeId, string treeRootNodeId, BehaviorSourceNodeKind treeRootKind, string treeRootLabel)
Section titled “AssignStateTreeRootCommand(string stateNodeId, string treeRootNodeId, BehaviorSourceNodeKind treeRootKind, string treeRootLabel)”public AssignStateTreeRootCommand(string stateNodeId, string treeRootNodeId, BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind treeRootKind, string treeRootLabel)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateTreeRootCommand.cs:47-60
Creates one deterministic state tree assignment command.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateTreeRootCommand.cs:63-131
Creates the root, rewires containment, and adopts prior children.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateTreeRootCommand.cs:154-157
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AssignStateTreeRootCommand.cs:134-151
Restores the prior containment edges and removes the created root.
AttachDecoratorCommand
Section titled “AttachDecoratorCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.AttachDecoratorCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AttachDecoratorCommand.cs:31-239
Implements: IBehaviorTreeEditCommand
Splice a decorator node between an existing parent and one of
its children. The decorator becomes the child of the original
parent; the original child becomes the child of the decorator.
In the Mermaid source decorators are first-class
:::inverter, :::repeat, :::timelimit, or
:::conditional
nodes ( visual stacking is an editor concern, not a
source-format one).
Responsibilities:
- On Apply: assign a fresh decorator id and insert the decorator node block. Wrap a root directly, or rewrite the parent to target edge as parent to decorator, then insert decorator to target.
- On Invert: undo the splice, restoring the original parent → target edge.
Does NOT:
- Persist the edited document or decide whether the resulting graph is valid.
- Treat a missing target as an empty root; the target must already exist.
Members
Section titled “Members”AssignedDecoratorNodeId
Section titled “AssignedDecoratorNodeId”public string AssignedDecoratorNodeId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AttachDecoratorCommand.cs:54
Authored id of the decorator node inserted by this command, valid after the first Apply and reused on every replay so undo and redo address the same node.
IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AttachDecoratorCommand.cs:52
Always structural: a rejected verdict rolls the splice back rather than leaving the parent edge half-rewritten.
AttachDecoratorCommand(BehaviorSourceNodeKind decoratorKind, string targetNodeId, string label, IEnumerable<BehaviorSourceLayoutEntry> parameters, string preassignedId)
Section titled “AttachDecoratorCommand(BehaviorSourceNodeKind decoratorKind, string targetNodeId, string label, IEnumerable<BehaviorSourceLayoutEntry> parameters, string preassignedId)”public AttachDecoratorCommand(BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind decoratorKind, string targetNodeId, string label = "", System.Collections.Generic.IEnumerable<BitQuirky.Behavior.Authoring.BehaviorSourceLayoutEntry> parameters = null, string preassignedId = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AttachDecoratorCommand.cs:69-92
Names the decorator to splice in above an existing target node. Asserts the kind really is a decorator and that a target id was supplied, since neither can be recovered later.
Parameters
preassignedId: Authored id to reuse for the inserted decorator. Pass the id from a previous run so undo and redo address the same node.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AttachDecoratorCommand.cs:99-186
Inserts the decorator node block and rewrites the parent edge so the decorator owns the target subtree.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AttachDecoratorCommand.cs:221-224
Undo and redo label naming the decorator kind and the node it wraps.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/AttachDecoratorCommand.cs:189-218
Removes the decorator node and its edges, restoring the original parent to target edge in its captured slot.
BehaviorDeclaredValueEditRefusal
Section titled “BehaviorDeclaredValueEditRefusal”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorDeclaredValueEditRefusalSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:236-272
Whether one declared-value name edit may proceed, and why not when it may not.
Responsibilities:
- Carry the exact refusal reason and, for an already-declared name, the variable a go-to recovery jumps to.
Does NOT:
- Repair the name or choose a different one.
Members
Section titled “Members”Allowed
Section titled “Allowed”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorDeclaredValueEditRefusal Allowed { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:257-258
The allowed verdict.
GoToVariableName
Section titled “GoToVariableName”public string GoToVariableName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:254
Gets the already-declared variable a go-to recovery jumps to, or empty.
IsAllowed
Section titled “IsAllowed”public bool IsAllowed { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:248
Gets whether the edit may proceed.
Reason
Section titled “Reason”public string Reason { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:251
Gets the exact refusal reason, or the empty string when allowed.
Refuse(string reason)
Section titled “Refuse(string reason)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorDeclaredValueEditRefusal Refuse(string reason)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:261-264
Builds a refusal that carries only a reason.
RefuseWithGoTo(string reason, string goToVariableName)
Section titled “RefuseWithGoTo(string reason, string goToVariableName)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorDeclaredValueEditRefusal RefuseWithGoTo(string reason, string goToVariableName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:267-271
Builds a refusal whose recovery jumps to an already-declared variable.
BehaviorDictionaryKeyRetypeFinding
Section titled “BehaviorDictionaryKeyRetypeFinding”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorDictionaryKeyRetypeFindingSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:306-337
One entry’s verdict after a dictionary key retype.
Responsibilities:
- Point at the exact entry, its saved key payload, its outcome, and the earlier entry it converged with.
Does NOT:
- Change the entry; every entry is retained verbatim.
Members
Section titled “Members”ConvergesWithEntryIndex
Section titled “ConvergesWithEntryIndex”public int ConvergesWithEntryIndex { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:333
Gets the earlier entry this key converged with, or -1.
Detail
Section titled “Detail”public string Detail { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:336
Gets the exact readable detail of the verdict.
EntryIndex
Section titled “EntryIndex”public int EntryIndex { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:324
Gets the zero-based authored position of the entry.
KeyPayload
Section titled “KeyPayload”public string KeyPayload { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:327
Gets the exact saved key payload, retained verbatim.
Outcome
Section titled “Outcome”public BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorDictionaryKeyRetypeOutcome Outcome { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:330
Gets the entry’s verdict under the new key type.
BehaviorDictionaryKeyRetypeFinding(int entryIndex, string keyPayload, BehaviorDictionaryKeyRetypeOutcome outcome, int convergesWithEntryIndex, string detail)
Section titled “BehaviorDictionaryKeyRetypeFinding(int entryIndex, string keyPayload, BehaviorDictionaryKeyRetypeOutcome outcome, int convergesWithEntryIndex, string detail)”public BehaviorDictionaryKeyRetypeFinding(int entryIndex, string keyPayload, BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorDictionaryKeyRetypeOutcome outcome, int convergesWithEntryIndex, string detail)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:309-321
Creates one entry verdict.
BehaviorDictionaryKeyRetypeOutcome
Section titled “BehaviorDictionaryKeyRetypeOutcome”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorDictionaryKeyRetypeOutcomeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:284-294
Underlying type: byte
What retyping one dictionary key half did to one authored entry.
Responsibilities:
- Say whether the saved key is still readable as the new key type, and whether it now collides with an earlier entry.
Does NOT:
- Repair, drop, or merge an entry.
Members
Section titled “Members”Converged
Section titled “Converged”Converged = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:293
The new key type makes this key equal to an earlier authored entry.
Invalid
Section titled “Invalid”Invalid = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:290
The new key type cannot hold the saved key.
Valid = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:287
The saved key reads cleanly as the new key type and collides with nothing.
BehaviorTreeBlackboardDefaults
Section titled “BehaviorTreeBlackboardDefaults”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorTreeBlackboardDefaultsSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeBlackboardDefaults.cs:32-256
Per-document table of authored blackboard default values
the inspector blackboard panel edits in Static mode. Attaches to
aBehaviorSourceDocumentvia
ConditionalWeakTable'2so the
authoring-package document model stays untouched; once the
document is GC’d the defaults table goes with it.
Responsibilities:
- Hold a small map of
fieldName → (typeCode, value)for the currently-open Static document. - Provide the get / set / clear / try-get primitives EditBlackboardDefaultCommanduses for forward + inverse application.
- Preserve defaults as deterministic Mermaid passthrough comments so editor-owned values participate in the same source autosave.
Does NOT:
- Change runtime blackboard initialization or baked semantics.
Members
Section titled “Members”Clear(string fieldName)
Section titled “Clear(string fieldName)”public void Clear(string fieldName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeBlackboardDefaults.cs:125-130
Drops the authored default for a field and rewrites the document’s passthrough comments. An empty field name is ignored.
EnumerateFieldNames()
Section titled “EnumerateFieldNames()”public System.Collections.Generic.IReadOnlyCollection<string> EnumerateFieldNames()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeBlackboardDefaults.cs:133
The field names that currently carry an authored default, in dictionary order.
GetOrCreate(BehaviorSourceDocument document)
Section titled “GetOrCreate(BehaviorSourceDocument document)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorTreeBlackboardDefaults GetOrCreate(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeBlackboardDefaults.cs:76-86
Return the attached defaults instance for the document, creating it on first request.
SerializeForDirty()
Section titled “SerializeForDirty()”public string SerializeForDirty()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeBlackboardDefaults.cs:136-154
Deterministic ordinal-sorted rendering of the whole table, used as the dirty-state fingerprint the save queue compares.
Set(string fieldName, BakedFieldTypeCode typeCode, string value)
Section titled “Set(string fieldName, BakedFieldTypeCode typeCode, string value)”public void Set(string fieldName, BitQuirky.Behavior.Baked.BakedFieldTypeCode typeCode, string value)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeBlackboardDefaults.cs:117-122
Records the authored default for a field and rewrites the document’s passthrough comments. An empty field name is ignored.
TryGet(string fieldName, out string value)
Section titled “TryGet(string fieldName, out string value)”public bool TryGet(string fieldName, out string value)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeBlackboardDefaults.cs:93-102
Reads the authored default for a field. Returns false and an empty value when the field has no authored default.
TryGetTypeCode(string fieldName, out BakedFieldTypeCode typeCode)
Section titled “TryGetTypeCode(string fieldName, out BakedFieldTypeCode typeCode)”public bool TryGetTypeCode(string fieldName, out BitQuirky.Behavior.Baked.BakedFieldTypeCode typeCode)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeBlackboardDefaults.cs:105-114
Reads the baked field type recorded with a field’s authored default. Returns false and Unknown when the field has no authored default.
BehaviorUncarriedBinding
Section titled “BehaviorUncarriedBinding”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBindingSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:380-402
One authored member binding the graph’s chosen Runtime path cannot carry, with the exact coordinates and recoveries the report needs.
Responsibilities:
- Name the node and binding, the exact tag and one-sentence reason, and the recoveries this exact shape offers, in their stated order.
Does NOT:
- Repair, convert, or discard anything. Authoring is never blocked, only running.
Members
Section titled “Members”BindingId
Section titled “BindingId”public string BindingId { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:386
Gets or sets the stable binding id.
Context
Section titled “Context”public string Context { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:398
Gets or sets the node, mode and target context line.
Message
Section titled “Message”public string Message { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:395
Gets or sets the one-sentence reason the card states.
NodeId
Section titled “NodeId”public string NodeId { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:383
Gets or sets the node whose binding carries the uncarried target.
Reason
Section titled “Reason”public BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedTargetReason Reason { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:389
Gets or sets why the chosen path cannot carry this target.
Recoveries
Section titled “Recoveries”public System.Collections.Generic.IReadOnlyList<string> Recoveries { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:401
Gets or sets the recoveries this shape offers, in their stated order.
public string Tag { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:392
Gets or sets the Validation card’s header tag, in its exact casing.
BehaviorUncarriedTargetReason
Section titled “BehaviorUncarriedTargetReason”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedTargetReasonSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:354-367
Underlying type: byte
Why one authored member target cannot be carried on a graph’s chosen Runtime path.
Responsibilities:
- Name the exact authored shape the new path has no way to resolve, so the report states a fact about what was authored rather than a generic refusal.
Does NOT:
- Decide the recovery, or imply that the binding was changed. Switching the path never reinterprets a target.
Members
Section titled “Members”AgentScope
Section titled “AgentScope”AgentScope = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:357
An Agent target scoped over a transform hierarchy the entity path has none of.
EntityTarget
Section titled “EntityTarget”EntityTarget = 3Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:366
An entity target on a path that resolves no entity.
ExplicitReference
Section titled “ExplicitReference”ExplicitReference = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:360
A Reference target assigning a managed UnityEngine.Object.
VariableTarget
Section titled “VariableTarget”VariableTarget = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:363
A target read from a blackboard variable, which holds a managed reference.
BehaviorVariableReference
Section titled “BehaviorVariableReference”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorVariableReferenceSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:75-198
Implements: IEquatable<BehaviorVariableReference>
One authored reference to a declared blackboard variable, with the exact coordinates a diagnostic needs to point at it.
Responsibilities:
- Carry the referencing node, member binding, transition target, ordinal, referenced name, and source line of one reference slot.
Does NOT:
- Hold the slot itself. The mutator resolves the slot again whenever it writes.
Members
Section titled “Members”BindingId
Section titled “BindingId”public string BindingId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:106
Gets the owning member binding id, or the empty string outside a binding.
EdgeTargetId
Section titled “EdgeTargetId”public string EdgeTargetId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:109
Gets the transition’s target node id, or the empty string outside a transition.
public string Name { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:118
Gets the referenced variable name held by the slot.
NodeId
Section titled “NodeId”public string NodeId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:103
Gets the referencing node id. A transition predicate reports the edge’s source node, and a graph-level member binding reports the empty string.
Ordinal
Section titled “Ordinal”public int Ordinal { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:115
Gets the set index, argument ordinal, or predicate index, and -1 where the slot is unique within its owner.
public BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorVariableReferenceSite Site { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:97
Gets which authored slot this reference occupies.
SourceLine
Section titled “SourceLine”public int SourceLine { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:121
Gets the one-based source line of the referencing record, or zero.
BehaviorVariableReference(BehaviorVariableReferenceSite site, string nodeId, string bindingId, string edgeTargetId, int ordinal, string name, int sourceLine)
Section titled “BehaviorVariableReference(BehaviorVariableReferenceSite site, string nodeId, string bindingId, string edgeTargetId, int ordinal, string name, int sourceLine)”public BehaviorVariableReference(BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorVariableReferenceSite site, string nodeId, string bindingId, string edgeTargetId, int ordinal, string name, int sourceLine)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:78-94
Creates one reference with its exact coordinates.
AddressesSameSlot(BehaviorVariableReference other)
Section titled “AddressesSameSlot(BehaviorVariableReference other)”public bool AddressesSameSlot(BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorVariableReference other)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:124-132
Returns whether two references address the exact same authored slot.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:160-197
Renders the exact repair coordinates of this reference.
Equals(BehaviorVariableReference other)
Section titled “Equals(BehaviorVariableReference other)”public bool Equals(BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorVariableReference other)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:135-139
Returns whether both references address the same authored slot and hold the same variable name.
Equals(object obj)
Section titled “Equals(object obj)”public override bool Equals(object obj)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:142-145
Returns whether the object is a reference to the same slot holding the same variable name.
GetHashCode()
Section titled “GetHashCode()”public override int GetHashCode()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:148-157
Hash over the addressed slot only, so references that differ in name alone collide deliberately.
BehaviorVariableReferenceRewrite
Section titled “BehaviorVariableReferenceRewrite”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorVariableReferenceRewriteSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:209-224
One applied rename of a variable reference slot, kept so an undo restores it exactly.
Responsibilities:
- Pair the slot’s coordinates and prior name with the name written over it.
Does NOT:
- Reverse itself;
BehaviorTreeDocumentMutator.RestoreVariableReferencesdoes that.
Members
Section titled “Members”NewName
Section titled “NewName”public string NewName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:223
Gets the name written over the slot.
Reference
Section titled “Reference”public BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorVariableReference Reference { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:220
Gets the slot coordinates and the name held before the rewrite.
BehaviorVariableReferenceRewrite(BehaviorVariableReference reference, string newName)
Section titled “BehaviorVariableReferenceRewrite(BehaviorVariableReference reference, string newName)”public BehaviorVariableReferenceRewrite(BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorVariableReference reference, string newName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:212-217
Creates one recorded rewrite.
BehaviorVariableReferenceSite
Section titled “BehaviorVariableReferenceSite”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorVariableReferenceSiteSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:22-62
Underlying type: byte
Which authored slot one blackboard variable reference occupies.
Responsibilities:
- Name every distinct place a declared variable is referenced by name, so a rename rewrites all of them in one edit and a remove reports all of them against exact nodes.
Does NOT:
- Describe the reference’s meaning; the member and transition contracts own that.
Members
Section titled “Members”MemberArgument
Section titled “MemberArgument”MemberArgument = 3Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:34
A member argument sourced from the blackboard.
MemberArgumentOutput
Section titled “MemberArgumentOutput”MemberArgumentOutput = 4Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:37
The blackboard destination a ref or out argument writes back to.
MemberComparison
Section titled “MemberComparison”MemberComparison = 6Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:43
The blackboard right operand of a member comparison.
MemberEntityIdentity
Section titled “MemberEntityIdentity”MemberEntityIdentity = 9Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:52
The blackboard identity operand of an entity container lookup.
MemberParamsArrayValue
Section titled “MemberParamsArrayValue”MemberParamsArrayValue = 12Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:61
The explicit params array value sourced from the blackboard.
MemberParamsExpandedValue
Section titled “MemberParamsExpandedValue”MemberParamsExpandedValue = 11Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:58
An expanded params value sourced from the blackboard.
MemberResultDestination
Section titled “MemberResultDestination”MemberResultDestination = 5Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:40
The blackboard destination a member result writes.
MemberTarget
Section titled “MemberTarget”MemberTarget = 7Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:46
The blackboard variable a member target resolves through.
MemberTargetHop
Section titled “MemberTargetHop”MemberTargetHop = 8Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:49
The surfaced blackboard entry an entity Handle target hops through.
NodeRead
Section titled “NodeRead”NodeRead = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:25
The node’s authored read set.
NodeWrite
Section titled “NodeWrite”NodeWrite = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:28
The node’s authored write set.
TransitionPredicate
Section titled “TransitionPredicate”TransitionPredicate = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:31
The left field of one typed predicate in a transition’s condition group.
TransitionPredicateRightOperand
Section titled “TransitionPredicateRightOperand”TransitionPredicateRightOperand = 10Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BehaviorTreeDocumentMutator.cs:55
The graph-value right operand of one typed transition predicate.
BindMemberArgumentCommand
Section titled “BindMemberArgumentCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BindMemberArgumentCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BindMemberArgumentCommand.cs:19-127
Implements: IBehaviorTreeEditCommand
One atomic argument-level binding: the chosen project value becomes a sibling binding on the owning node and the argument reads its surfaced value, in one edit and one undo step. Responsibilities: author or replace the sibling binding, move exactly one parameter slot to the Binding source naming that sibling, retain every other parameter verbatim, and invert both edits together in reverse order. Reusing an already-authored sibling edits only the argument. Does NOT: open a picker, choose a member, derive surfaced names, validate a graph, or write source text.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BindMemberArgumentCommand.cs:56
An argument binding does not alter graph topology.
BindMemberArgumentCommand(BehaviorSourceMemberBinding primary, int ordinal, BehaviorSourceMemberBinding sibling)
Section titled “BindMemberArgumentCommand(BehaviorSourceMemberBinding primary, int ordinal, BehaviorSourceMemberBinding sibling)”public BindMemberArgumentCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding primary, int ordinal, BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding sibling)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BindMemberArgumentCommand.cs:35-41
Creates the composite edit that authorssiblingbeside
primary and binds the argument at ordinalto it.
BindMemberArgumentCommand(BehaviorSourceMemberBinding primary, int ordinal, string existingSiblingBindingId)
Section titled “BindMemberArgumentCommand(BehaviorSourceMemberBinding primary, int ordinal, string existingSiblingBindingId)”public BindMemberArgumentCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding primary, int ordinal, string existingSiblingBindingId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BindMemberArgumentCommand.cs:47-53
Creates the argument-only edit that binds the argument at
ordinalto the already-authored sibling binding.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BindMemberArgumentCommand.cs:59-63
Authors the sibling first so the argument’s reference always resolves.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BindMemberArgumentCommand.cs:73
Describes the exact parameter and the sibling it now reads.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/BindMemberArgumentCommand.cs:66-70
Restores the argument first, then removes or restores the sibling.
ChangeMemberArgumentSourceCommand
Section titled “ChangeMemberArgumentSourceCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ChangeMemberArgumentSourceCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberArgumentSourceCommand.cs:18-96
Implements: IBehaviorTreeEditCommand
One atomic authored transition for one optional method argument. Responsibilities: move exactly one parameter slot among Declared default, Constant, and Blackboard, copy only a declaration the existing constant editor holds exactly, materialize a safely appended all-default suffix on this edit and never before it, retain every sibling parameter verbatim, and invert through the standard member-binding command in one step. Does NOT: open a picker, choose a variable, invent a value when the declaration is unavailable, shift another ordinal, validate a graph, or write source text.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberArgumentSourceCommand.cs:52
An argument source choice does not alter graph topology.
ChangeMemberArgumentSourceCommand(BehaviorSourceMemberBinding binding, int ordinal, BehaviorSourceMemberArgumentSource chosenSource, string chosenBlackboardName)
Section titled “ChangeMemberArgumentSourceCommand(BehaviorSourceMemberBinding binding, int ordinal, BehaviorSourceMemberArgumentSource chosenSource, string chosenBlackboardName)”public ChangeMemberArgumentSourceCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, int ordinal, BitQuirky.Behavior.Authoring.BehaviorSourceMemberArgumentSource chosenSource, string chosenBlackboardName = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberArgumentSourceCommand.cs:30-49
Creates one complete argument-source edit for the supplied parameter slot.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberArgumentSourceCommand.cs:55-58
Applies the edited binding as one member edit.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberArgumentSourceCommand.cs:67
Describes the exact parameter and the source it was moved to.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberArgumentSourceCommand.cs:61-64
Restores the exact prior source and its prior value together.
ChangeMemberGenericArgumentCommand
Section titled “ChangeMemberGenericArgumentCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ChangeMemberGenericArgumentCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberGenericArgumentCommand.cs:15-67
Implements: IBehaviorTreeEditCommand
One atomic authored transition for one generic method parameter. Responsibilities: replace exactly one type argument, project its closed signature, retain every unrelated authored value, and invert through the standard member-binding command. Does NOT: open a picker, accept an invalid type, validate a graph, or write source text.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberGenericArgumentCommand.cs:49
Generic type choice does not alter graph topology.
ChangeMemberGenericArgumentCommand(BehaviorSourceMemberBinding binding, int ordinal, Type chosenType)
Section titled “ChangeMemberGenericArgumentCommand(BehaviorSourceMemberBinding binding, int ordinal, Type chosenType)”public ChangeMemberGenericArgumentCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, int ordinal, System.Type chosenType)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberGenericArgumentCommand.cs:27-46
Creates one complete generic-argument edit for the supplied binding slot.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberGenericArgumentCommand.cs:52-55
Applies the closed binding as one member edit.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberGenericArgumentCommand.cs:64
Describes the exact chosen type parameter.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberGenericArgumentCommand.cs:58-61
Restores the exact prior open or closed binding.
ChangeMemberOutputDestinationCommand
Section titled “ChangeMemberOutputDestinationCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ChangeMemberOutputDestinationCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberOutputDestinationCommand.cs:23-89
Implements: IBehaviorTreeEditCommand
One atomic authored transition for one output-only method parameter.
Responsibilities:
- Point exactly one output row at one already declared blackboard destination, or return that one row to its required state when the destination is cleared.
- Retain every sibling output, input, generic closure, and Result choice verbatim, and invert through the standard member-binding command in one step.
Does NOT:
- Open a picker, declare a variable, delete a declaration, remove the output row, choose a destination on the author’s behalf, validate a graph, or write source text.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberOutputDestinationCommand.cs:58
An output destination choice does not alter graph topology.
ChangeMemberOutputDestinationCommand(BehaviorSourceMemberBinding binding, int ordinal, string destinationName)
Section titled “ChangeMemberOutputDestinationCommand(BehaviorSourceMemberBinding binding, int ordinal, string destinationName)”public ChangeMemberOutputDestinationCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, int ordinal, string destinationName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberOutputDestinationCommand.cs:38-55
Creates one complete output-destination edit for the supplied parameter slot. An empty
or nulldestinationNameclears that one destination.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberOutputDestinationCommand.cs:61-64
Applies the edited binding as one member edit.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberOutputDestinationCommand.cs:73
Describes the exact output and the destination it was pointed at.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberOutputDestinationCommand.cs:67-70
Restores the exact prior destination of that one output.
ChangeMemberParamsArrayValueCommand
Section titled “ChangeMemberParamsArrayValueCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ChangeMemberParamsArrayValueCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:265-304
Implements: IBehaviorTreeEditCommand
One atomic authored choice of the one explicit params array value’s Blackboard source. Responsibilities: record the chosen variable as the binding’s ParamsArrayValue, creating that record at the params parameter’s own declared array type when the binding has none yet, and invert by restoring the exact prior array-value record (or its absence). Does NOT: open a picker, change the active params mode, or touch the expanded values.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:292
Choosing the array value does not alter graph topology.
ChangeMemberParamsArrayValueCommand(BehaviorSourceMemberBinding binding, string chosenBlackboardName)
Section titled “ChangeMemberParamsArrayValueCommand(BehaviorSourceMemberBinding binding, string chosenBlackboardName)”public ChangeMemberParamsArrayValueCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, string chosenBlackboardName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:277-289
Creates one complete params array-value choice of the supplied variable.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:295
Applies the chosen variable as one member edit.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:301
Describes the exact variable this array value was set to.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:298
Restores the exact prior array-value record.
ChangeMemberParamsInputFormCommand
Section titled “ChangeMemberParamsInputFormCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ChangeMemberParamsInputFormCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:213-255
Implements: IBehaviorTreeEditCommand
One atomic authored switch of the active params payload form between Individual values (Expanded) and Collection (Array). Responsibilities: move the binding’sBehaviorSourceMemberParamsInputFormto the chosen form, leave both the expanded values and the array value retained verbatim, and invert by restoring the exact prior form in the same one step. Does NOT: touch either payload’s authored content, choose a variable, or add/remove/ reorder an expanded value.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:243
A params mode switch does not alter graph topology.
ChangeMemberParamsInputFormCommand(BehaviorSourceMemberBinding binding, BehaviorSourceMemberParamsInputForm chosenForm)
Section titled “ChangeMemberParamsInputFormCommand(BehaviorSourceMemberBinding binding, BehaviorSourceMemberParamsInputForm chosenForm)”public ChangeMemberParamsInputFormCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, BitQuirky.Behavior.Authoring.BehaviorSourceMemberParamsInputForm chosenForm)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:225-240
Creates one complete params-mode switch to the supplied form.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:246
Applies the mode switch as one member edit.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:252
Names this exact undo step.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:249
Restores the exact prior active form.
ChangeMemberParamsValueSourceCommand
Section titled “ChangeMemberParamsValueSourceCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ChangeMemberParamsValueSourceCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:156-202
Implements: IBehaviorTreeEditCommand
One atomic authored transition for one expanded params value between Constant and Blackboard. Responsibilities: move exactly the value at the supplied index to the chosen source, preserve the exact literal or blackboard name last authored on the source being left, and invert by restoring that prior source and its prior value together, matching the retentionChangeMemberArgumentSourceCommandgives an ordinary by-value argument. Does NOT: open a picker, choose a variable, or move a different value’s ordinal.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:190
A params value source choice does not alter graph topology.
ChangeMemberParamsValueSourceCommand(BehaviorSourceMemberBinding binding, int index, BehaviorSourceMemberArgumentSource chosenSource, string chosenBlackboardName)
Section titled “ChangeMemberParamsValueSourceCommand(BehaviorSourceMemberBinding binding, int index, BehaviorSourceMemberArgumentSource chosenSource, string chosenBlackboardName)”public ChangeMemberParamsValueSourceCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, int index, BitQuirky.Behavior.Authoring.BehaviorSourceMemberArgumentSource chosenSource, string chosenBlackboardName = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:169-187
Creates one complete expanded params value source edit at the supplied index.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:193
Applies the edited value as one member edit.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:199
Describes the exact index and the source it was moved to.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:196
Restores the exact prior source and its prior value together.
ChangeMemberTargetModeCommand
Section titled “ChangeMemberTargetModeCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ChangeMemberTargetModeCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetModeCommand.cs:21-90
Implements: IBehaviorTreeEditCommand
Changes one member target mode and clears the complete mode-owned member contract as one reversible document edit.
Responsibilities:
- Reset mode-owned targeting and member state as one undoable document edit.
- Start a declared-asset destination with the canonical unassigned value.
Does NOT:
- Assign an asset, choose a target type, or write source files.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetModeCommand.cs:71
False: changing a target mode edits member values only and never graph topology.
ChangeMemberTargetModeCommand(BehaviorSourceMemberBinding binding, BehaviorSourceMemberTargetMode mode)
Section titled “ChangeMemberTargetModeCommand(BehaviorSourceMemberBinding binding, BehaviorSourceMemberTargetMode mode)”public ChangeMemberTargetModeCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, BitQuirky.Behavior.Authoring.BehaviorSourceMemberTargetMode mode)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetModeCommand.cs:32-68
Builds the edit that retargets one binding to a new mode. The whole mode-owned contract - resolve, paths, type, arguments, result, direction, and comparison - is cleared here, so the command carries the cleared binding rather than clearing it at apply time.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetModeCommand.cs:74-77
Writes the new target mode and clears the member contract owned by the previous mode.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetModeCommand.cs:86-89
Undo and redo label naming the selected target mode.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetModeCommand.cs:80-83
Restores the previous target mode together with the member contract it owned.
ChangeMemberTargetTypeCommand
Section titled “ChangeMemberTargetTypeCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ChangeMemberTargetTypeCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetTypeCommand.cs:26-243
Implements: IBehaviorTreeEditCommand
Changes one member binding target type and every affected Reference assignment atomically.
Responsibilities:
- Clear every member-specific field, revalidate an explicit Object assignment against the new exact type, and restore both the complete binding and assignment with one Undo.
Does NOT:
- Carry a member across by name or signature, choose a replacement Object, or write source.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetTypeCommand.cs:82
Target-type changes preserve graph topology.
ChangeMemberTargetTypeCommand(BehaviorSourceMemberBinding newBinding, Type newTargetType, BehaviorAgent selectedAgent)
Section titled “ChangeMemberTargetTypeCommand(BehaviorSourceMemberBinding newBinding, Type newTargetType, BehaviorAgent selectedAgent)”public ChangeMemberTargetTypeCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding newBinding, System.Type newTargetType, BitQuirky.Behavior.GameObject.BehaviorAgent selectedAgent)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetTypeCommand.cs:41-54
Creates one complete target-type transition.
ChangeMemberTargetTypeCommand(BehaviorSourceMemberBinding newBinding, Type newTargetType, IReadOnlyList<BehaviorAgent> owners, IReadOnlyList<BehaviorMemberReference> graphReferences, Action<BehaviorMemberReference[]> setGraphReferences)
Section titled “ChangeMemberTargetTypeCommand(BehaviorSourceMemberBinding newBinding, Type newTargetType, IReadOnlyList<BehaviorAgent> owners, IReadOnlyList<BehaviorMemberReference> graphReferences, Action<BehaviorMemberReference[]> setGraphReferences)”public ChangeMemberTargetTypeCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding newBinding, System.Type newTargetType, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.GameObject.BehaviorAgent> owners, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberReference> graphReferences, System.Action<BitQuirky.Behavior.Member.BehaviorMemberReference[]> setGraphReferences)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetTypeCommand.cs:60-79
Creates one complete target-type transition across graph-owned and owner-scoped Reference stores.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetTypeCommand.cs:85-116
Applies the complete binding and Object transition.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetTypeCommand.cs:136-139
Returns the author-facing Undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberTargetTypeCommand.cs:119-133
Restores the complete prior binding and Object assignment.
ChangeStateHostedTreeAssetCommand
Section titled “ChangeStateHostedTreeAssetCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ChangeStateHostedTreeAssetCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeStateHostedTreeAssetCommand.cs:27-215
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Repoints an already-assigned hosted Behavior Tree reference at a different project asset as a single undo entry.
Responsibilities:
- Replace only the subgraph GUID, its canonical
@addr:label, and persisted display-name semantic parameter, so hosted node identity and settings survive. - Rewrite the raw node line the canonical writer round-trips verbatim.
- Report re-choosing the already-assigned asset and name as no change.
- Restore the previous address, display name, label, and raw node line exactly on undo.
Does NOT:
- Create, move, or delete a Behavior Tree asset on disk.
- Change hosted lifetime, result-event exposure, or graph topology.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeStateHostedTreeAssetCommand.cs:49
Gets whether this command changes source topology.
ChangeStateHostedTreeAssetCommand(string treeNodeId, string assetGuid, string displayName)
Section titled “ChangeStateHostedTreeAssetCommand(string treeNodeId, string assetGuid, string displayName)”public ChangeStateHostedTreeAssetCommand(string treeNodeId, string assetGuid, string displayName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeStateHostedTreeAssetCommand.cs:56-70
Creates one reversible hosted-tree asset repoint.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeStateHostedTreeAssetCommand.cs:101-125
Applies the new asset address and captures the prior reference for undo.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeStateHostedTreeAssetCommand.cs:147-150
Returns the undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeStateHostedTreeAssetCommand.cs:128-144
Restores the address, label, and raw node line captured by Apply.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeStateHostedTreeAssetCommand.cs:77-94
Returns false when the reference already addresses exactly this asset.
ChangeStateMachineCandidateModuleCommand
Section titled “ChangeStateMachineCandidateModuleCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ChangeStateMachineCandidateModuleCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:145-207
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Repoints one candidate at another saved State Machine module without changing its identity, order, Eligibility, Default role, or overrides.
Responsibilities:
- Replace only SubgraphAddress, the canonical address label, and its round-tripped node line.
- Restore the exact prior address representation on undo.
Does NOT:
- Validate module existence or cycles; source loading and bake diagnostics own those verdicts.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:156
Gets whether this command changes source topology.
ChangeStateMachineCandidateModuleCommand(string candidateNodeId, string moduleAddress)
Section titled “ChangeStateMachineCandidateModuleCommand(string candidateNodeId, string moduleAddress)”public ChangeStateMachineCandidateModuleCommand(string candidateNodeId, string moduleAddress)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:159-166
Creates one reversible module assignment change.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:178-191
Writes the new module identity.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:206
Returns the user-facing undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:194-203
Restores the exact saved module identity.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:169-175
Returns whether this choice differs from the exact saved address.
ChangeStateMemberActionKindCommand
Section titled “ChangeStateMemberActionKindCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ChangeStateMemberActionKindCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:213-302
Implements: IBehaviorTreeEditCommand
Changes an existing lifecycle row to an unbound shared member family while preserving its identity, edge, phase, and other lifecycle parameters. The existing member inspector then completes target and declaration selection through its normal path.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:235
A family change preserves topology.
ChangeStateMemberActionKindCommand(string actionId, BehaviorSourceMemberOperationKind operationKind)
Section titled “ChangeStateMemberActionKindCommand(string actionId, BehaviorSourceMemberOperationKind operationKind)”public ChangeStateMemberActionKindCommand(string actionId, BitQuirky.Behavior.Authoring.BehaviorSourceMemberOperationKind operationKind)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:226-232
Creates one family change.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:238-277
Applies the unbound member family without changing lifecycle parameters.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:301
Gets the undo label.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:280-298
Restores the exact previous operation.
ClearStateHostedTreeAssetCommand
Section titled “ClearStateHostedTreeAssetCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ClearStateHostedTreeAssetCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ClearStateHostedTreeAssetCommand.cs:26-121
Implements: IBehaviorTreeEditCommand
Clears a state’s hosted Behavior Tree project-asset assignment as a single undo entry.
Responsibilities:
- Remove exactly the project-asset reference node and the one state-to-reference containment edge that made the state a host.
- Refuse to clear an in-document hosted subtree, which is authored work rather than an asset reference.
- Capture both removed blocks with their exact document indices so undo restores the pre-clear source byte for byte, including block order.
Does NOT:
- Delete a Behavior Tree asset from disk.
- Remove the state’s authored host settings; a cleared assignment keeps dormant lifetime and result-event settings for an explicit return.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ClearStateHostedTreeAssetCommand.cs:44
Gets whether this command changes source topology.
ClearStateHostedTreeAssetCommand(string stateNodeId, string treeNodeId)
Section titled “ClearStateHostedTreeAssetCommand(string stateNodeId, string treeNodeId)”public ClearStateHostedTreeAssetCommand(string stateNodeId, string treeNodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ClearStateHostedTreeAssetCommand.cs:51-59
Creates one reversible hosted-tree assignment clear for a state.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ClearStateHostedTreeAssetCommand.cs:66-94
Removes the containment edge and the project-asset reference node.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ClearStateHostedTreeAssetCommand.cs:115-118
Returns the undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ClearStateHostedTreeAssetCommand.cs:97-112
Restores both removed blocks at their exact captured indices.
ClearTransitionTriggerCommand
Section titled “ClearTransitionTriggerCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ClearTransitionTriggerCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:318-389
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Removes an active trigger while retaining its condition group for explicit restoration.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:329
False: clearing a trigger edits transition metadata only and never graph topology.
ClearTransitionTriggerCommand(string transitionId)
Section titled “ClearTransitionTriggerCommand(string transitionId)”public ClearTransitionTriggerCommand(string transitionId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:337-341
Names the transition whose active trigger is cleared. Asserts a transition id was supplied; the trigger, label, condition group, parameters, and read set are captured at apply time so undo can restore the whole trigger.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:353-370
Removes the active trigger from the transition’s ingress edge, retaining its condition group.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:388
Undo and redo label for the trigger edit.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:373-385
Restores the trigger captured before the clear.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:344-350
Returns true only when the transition still carries a trigger to clear.
CompoundEditCommand
Section titled “CompoundEditCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.CompoundEditCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CompoundEditCommand.cs:24-85
Implements: IBehaviorTreeEditCommand
Groups the edits one canvas gesture authors into a single session command, so the gesture lands as one undo step and one rebuild.
Responsibilities:
- Apply every step in order and Invert them in reverse, producing the exact pre-gesture document on undo.
- Report structural when any step is structural, so the session treats the compound like its strictest member.
Does NOT:
- Decide whether the resulting structure is valid (the session re-runs the validator).
- Reorder, filter, or merge its steps.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CompoundEditCommand.cs:58
True when any grouped step is structural, so the session treats the gesture like its strictest member.
CompoundEditCommand(IReadOnlyList<IBehaviorTreeEditCommand> steps, string description)
Section titled “CompoundEditCommand(IReadOnlyList<IBehaviorTreeEditCommand> steps, string description)”public CompoundEditCommand(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.IBehaviorTreeEditCommand> steps, string description)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CompoundEditCommand.cs:42-55
Groups steps in the order they must be applied and names the undo entry. Asserts at least one step and a non-empty description, since an empty group would produce an unlabeled no-op undo step. The group is structural when any step is.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CompoundEditCommand.cs:61-67
Applies every grouped step in authored order.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CompoundEditCommand.cs:79-82
The caller-supplied label for the whole gesture, used as the single undo and redo entry.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CompoundEditCommand.cs:70-76
Inverts every grouped step in reverse order, reproducing the exact pre-gesture document.
ConnectTransitionCommand
Section titled “ConnectTransitionCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ConnectTransitionCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ConnectTransitionCommand.cs:21-220
Implements: IBehaviorTreeEditCommand
Creates a transition node and connects its source and destination state flow.
Responsibilities:
- Add one state-to-transition ingress and one transition-to-state egress edge.
- Preserve destination root containment by never invoking generic reparenting.
Does NOT:
- Bind a condition field or move either state in the containment hierarchy.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ConnectTransitionCommand.cs:32
Gets whether this command changes source topology.
ConnectTransitionCommand(string sourceStateId, string destinationStateId, string transitionNodeId)
Section titled “ConnectTransitionCommand(string sourceStateId, string destinationStateId, string transitionNodeId)”public ConnectTransitionCommand(string sourceStateId, string destinationStateId, string transitionNodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ConnectTransitionCommand.cs:35-46
Creates one deterministic transition connection command.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ConnectTransitionCommand.cs:49-104
Creates the transition node and its two role-specific edges.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ConnectTransitionCommand.cs:122-125
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ConnectTransitionCommand.cs:107-119
Removes the role-specific edges and transition node.
ConvertLegacyActionStateCommand
Section titled “ConvertLegacyActionStateCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ConvertLegacyActionStateCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:82-161
Implements: IBehaviorTreeEditCommand
Converts one legacy action list into explicit lifecycle groups as a deliberate, reversible authoring boundary.
Responsibilities:
- ReuseActionStatePhaseConversionas the sole conversion authority.
- Preserve every legacy state and action parameter so Undo restores the exact prior representation.
- Name the boundary independently from the ordinary lifecycle edit that may follow it.
Does NOT:
- Apply an ordinary lifecycle edit, write the source file, or convert any other state.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:96
Conversion changes authored lifecycle semantics, not graph topology.
ConvertLegacyActionStateCommand(string stateId)
Section titled “ConvertLegacyActionStateCommand(string stateId)”public ConvertLegacyActionStateCommand(string stateId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:89-93
Creates one explicit legacy-to-phased conversion.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:99-107
Converts the selected state through the canonical authoring rule.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:127
Gets the history label for the explicit authoring boundary.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:110-124
Restores every parameter list captured at the explicit boundary.
CreateActionStateCommand
Section titled “CreateActionStateCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.CreateActionStateCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateActionStateCommand.cs:26-209
Implements: IBehaviorTreeEditCommand
Creates one phased action state and its contained immediate action as one undo entry.
Responsibilities:
- Insert deterministic state and action node blocks with stable caller-owned IDs.
- Add root containment and state-to-action containment without partial undo state.
- Seed the source-format 1.5 defaults: Sequence for Entry, Active Update and
Exit, Repeat for Active Update, and
action_phase: updateon the seeded action, with no superseded legacy setting key .
Does NOT:
- Choose an action service binding or persist the source file.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateActionStateCommand.cs:42
Gets whether this command changes source topology.
CreateActionStateCommand(string rootNodeId, int stateIndex, string stateNodeId, string stateLabel, string actionNodeId)
Section titled “CreateActionStateCommand(string rootNodeId, int stateIndex, string stateNodeId, string stateLabel, string actionNodeId)”public CreateActionStateCommand(string rootNodeId, int stateIndex, string stateNodeId, string stateLabel, string actionNodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateActionStateCommand.cs:45-61
Creates one deterministic action-state command.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateActionStateCommand.cs:64-153
Creates the state, action, and their containment edges.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateActionStateCommand.cs:166-169
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateActionStateCommand.cs:156-163
Removes both containment edges and both created nodes.
CreateComponentAcquisitionCommand
Section titled “CreateComponentAcquisitionCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.CreateComponentAcquisitionCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateComponentAcquisitionCommand.cs:22-73
Implements: IBehaviorTreeEditCommand
Groups method-node creation and its complete closed component-acquisition binding into one undo entry, so the two-pick creation arrives as one authored step.
Responsibilities:
- Apply one root or child creation followed by the zero-configuration arrival binding closed over the chosen component.
- Invert the binding and the structural creation as one session command.
Does NOT:
- Open a picker, validate a graph, or save the source file.
Members
Section titled “Members”AssignedNodeId
Section titled “AssignedNodeId”public string AssignedNodeId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateComponentAcquisitionCommand.cs:33
Gets the stable authored id allocated by the creation command.
IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateComponentAcquisitionCommand.cs:30
Gets whether this compound command changes topology.
CreateComponentAcquisitionCommand(IBehaviorTreeEditCommand creation, Func<string> assignedNodeId, Type component)
Section titled “CreateComponentAcquisitionCommand(IBehaviorTreeEditCommand creation, Func<string> assignedNodeId, Type component)”public CreateComponentAcquisitionCommand(BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.IBehaviorTreeEditCommand creation, System.Func<string> assignedNodeId, System.Type component)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateComponentAcquisitionCommand.cs:36-45
Creates a compound acquisition-creation command.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateComponentAcquisitionCommand.cs:48-58
Applies the structural creation and the closed arrival binding.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateComponentAcquisitionCommand.cs:68-71
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateComponentAcquisitionCommand.cs:61-65
Reverts the binding and removes the created node as one operation.
CreateConfiguredNodeCommand
Section titled “CreateConfiguredNodeCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.CreateConfiguredNodeCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateConfiguredNodeCommand.cs:20-81
Implements: IBehaviorTreeEditCommand
Groups node creation and its required initial semantic parameters into one undo entry.
Responsibilities:
- Apply one root or child creation followed by deterministic parameter initialization.
- Invert the initialization and structural creation as one session command.
Does NOT:
- Save the source file or combine unrelated later inspector edits.
Members
Section titled “Members”AssignedNodeId
Section titled “AssignedNodeId”public string AssignedNodeId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateConfiguredNodeCommand.cs:31
Gets the stable authored id allocated by the creation command.
IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateConfiguredNodeCommand.cs:28
Gets whether this compound command changes topology.
CreateConfiguredNodeCommand(IBehaviorTreeEditCommand creation, Func<string> assignedNodeId, IEnumerable<KeyValuePair<string, string>> parameters)
Section titled “CreateConfiguredNodeCommand(IBehaviorTreeEditCommand creation, Func<string> assignedNodeId, IEnumerable<KeyValuePair<string, string>> parameters)”public CreateConfiguredNodeCommand(BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.IBehaviorTreeEditCommand creation, System.Func<string> assignedNodeId, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> parameters)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateConfiguredNodeCommand.cs:34-44
Creates a compound configuration command.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateConfiguredNodeCommand.cs:47-64
Applies the structural creation and required parameter defaults.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateConfiguredNodeCommand.cs:77-80
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateConfiguredNodeCommand.cs:67-74
Reverts defaults and removes the created node as one operation.
CreateNodeCommand
Section titled “CreateNodeCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.CreateNodeCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateNodeCommand.cs:31-267
Implements: IBehaviorTreeEditCommand
Append a new node block (metadata + node line) to the document and connect it as the Nth child of an existing parent.
Responsibilities:
- OnApply: allocate a unique authored node id (when none was supplied), insert the node block after the last existing node block, and insert a parent→child edge at the requested child slot. Give children of a Probability Selector a default weight. Declare any awaited services required by the new node and, when explicitly requested, declare action write-set items as services. Stable across replays: the allocated id is captured forInvert.
- OnInvert: remove the parent→child edge and the node block, then restore the prior service declarations.
Does NOT:
- Decide whether the resulting structure is valid (the session re-runs the validator).
- Write to disk.
Members
Section titled “Members”AssignedNodeId
Section titled “AssignedNodeId”public string AssignedNodeId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateNodeCommand.cs:56
Authored id allocated for the new node, valid after the first Apply and reused on every replay so undo, redo, and selection address the same node.
IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateNodeCommand.cs:54
Always structural: a rejected verdict rolls the insertion back rather than leaving an orphaned node block.
CreateNodeCommand(BehaviorSourceNodeKind family, string parentId, int childIndex, string initialLabel, BehaviorSourceAuthority authority, IEnumerable<string> readSet, IEnumerable<string> writeSet, IEnumerable<string> waits, string nodeKindToken, string subgraphAddress, string preassignedId, bool declareWriteSetServices)
Section titled “CreateNodeCommand(BehaviorSourceNodeKind family, string parentId, int childIndex, string initialLabel, BehaviorSourceAuthority authority, IEnumerable<string> readSet, IEnumerable<string> writeSet, IEnumerable<string> waits, string nodeKindToken, string subgraphAddress, string preassignedId, bool declareWriteSetServices)”public CreateNodeCommand(BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind family, string parentId, int childIndex, string initialLabel = "", BitQuirky.Behavior.Authoring.BehaviorSourceAuthority authority = HostAuthoritative, System.Collections.Generic.IEnumerable<string> readSet = null, System.Collections.Generic.IEnumerable<string> writeSet = null, System.Collections.Generic.IEnumerable<string> waits = null, string nodeKindToken = null, string subgraphAddress = null, string preassignedId = null, bool declareWriteSetServices = false)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateNodeCommand.cs:78-108
Describes the node to insert and where it goes: family and kind token, the parent it is attached under, the child slot it takes, and the authored label, authority, blackboard read and write sets, awaited services, and subgraph address it starts with. Asserts a parent id and a non-negative child slot, because the insertion point cannot be inferred later.
Parameters
preassignedId: Authored id to reuse for the new node. Pass the id from a previous run so undo, redo, and selection address the same node.declareWriteSetServices: True to also declare the write set entries as awaited services on the document.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateNodeCommand.cs:115-158
Inserts the new node block and the parent to child edge at the requested slot, allocating an id and declaring awaited services when needed.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateNodeCommand.cs:182-185
Undo and redo label naming the created node family.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateNodeCommand.cs:161-179
Removes the parent to child edge and the node block, then restores the service declarations captured before the insertion.
CreateRootNodeCommand
Section titled “CreateRootNodeCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.CreateRootNodeCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateRootNodeCommand.cs:20-179
Implements: IBehaviorTreeEditCommand
Creates the first node in an otherwise empty behavior source document.
Responsibilities:
- Allocate and insert one reversible root node block with no parent edge.
- Declare any awaited service required by that node.
Does NOT:
- Create a hidden wrapper node, write the source file, or bypass session validation.
Members
Section titled “Members”AssignedNodeId
Section titled “AssignedNodeId”public string AssignedNodeId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateRootNodeCommand.cs:35
Gets the stable authored id allocated on first apply.
IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateRootNodeCommand.cs:32
Gets whether this command changes graph topology.
CreateRootNodeCommand(BehaviorSourceNodeKind family, string initialLabel, string nodeKindToken, IEnumerable<string> waits, string preassignedId)
Section titled “CreateRootNodeCommand(BehaviorSourceNodeKind family, string initialLabel, string nodeKindToken, IEnumerable<string> waits, string preassignedId)”public CreateRootNodeCommand(BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind family, string initialLabel, string nodeKindToken, System.Collections.Generic.IEnumerable<string> waits = null, string preassignedId = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateRootNodeCommand.cs:38-50
Creates a reversible root-node command.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateRootNodeCommand.cs:53-78
Inserts the first source node.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateRootNodeCommand.cs:103-106
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateRootNodeCommand.cs:81-100
Removes the created root and restores prior service declarations.
CreateStateMachineElementCommand
Section titled “CreateStateMachineElementCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.CreateStateMachineElementCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:191-258
Implements: IBehaviorTreeEditCommand
Creates a graph-level Any State plate or reference without lifecycle action lists.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:201
Always structural: adding a graph-level element changes topology, so a rejected verdict rolls the creation back.
CreateStateMachineElementCommand(string rootId, string nodeId, BehaviorSourceNodeKind kind, string label, float x, float y)
Section titled “CreateStateMachineElementCommand(string rootId, string nodeId, BehaviorSourceNodeKind kind, string label, float x, float y)”public CreateStateMachineElementCommand(string rootId, string nodeId, BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind kind, string label, float x, float y)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:204-222
Creates one deterministic graph-level State Machine element command.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:225-245
Inserts the Any State plate or state machine reference node and the edge that attaches it to the graph root.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:257
Undo and redo label naming the created Any State plate or referenced state machine.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:248-254
Removes the root edge and the node block created by this command.
CreateStateMachineStateCommand
Section titled “CreateStateMachineStateCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.CreateStateMachineStateCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:26-188
Implements: IBehaviorTreeEditCommand
Creates one empty phased State Machine state at an authored canvas position.
Responsibilities:
- Make the first state the entry state and later states plain states.
- Preserve caller-owned IDs, ordering, layout, and exact undo behavior.
- Seed the source-format 1.5 defaults: Sequence for Entry, Active Update and Exit, and Repeat for Active Update, with no superseded legacy setting key. The state is born phased and stays blocking until it owns one action .
Does NOT:
- Create or bind the state’s immediate action, transition, or source file.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:40
Gets whether this command changes source topology.
CreateStateMachineStateCommand(string rootNodeId, int stateIndex, string stateNodeId, string stateLabel, float x, float y)
Section titled “CreateStateMachineStateCommand(string rootNodeId, int stateIndex, string stateNodeId, string stateLabel, float x, float y)”public CreateStateMachineStateCommand(string rootNodeId, int stateIndex, string stateNodeId, string stateLabel, float x, float y)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:43-60
Creates one deterministic empty State Machine state command.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:63-130
Creates the state and its root-containment edge.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:154-157
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateStateMachineStateCommand.cs:133-151
Removes the exact state and containment edge created by Apply.
CreateWeightedChildActionCommand
Section titled “CreateWeightedChildActionCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.CreateWeightedChildActionCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateWeightedChildActionCommand.cs:24-254
Implements: IBehaviorTreeEditCommand
Creates one action child under a Probability Selector with its authored weight as one undo entry.
Responsibilities:
- Insert a deterministic action node block with a caller-owned id.
- Add the weighted selector-to-action edge as the last child slot.
- Restore the document exactly on undo.
Does NOT:
- Choose the action’s service binding or persist the source file.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateWeightedChildActionCommand.cs:43
Gets whether this command changes source topology.
CreateWeightedChildActionCommand(string selectorNodeId, string actionNodeId, string actionLabel, float weight)
Section titled “CreateWeightedChildActionCommand(string selectorNodeId, string actionNodeId, string actionLabel, float weight)”public CreateWeightedChildActionCommand(string selectorNodeId, string actionNodeId, string actionLabel, float weight)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateWeightedChildActionCommand.cs:46-53
Creates one deterministic weighted-child creation command.
CreateWeightedChildActionCommand(string selectorNodeId, string actionNodeId, string actionLabel, float weight, IEnumerable<string> waits)
Section titled “CreateWeightedChildActionCommand(string selectorNodeId, string actionNodeId, string actionLabel, float weight, IEnumerable<string> waits)”public CreateWeightedChildActionCommand(string selectorNodeId, string actionNodeId, string actionLabel, float weight, System.Collections.Generic.IEnumerable<string> waits)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateWeightedChildActionCommand.cs:56-81
Creates one deterministic weighted-child creation command.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateWeightedChildActionCommand.cs:84-128
Creates the action and its weighted selector edge.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateWeightedChildActionCommand.cs:144-148
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/CreateWeightedChildActionCommand.cs:131-141
Removes the weighted edge, the created action, and declared services.
DeclareAndSelectMemberOutputDestinationCommand
Section titled “DeclareAndSelectMemberOutputDestinationCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareAndSelectMemberOutputDestinationCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberOutputDestinationCommand.cs:24-119
Implements: IBehaviorTreeEditCommand
Declares one blackboard variable of the exact output type and points one output-only parameter at it in one Undo step.
Responsibilities:
- Declare the named variable with the exact element type the output produces and its ordinary seeded starting value, then assign it to that one output ordinal.
- Roll the declaration back when the assignment cannot be applied, so the two never separate, and invert both together as one step.
Does NOT:
- Name the variable for the author, choose the output ordinal, reshape a collection or dictionary, touch a sibling output, or validate the graph.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberOutputDestinationCommand.cs:72
Declaring an output destination does not alter graph topology.
DeclareAndSelectMemberOutputDestinationCommand(BehaviorSourceMemberBinding binding, int ordinal, string variableName, BehaviorSourceTypeIdentity outputType)
Section titled “DeclareAndSelectMemberOutputDestinationCommand(BehaviorSourceMemberBinding binding, int ordinal, string variableName, BehaviorSourceTypeIdentity outputType)”public DeclareAndSelectMemberOutputDestinationCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, int ordinal, string variableName, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity outputType)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberOutputDestinationCommand.cs:37-69
Creates one declare-and-choose edit for the supplied output slot.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberOutputDestinationCommand.cs:75-87
Declares the variable, then assigns it, as one operation.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberOutputDestinationCommand.cs:97-100
Describes the declaration and the output it now serves.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberOutputDestinationCommand.cs:90-94
Removes the destination and the declaration created with it.
DeclareAndSelectMemberTargetVariableCommand
Section titled “DeclareAndSelectMemberTargetVariableCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareAndSelectMemberTargetVariableCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberTargetVariableCommand.cs:11-95
Implements: IBehaviorTreeEditCommand
Declares one Unity-object variable and chooses it as a target in one Undo step.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberTargetVariableCommand.cs:66
False: declaring a variable and choosing it as a target edits member values only.
DeclareAndSelectMemberTargetVariableCommand(BehaviorSourceMemberBinding binding, string variableName, Type targetType)
Section titled “DeclareAndSelectMemberTargetVariableCommand(BehaviorSourceMemberBinding binding, string variableName, Type targetType)”public DeclareAndSelectMemberTargetVariableCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, string variableName, System.Type targetType)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberTargetVariableCommand.cs:23-63
Pairs the declaration of a single Unity-object variable of
targetTypewith retargeting the binding at that
variable, so both land as one undo step. Throws when the binding or
the target type is null, since neither can be defaulted.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberTargetVariableCommand.cs:69-81
Declares the Unity-object variable, then binds it as the member target; a failure while binding rolls the declaration back before rethrowing.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberTargetVariableCommand.cs:91-94
Undo and redo label naming the declared variable.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareAndSelectMemberTargetVariableCommand.cs:84-88
Unbinds the target and removes the declared variable, in that order, so no reference outlives the variable.
DeclareBlackboardFieldCommand
Section titled “DeclareBlackboardFieldCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareBlackboardFieldCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:29-1303
Implements: IBehaviorTreeEditCommand
Declares and reshapes one blackboard variable as one undo entry, and keeps the legacy typed field declaration it grew from.
Responsibilities:
- Declare a format 1.3 variable with its exact value identity, its key identity when the shape is a dictionary, its shape, and the declared type’s own seeded default.
- Rename a declared variable and rewrite every node reference in the same edit, retype either dictionary half without discarding an entry, change shape by the stated rule, and remove a variable while reporting the references it leaves unbound.
- Add the field to the legacy global
%% fields:declaration and write or replace its%% field-types:mapping, creating the declaration block when the source has none. - Restore every declaration, reference, and payload exactly on undo.
Does NOT:
- Infer types from host state, resolve a same-named type, repair an authored payload, rewrite the references a remove reports, or persist the source file.
Members
Section titled “Members”AffectedReferences
Section titled “AffectedReferences”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorVariableReference> AffectedReferences { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:88
Gets every reference the applied edit touched or left unbound, with the exact node, binding, and ordinal coordinates a repair needs.
IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:82
Gets whether this command changes source topology.
KeptValueCount
Section titled “KeptValueCount”public int KeptValueCount { get; private set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:103
Gets how many authored payloads a retype kept unchanged.
KeyFindings
Section titled “KeyFindings”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorDictionaryKeyRetypeFinding> KeyFindings { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:97
Gets each entry’s verdict under a retyped dictionary key half.
ReseededValueCount
Section titled “ReseededValueCount”public int ReseededValueCount { get; private set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:106
Gets how many authored payloads a retype reseeded to the type default.
ShapeChange
Section titled “ShapeChange”public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShapeChangeReport ShapeChange { get; private set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:100
Gets what a shape change kept, seeded and dropped, or null.
UnboundReferences
Section titled “UnboundReferences”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorVariableReference> UnboundReferences { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:94
Gets every reference a remove left unbound. A remove never rewrites a reference, so the author sees exactly which nodes still name the variable.
DeclareBlackboardFieldCommand(string fieldId, BehaviorSourceFieldType fieldType)
Section titled “DeclareBlackboardFieldCommand(string fieldId, BehaviorSourceFieldType fieldType)”public DeclareBlackboardFieldCommand(string fieldId, BitQuirky.Behavior.Authoring.BehaviorSourceFieldType fieldType)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:113-120
Creates one reversible typed legacy field declaration.
AddVariableShapeLevel(string name, BehaviorDeclaredValueShape shape, BehaviorSourceTypeIdentity keyType)
Section titled “AddVariableShapeLevel(string name, BehaviorDeclaredValueShape shape, BehaviorSourceTypeIdentity keyType)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareBlackboardFieldCommand AddVariableShapeLevel(string name, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShape shape, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity keyType = default(BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity))Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:247-272
Adds one innermost collection level as one reversible edit.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:406-450
Applies the declaration edit.
CanDeclare(BehaviorSourceDocument document, string name)
Section titled “CanDeclare(BehaviorSourceDocument document, string name)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorDeclaredValueEditRefusal CanDeclare(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, string name)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:352-381
Reports whether one new variable name may be declared. A name is validated as the reference it is: a legal identifier, unique among declared variables and legacy fields, and distinct from an external service name. A value collision carries the variable a go-to recovery jumps to.
CanRename(BehaviorSourceDocument document, string existingName, string newName)
Section titled “CanRename(BehaviorSourceDocument document, string existingName, string newName)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorDeclaredValueEditRefusal CanRename(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, string existingName, string newName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:387-399
Reports whether one declared variable may take a new name. Renaming to the name it already has is allowed and changes nothing.
ChangeVariableShape(string name, BehaviorDeclaredValueShape shape, BehaviorSourceTypeIdentity keyType, string seedPayload)
Section titled “ChangeVariableShape(string name, BehaviorDeclaredValueShape shape, BehaviorSourceTypeIdentity keyType, string seedPayload)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareBlackboardFieldCommand ChangeVariableShape(string name, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShape shape, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity keyType, string seedPayload)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:229-244
Creates a command that applies the shape change to one variable.
DeclareVariable(string name, BehaviorDeclaredValueShape shape, BehaviorSourceTypeIdentity valueType, BehaviorSourceTypeIdentity keyType, string seedPayload, IReadOnlyList<BehaviorDeclaredValueShapeLevel> shapeLevels)
Section titled “DeclareVariable(string name, BehaviorDeclaredValueShape shape, BehaviorSourceTypeIdentity valueType, BehaviorSourceTypeIdentity keyType, string seedPayload, IReadOnlyList<BehaviorDeclaredValueShapeLevel> shapeLevels)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareBlackboardFieldCommand DeclareVariable(string name, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShape shape, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity valueType, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity keyType, string seedPayload, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShapeLevel> shapeLevels = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:147-172
Creates a command that declares one variable with its exact value identity, its key identity when the shape is a dictionary, and the seeded payload of the chosen type.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:484-525
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:453-481
Restores the prior declarations, payloads, and references exactly.
ReconfigureVariable(string name, BehaviorDeclaredValueShape shape, BehaviorSourceTypeIdentity valueType, BehaviorSourceTypeIdentity keyType, string seedPayload, IReadOnlyList<BehaviorDeclaredValueShapeLevel> shapeLevels)
Section titled “ReconfigureVariable(string name, BehaviorDeclaredValueShape shape, BehaviorSourceTypeIdentity valueType, BehaviorSourceTypeIdentity keyType, string seedPayload, IReadOnlyList<BehaviorDeclaredValueShapeLevel> shapeLevels)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareBlackboardFieldCommand ReconfigureVariable(string name, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShape shape, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity valueType, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity keyType, string seedPayload, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShapeLevel> shapeLevels = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:292-323
Creates one command that commits the selector’s final shape, key identity and value identity together. No intermediate declaration reaches validation, autosave or undo.
RemoveVariable(string name)
Section titled “RemoveVariable(string name)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareBlackboardFieldCommand RemoveVariable(string name)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:329-340
Creates a command that removes one declared variable and reports every reference it leaves unbound, without rewriting any of them.
RemoveVariableShapeLevel(string name)
Section titled “RemoveVariableShapeLevel(string name)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareBlackboardFieldCommand RemoveVariableShapeLevel(string name)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:275-286
Removes one innermost collection level as one reversible edit.
RenameVariable(string name, string newName)
Section titled “RenameVariable(string name, string newName)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareBlackboardFieldCommand RenameVariable(string name, string newName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:178-190
Creates a command that renames one declared variable and rewrites every node reference to it in the same edit.
RetypeVariableKey(string name, BehaviorSourceTypeIdentity keyType)
Section titled “RetypeVariableKey(string name, BehaviorSourceTypeIdentity keyType)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareBlackboardFieldCommand RetypeVariableKey(string name, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity keyType)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:214-226
Creates a command that retypes a dictionary’s key half. The value half and every authored entry are kept exactly, and each entry’s verdict is reported.
RetypeVariableValue(string name, BehaviorSourceTypeIdentity valueType, string seedPayload)
Section titled “RetypeVariableValue(string name, BehaviorSourceTypeIdentity valueType, string seedPayload)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeclareBlackboardFieldCommand RetypeVariableValue(string name, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity valueType, string seedPayload)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeclareBlackboardFieldCommand.cs:196-208
Creates a command that retypes the value half. Every authored payload the new type can still read is kept exactly; the rest is reseeded with that type’s own default.
DeleteNodeCommand
Section titled “DeleteNodeCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DeleteNodeCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeleteNodeCommand.cs:29-164
Implements: IBehaviorTreeEditCommand
Remove a node and every descendant from the document, capturing the full removed subtree (node blocks + edge blocks + original indices) soInvertcan restore it exactly.
Responsibilities:
- Walk the subtree from the target node by following authored parent → child edges in source order. Capture each visited node block and every edge whose source or target is part of the subtree (including the inbound parent edge).
- Remove the captured blocks from the document, preserving the relative ordering of remaining siblings.
Does NOT:
- Cascade through transition edges that point outside the subtree. Incident reference edges are removed with the target subtree, while transition nodes outside it remain for the next validation and repair pass.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeleteNodeCommand.cs:54
Always structural: removing a subtree changes topology, so a rejected verdict rolls the delete back.
DeleteNodeCommand(string nodeId)
Section titled “DeleteNodeCommand(string nodeId)”public DeleteNodeCommand(string nodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeleteNodeCommand.cs:65-70
Names the node to remove along with its descendants. Asserts a node id was supplied; the blocks themselves are captured at apply time so undo can restore them at their original document indices.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeleteNodeCommand.cs:77-139
Removes the target node, its descendants, and every incident edge, capturing each block with its original index.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeleteNodeCommand.cs:158-161
Undo and redo label naming the deleted node.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DeleteNodeCommand.cs:142-155
Re-inserts every captured block at its original index, restoring the removed subtree and its edges.
DetachDecoratorCommand
Section titled “DetachDecoratorCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.DetachDecoratorCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DetachDecoratorCommand.cs:25-228
Implements: IBehaviorTreeEditCommand
Remove a decorator node and re-connect its parent directly to the decorator’s child. Captures the decorator’s kind + parameters + the original parent edge soInvert can splice it back in.
Responsibilities:
- On Apply: capture decorator kind, label, layout parameters, parent id + edge slot, and the child id; remove the parent → decorator and decorator → child edges; rewrite parent → child in the original parent-edge slot; remove the decorator node block.
- On Invert: re-insert the decorator node block, restore both edges, and revert the parent edge to point at the decorator.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DetachDecoratorCommand.cs:57
Always structural: unwrapping a decorator changes topology, so a rejected verdict rolls the detach back.
DetachDecoratorCommand(string decoratorNodeId)
Section titled “DetachDecoratorCommand(string decoratorNodeId)”public DetachDecoratorCommand(string decoratorNodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DetachDecoratorCommand.cs:68-73
Names the decorator to unwrap. Asserts a decorator id was supplied; the parent and child edges are captured at apply time so undo can splice the decorator back into its original slot.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DetachDecoratorCommand.cs:80-171
Removes the decorator node and reconnects its parent directly to the decorator’s child in the original edge slot.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DetachDecoratorCommand.cs:222-225
Undo and redo label naming the detached decorator.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/DetachDecoratorCommand.cs:174-219
Re-inserts the captured decorator node and both of its edges, restoring the parent to decorator connection.
EditActionBindingCommand
Section titled “EditActionBindingCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditActionBindingCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:76-173
Implements: IBehaviorTreeEditCommand
Atomically replaces one State Machine action’s effective service binding.
Responsibilities:
- Store immediate services in Write and deferred services in Waits, never both.
- Declare the selected service token in source.
- Restore both binding channels and the declaration list exactly on undo.
Does NOT:
- Choose completion semantics, choose a handler, or persist the source file.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:87
Gets whether this command changes source topology.
EditActionBindingCommand(string actionNodeId, string serviceToken, StateMachineActionBindingKind bindingKind)
Section titled “EditActionBindingCommand(string actionNodeId, string serviceToken, StateMachineActionBindingKind bindingKind)”public EditActionBindingCommand(string actionNodeId, string serviceToken, BitQuirky.Behavior.Editor.StateMachineActionBindingKind bindingKind = Immediate)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:90-100
Creates one reversible action-service binding edit.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:103-126
Applies exactly one service binding and its declaration.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:143-146
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:129-140
Restores both prior binding channels and service declarations.
EditActionWaitsCommand
Section titled “EditActionWaitsCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditActionWaitsCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionWaitsCommand.cs:21-117
Implements: IBehaviorTreeEditCommand
Binds an action to the external services it awaits as one undo entry.
Responsibilities:
- Replace the action waits list with the authored service tokens and declare every token in source.
- Restore the prior waits list and declaration list exactly on undo.
Does NOT:
- Choose service handlers or persist the source file.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionWaitsCommand.cs:30
Gets whether this command changes source topology.
EditActionWaitsCommand(string actionNodeId, IEnumerable<string> serviceTokens)
Section titled “EditActionWaitsCommand(string actionNodeId, IEnumerable<string> serviceTokens)”public EditActionWaitsCommand(string actionNodeId, System.Collections.Generic.IEnumerable<string> serviceTokens)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionWaitsCommand.cs:33-45
Creates one reversible action awaited-service binding edit.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionWaitsCommand.cs:48-71
Applies the awaited-service bindings and declarations.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionWaitsCommand.cs:87-90
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionWaitsCommand.cs:74-84
Restores the exact prior waits list and service declarations.
EditBlackboardConditionCommand
Section titled “EditBlackboardConditionCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardConditionCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:445-575
Implements: IBehaviorTreeEditCommand
Changes one blackboard condition’s field and preserved comparison.
Responsibilities:
- Store the selected field in the condition read set.
- Store the operator and operand as semantic node parameters.
- Restore the complete prior condition in one undo step.
Does NOT:
- Declare fields, infer a replacement field, or edit graph topology.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:476
False: a condition edit changes node parameters only and never graph topology.
EditBlackboardConditionCommand(string nodeId, string fieldId, string operatorToken, string operand)
Section titled “EditBlackboardConditionCommand(string nodeId, string fieldId, string operatorToken, string operand)”public EditBlackboardConditionCommand(string nodeId, string fieldId, string operatorToken, string operand)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:461-473
Names the condition node and the field, operator, and operand to store on it. Asserts a node id was supplied; null field, operator, or operand values become the empty string, which authors a deliberately incomplete condition rather than failing.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:479-500
Stores the selected field in the condition read set and the operator and operand as node parameters.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:516
Undo and redo label naming the edited condition node.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:503-513
Restores the complete prior condition, read set and parameters together, in one undo step.
EditBlackboardDefaultCommand
Section titled “EditBlackboardDefaultCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:31-547
Implements: IBehaviorTreeEditCommand
Edit one authored blackboard value as one undo entry: a declared format 1.3 variable’s payload, one of its collection elements or dictionary entries, or the legacy blackboard-defaults side table.
Responsibilities:
- Write the exact canonical payload the author committed, or retain an invalid draft verbatim so validation can report it without discarding what was typed.
- Insert, remove, move and edit list rows, add, edit and remove dictionary entries in authored order, set a collection to the explicit none state or to zero entries, and set a list or array length.
- Restore the exact prior payload on undo.
- Keep the legacy typed field default path unchanged, rejecting unsupported type codes at construction time ( / : only Bool / Int32 / Float / EnumCode).
Does NOT:
- Repair, convert, or merge an authored value; the resolver reports what does not fit and the author decides.
- Declare, rename, retype, or remove a variable. Those edits belong to DeclareBlackboardFieldCommand.
Members
Section titled “Members”FieldName
Section titled “FieldName”public string FieldName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:79
Gets the legacy field name this command edits.
IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:76
Gets whether this command changes source topology.
NewValue
Section titled “NewValue”public string NewValue { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:85
Gets the legacy value this command writes.
TypeCode
Section titled “TypeCode”public BitQuirky.Behavior.Baked.BakedFieldTypeCode TypeCode { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:82
Gets the legacy baked type code this command edits.
VariableName
Section titled “VariableName”public string VariableName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:88
Gets the declared variable this command edits, or the empty string.
EditBlackboardDefaultCommand(string fieldName, BakedFieldTypeCode typeCode, string newValue)
Section titled “EditBlackboardDefaultCommand(string fieldName, BakedFieldTypeCode typeCode, string newValue)”public EditBlackboardDefaultCommand(string fieldName, BitQuirky.Behavior.Baked.BakedFieldTypeCode typeCode, string newValue)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:95-107
Creates one reversible legacy blackboard-default edit.
AddDictionaryEntry(string variableName, BehaviorSourceDictionaryEntry entry)
Section titled “AddDictionaryEntry(string variableName, BehaviorSourceDictionaryEntry entry)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand AddDictionaryEntry(string variableName, BitQuirky.Behavior.Authoring.BehaviorSourceDictionaryEntry entry)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:228-234
Creates a command that appends one dictionary entry after every authored entry.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:314-387
Applies the value edit.
ComputeNextDictionaryKey(BehaviorSourceDocument document, string variableName)
Section titled “ComputeNextDictionaryKey(BehaviorSourceDocument document, string variableName)”public static BitQuirky.Behavior.Authoring.BehaviorDictionaryKeySeed ComputeNextDictionaryKey(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:274-307
Computes the exact key one Add entry will seed for a declared dictionary, so the editor states the key before the action rather than after it. A dictionary whose key type did not resolve reports a required key the author completes.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:417-449
Returns the human-readable undo description.
InsertCollectionElement(string variableName, int index, string payload)
Section titled “InsertCollectionElement(string variableName, int index, string payload)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand InsertCollectionElement(string variableName, int index, string payload)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:155-161
Creates a command that inserts one list row at an exact authored position.
InsertDictionaryEntry(string variableName, int index, BehaviorSourceDictionaryEntry entry)
Section titled “InsertDictionaryEntry(string variableName, int index, BehaviorSourceDictionaryEntry entry)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand InsertDictionaryEntry(string variableName, int index, BitQuirky.Behavior.Authoring.BehaviorSourceDictionaryEntry entry)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:237-244
Creates a command that inserts one dictionary entry at an exact position.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:390-414
Restores the exact prior authored value.
IsEditableType(BakedFieldTypeCode typeCode)
Section titled “IsEditableType(BakedFieldTypeCode typeCode)”public static bool IsEditableType(BitQuirky.Behavior.Baked.BakedFieldTypeCode typeCode)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:456-468
Returns whether the legacy inspector path edits this baked type code.
MoveCollectionElement(string variableName, int index, int destinationIndex)
Section titled “MoveCollectionElement(string variableName, int index, int destinationIndex)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand MoveCollectionElement(string variableName, int index, int destinationIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:173-186
Creates a command that moves one list row to another authored position.
RemoveCollectionElement(string variableName, int index)
Section titled “RemoveCollectionElement(string variableName, int index)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand RemoveCollectionElement(string variableName, int index)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:164-170
Creates a command that removes one list row from its authored position.
RemoveDictionaryEntry(string variableName, int index)
Section titled “RemoveDictionaryEntry(string variableName, int index)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand RemoveDictionaryEntry(string variableName, int index)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:257-263
Creates a command that removes one dictionary entry, keeping the rest in order.
ReplaceDictionaryEntry(string variableName, int index, BehaviorSourceDictionaryEntry entry)
Section titled “ReplaceDictionaryEntry(string variableName, int index, BehaviorSourceDictionaryEntry entry)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand ReplaceDictionaryEntry(string variableName, int index, BitQuirky.Behavior.Authoring.BehaviorSourceDictionaryEntry entry)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:247-254
Creates a command that replaces one dictionary entry in its authored position.
SetCollectionEmpty(string variableName)
Section titled “SetCollectionEmpty(string variableName)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand SetCollectionEmpty(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:221-225
Creates a command that sets a collection to zero elements or zero entries.
SetCollectionLength(string variableName, int length, string typeDefaultPayload)
Section titled “SetCollectionLength(string variableName, int length, string typeDefaultPayload)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand SetCollectionLength(string variableName, int length, string typeDefaultPayload)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:192-208
Creates a command that sets a list or array length. Raising appends the supplied type default and lowering drops trailing elements.
SetCollectionNone(string variableName)
Section titled “SetCollectionNone(string variableName)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand SetCollectionNone(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:214-218
Creates a command that sets a collection to the explicit none state, which stays distinct from a collection holding zero elements or zero entries.
SetElementValue(string variableName, int index, string payload)
Section titled “SetElementValue(string variableName, int index, string payload)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand SetElementValue(string variableName, int index, string payload)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:146-152
Creates a command that writes one collection element’s payload in place.
SetVariableValue(string variableName, string payload)
Section titled “SetVariableValue(string variableName, string payload)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditBlackboardDefaultCommand SetVariableValue(string variableName, string payload)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditBlackboardDefaultCommand.cs:138-143
Creates a command that writes one single-shape variable’s payload. The payload is written exactly as supplied, including an invalid draft the author is still editing.
EditEdgeWeightCommand
Section titled “EditEdgeWeightCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditEdgeWeightCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditEdgeWeightCommand.cs:26-130
Implements: IBehaviorTreeEditCommand
Edits the authored weight of one Random Selector branch edge.
Responsibilities:
- Set the semantic weight the canonical writer normalizes into
the
weight:edge label. - Keep an authored weight the runtime cannot use verbatim rather than coercing or clearing it.
- Restore the previous weight exactly on undo.
Does NOT:
- Change the branch participation switch; that is one separate edit.
- Validate selector-wide weight policy; the session validator projects bake diagnostics after the edit.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditEdgeWeightCommand.cs:39
Gets whether this command changes source topology.
EditEdgeWeightCommand(string selectorNodeId, string childNodeId, float weight)
Section titled “EditEdgeWeightCommand(string selectorNodeId, string childNodeId, float weight)”public EditEdgeWeightCommand(string selectorNodeId, string childNodeId, float weight)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditEdgeWeightCommand.cs:42-51
Creates one reversible branch weight edit from a usable value.
EditEdgeWeightCommand(string selectorNodeId, string childNodeId, string authoredWeightText)
Section titled “EditEdgeWeightCommand(string selectorNodeId, string childNodeId, string authoredWeightText)”public EditEdgeWeightCommand(string selectorNodeId, string childNodeId, string authoredWeightText)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditEdgeWeightCommand.cs:57-82
Creates one reversible branch weight edit from authored text. Text that is not a finite number 0 or greater is stored exactly as typed so the author can repair it.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditEdgeWeightCommand.cs:85-107
Applies the new weight to the selector-to-child edge.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditEdgeWeightCommand.cs:126-129
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditEdgeWeightCommand.cs:110-123
Restores the prior weight and label.
EditMemberBindingCommand
Section titled “EditMemberBindingCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditMemberBindingCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBindingCommand.cs:29-561
Implements: IBehaviorTreeEditCommand
One undoable atomic member-binding edit on a node-owned or blackboard-authored binding.
Responsibilities:
- Set, replace, rename, or unbind an exact member binding, and deterministically reconcile every projected blackboard name and every argument or comparison reference in one atomic command so automatic surfacing, collision prefixing, rename reference rewriting, and unbind reference rewriting never leave a dangling reference.
- Retire abandoned argument projections, keeping values with remaining readers at graph scope.
- Apply and invert one member edit as exactly one undo step, so repairing one faulted output destination restores the exact prior source text, including a saved destination the blackboard could not resolve.
Does NOT:
- Write to disk, run validation, choose a same-named fallback, or leave a reference pointing at a name that no longer projects.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBindingCommand.cs:101
Member value edits never violate graph topology.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBindingCommand.cs:104-130
Applies the requested bind, rename, or unbind, then reconciles every projected blackboard name and reference the change moved.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBindingCommand.cs:157-166
Undo and redo label naming the edited binding and whether it was bound, renamed, or unbound.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBindingCommand.cs:133-154
Restores the prior references first, then reverses the bind, rename, or unbind so the source text matches byte for byte.
Rename(string bindingId, string newSurfacedName)
Section titled “Rename(string bindingId, string newSurfacedName)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditMemberBindingCommand Rename(string bindingId, string newSurfacedName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBindingCommand.cs:77-81
Creates a command that renames a surfaced member binding and rewrites references.
SetNodeBinding(BehaviorSourceMemberBinding binding)
Section titled “SetNodeBinding(BehaviorSourceMemberBinding binding)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditMemberBindingCommand SetNodeBinding(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBindingCommand.cs:68-74
Creates a command that sets or replaces a node-owned member binding.
Unbind(string bindingId)
Section titled “Unbind(string bindingId)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditMemberBindingCommand Unbind(string bindingId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBindingCommand.cs:84-88
Creates a command that removes a member binding and rewrites references.
EditMemberBlackboardBindingCommand
Section titled “EditMemberBlackboardBindingCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditMemberBlackboardBindingCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBlackboardBindingCommand.cs:22-115
Implements: IBehaviorTreeEditCommand
One undoable atomic creation or replacement of a member binding authored directly from the blackboard.
Responsibilities:
- Add or replace a graph-level (node-less) member binding in the graph-level block, creating that block when absent, and deterministically reconcile every projected blackboard name and reference in the same atomic command.
Does NOT:
- Author a node-owned binding, write to disk, or run validation.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBlackboardBindingCommand.cs:49
Direct blackboard authoring never violates graph topology.
EditMemberBlackboardBindingCommand(BehaviorSourceMemberBinding binding)
Section titled “EditMemberBlackboardBindingCommand(BehaviorSourceMemberBinding binding)”public EditMemberBlackboardBindingCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBlackboardBindingCommand.cs:37-46
Creates a command that authors a new blackboard-level member binding.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBlackboardBindingCommand.cs:52-75
Adds or replaces the graph-level member binding, creating the graph-level block when absent, and reconciles the projected blackboard names and references.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBlackboardBindingCommand.cs:109-112
Undo and redo label naming the bound blackboard member.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditMemberBlackboardBindingCommand.cs:78-106
Restores the previous graph-level binding, removing the block again when this command created it.
EditNodeLayoutCommand
Section titled “EditNodeLayoutCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditNodeLayoutCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeLayoutCommand.cs:17-62
Implements: IBehaviorTreeEditCommand, IBehaviorTreePresentationOnlyEditCommand
Moves one source node through the command and undo boundary.
Responsibilities:
- Persist invariant X and Y layout values and restore both on undo.
Does NOT:
- Change semantic identity or bypass the editing session.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeLayoutCommand.cs:41
Gets whether this edit changes graph topology.
NodeId
Section titled “NodeId”public string NodeId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeLayoutCommand.cs:38
Gets the source node this edit places.
EditNodeLayoutCommand(string nodeId, float x, float y)
Section titled “EditNodeLayoutCommand(string nodeId, float x, float y)”public EditNodeLayoutCommand(string nodeId, float x, float y)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeLayoutCommand.cs:24-35
Creates one reversible layout edit for the identified source node.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeLayoutCommand.cs:44-48
Writes the new invariant X and Y values to the source document.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeLayoutCommand.cs:58-61
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeLayoutCommand.cs:51-55
Restores the X and Y values captured by Apply.
EditNodeParameterCommand
Section titled “EditNodeParameterCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditNodeParameterCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:38-432
Implements: IBehaviorTreeEditCommand
Edit a single node-level parameter (label, authority, read set, write set, waits set, subgraph address, or a layout map entry) on an existing node block. Captures the previous value so Invertrestores it exactly.
Parameter keys recognised:
label: node label (rewritesNodeLineRaw).authority: value parses via BehaviorSourceAuthority token form.read,write,waits: comma-joined id lists.subgraph-address: source address for subgraph references (rewritesNodeLineRaw).layout:<key>: layout map entry; setting to null/empty removes the entry.parameter:<key>: semantic source-format 1.1 parameter; RemoveSemanticParameter removes the entry.
Responsibilities:
- Route one reversible node-value edit through canonical source document blocks.
Does NOT:
- Write a source file directly or bypass editing-session validation.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:87
Gets whether this edit changes graph topology.
KeyAuthority
Section titled “KeyAuthority”public const string KeyAuthority = "authority"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:46
Command key for node authority.
KeyLabel
Section titled “KeyLabel”public const string KeyLabel = "label"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:43
Command key for the presentation label.
KeyRead
Section titled “KeyRead”public const string KeyRead = "read"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:49
Command key for the read set.
KeySubgraphAddress
Section titled “KeySubgraphAddress”public const string KeySubgraphAddress = "subgraph-address"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:58
Command key for a subgraph address.
KeyWaits
Section titled “KeyWaits”public const string KeyWaits = "waits"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:55
Command key for awaited services.
KeyWrite
Section titled “KeyWrite”public const string KeyWrite = "write"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:52
Command key for the write set.
LayoutPrefix
Section titled “LayoutPrefix”public const string LayoutPrefix = "layout:"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:61
Prefix selecting a presentation-only layout entry.
SemanticPrefix
Section titled “SemanticPrefix”public const string SemanticPrefix = "parameter:"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:64
Prefix selecting a semantic source-format 1.1 parameter.
EditNodeParameterCommand(string nodeId, string parameterKey, string newValue)
Section titled “EditNodeParameterCommand(string nodeId, string parameterKey, string newValue)”public EditNodeParameterCommand(string nodeId, string parameterKey, string newValue)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:94-103
Creates one reversible parameter edit for a source node.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:129-139
Applies the new value and captures the prior value for undo.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:157-160
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:142-154
Restores the value captured by Apply.
RemoveSemanticParameter(string nodeId, string semanticKey)
Section titled “RemoveSemanticParameter(string nodeId, string semanticKey)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditNodeParameterCommand RemoveSemanticParameter(string nodeId, string semanticKey)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditNodeParameterCommand.cs:110-115
Creates one reversible edit that removes a semantic source-format 1.1 parameter from the node, so an optional parameter returns to its default by leaving the source rather than by authoring the default value.
EditRandomSelectorBranchCommand
Section titled “EditRandomSelectorBranchCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditRandomSelectorBranchCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorBranchCommand.cs:29-97
Implements: IBehaviorTreeEditCommand
Switches one Random Selector branch on or off as a single undo step, keeping the authored weight exactly as the author left it.
Responsibilities:
- Set whether the selector-to-child edge participates in the pick, which the canonical
writer spells as the
disabledmodifier beside the keptweight:label. - Preserve the authored weight through the switch so a branch switched off stays dormant at its own value and re-enabling brings that value straight back.
- Restore the previous participation state and label exactly on undo.
Does NOT:
- Change the branch weight. The weight is a separate authored value with its own edit, and an unusable authored weight keeps its verbatim text across this command.
- Reorder or remove the child. Switching a branch off leaves the edge, the child and the sibling order untouched, so this is never a structural edit.
- Decide whether the resulting graph can bake. The session validator reports that after the edit, including the case where no enabled branch is left with a usable weight above 0.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorBranchCommand.cs:40
Gets whether this command changes source topology.
EditRandomSelectorBranchCommand(string selectorNodeId, string childNodeId, bool enabled)
Section titled “EditRandomSelectorBranchCommand(string selectorNodeId, string childNodeId, bool enabled)”public EditRandomSelectorBranchCommand(string selectorNodeId, string childNodeId, bool enabled)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorBranchCommand.cs:43-51
Creates one reversible branch participation switch.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorBranchCommand.cs:54-75
Applies the participation switch to the selector-to-child edge.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorBranchCommand.cs:93-96
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorBranchCommand.cs:78-90
Restores the prior participation state and label.
EditRandomSelectorDirectFailureCommand
Section titled “EditRandomSelectorDirectFailureCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditRandomSelectorDirectFailureCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorDirectFailureCommand.cs:31-151
Implements: IBehaviorTreeEditCommand
Adds, edits, or removes a Random Selector’s optional Direct failure outcome as a single
undo step, storing it as the semanticfailure_weightnode parameter.
Responsibilities:
- Put the outcome into the weighted set at a starting weight, commit the exact typed weight text, or return the outcome to absent.
- Keep unusable saved text verbatim so empty, nonnumeric, negative, and non-finite values survive save and reopen for the author to repair.
- Restore the previous presence and exact text on undo.
Does NOT:
- Change a branch weight, branch order, enabled state, or any other parameter. Presence and Remove alone control participation, so the outcome carries no Enabled switch.
- Create a child node or a second selector kind. Direct failure is one non-child outcome of the selector it belongs to.
- Decide whether the resulting graph can bake. The session validator reports that after the edit, including an unusable weight and the combined no-pick rule.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorDirectFailureCommand.cs:42
Gets whether this command changes source topology.
EditRandomSelectorDirectFailureCommand(string selectorNodeId, bool present, string weightText)
Section titled “EditRandomSelectorDirectFailureCommand(string selectorNodeId, bool present, string weightText)”public EditRandomSelectorDirectFailureCommand(string selectorNodeId, bool present, string weightText)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorDirectFailureCommand.cs:48-58
Creates one reversible Direct failure edit. Passpresentfalse to
remove the outcome; the weight text is then ignored.
Add(string selectorNodeId)
Section titled “Add(string selectorNodeId)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditRandomSelectorDirectFailureCommand Add(string selectorNodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorDirectFailureCommand.cs:61-67
Creates the command that adds the outcome at its starting weight.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorDirectFailureCommand.cs:79-100
Applies the Direct failure edit and captures the prior state for undo.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorDirectFailureCommand.cs:119-122
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorDirectFailureCommand.cs:103-116
Restores the presence and exact text captured by Apply.
Remove(string selectorNodeId)
Section titled “Remove(string selectorNodeId)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditRandomSelectorDirectFailureCommand Remove(string selectorNodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditRandomSelectorDirectFailureCommand.cs:70-76
Creates the command that returns the outcome to absent.
EditStateActionSettingCommand
Section titled “EditStateActionSettingCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditStateActionSettingCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:557-624
Implements: IBehaviorTreeEditCommand
Changes one action state’s legacy or lifecycle-group execution or lifetime token through canonical parameters.
Responsibilities:
- Keep each setting edit independently undoable.
- Restrict values to the public action-state token contract.
Does NOT:
- Change action rows, convert a legacy state, or infer settings from runtime state.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:581
Gets whether this edit changes source topology.
EditStateActionSettingCommand(string stateId, string parameterToken, string value)
Section titled “EditStateActionSettingCommand(string stateId, string parameterToken, string value)”public EditStateActionSettingCommand(string stateId, string parameterToken, string value)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:563-578
Creates one execution or lifetime setting edit.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:584
Applies the setting.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:590
Gets the undo label.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:587
Restores the prior explicit or omitted setting.
EditStateHostedSettingCommand
Section titled “EditStateHostedSettingCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditStateHostedSettingCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateHostedSettingCommand.cs:29-191
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Edits one hosted Behavior Tree setting authored on a state: Once or Repeat lifetime, or the exposed Success or Failure result event.
Responsibilities:
- Write the setting as a semantic parameter on the state node itself, where the runtime reads hosted configuration from.
- Remove the parameter key outright for an empty value, because the source reader rejects an empty parameter value and an omitted key is the authored “not set” form.
- Report re-choosing the already-authored value as no change, so a committed value never dirties the document.
- Restore both the previous value and the previous key presence exactly on undo.
Does NOT:
- Assign or clear the hosted tree itself.
- Rewrite transitions that consume an exposed event, or resolve an ambiguity where Success and Failure name the same identity; the session validator reports that.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateHostedSettingCommand.cs:49
Gets whether this command changes source topology.
EditStateHostedSettingCommand(string stateNodeId, string parameterKey, string value)
Section titled “EditStateHostedSettingCommand(string stateNodeId, string parameterKey, string value)”public EditStateHostedSettingCommand(string stateNodeId, string parameterKey, string value)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateHostedSettingCommand.cs:56-65
Creates one reversible hosted-tree setting edit for a state.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateHostedSettingCommand.cs:89-116
Writes or removes the setting and captures the prior authored state.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateHostedSettingCommand.cs:135-138
Returns the undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateHostedSettingCommand.cs:119-132
Restores the value and key presence captured by Apply.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateHostedSettingCommand.cs:72-82
Returns false when the state already authors exactly this value.
EditStateMachineCandidateEligibilityCommand
Section titled “EditStateMachineCandidateEligibilityCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditStateMachineCandidateEligibilityCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:464-551
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Replaces one candidate ownership edge’s optional All/Any Eligibility group.
Responsibilities:
- Keep ungated eligibility as an absent group and a gated eligibility as the existing ordered transition predicate model.
- Synchronize the candidate read set with active left and right graph-value operands.
- Preserve exact prior group and read set on undo.
Does NOT:
- Parse literals, coerce invalid saved operands, or create a second predicate model.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:476
Gets whether this command changes source topology.
EditStateMachineCandidateEligibilityCommand(string referenceNodeId, string candidateNodeId, BehaviorSourceTransitionConditionGroupMode mode, IReadOnlyList<BehaviorSourceTransitionPredicate> predicates)
Section titled “EditStateMachineCandidateEligibilityCommand(string referenceNodeId, string candidateNodeId, BehaviorSourceTransitionConditionGroupMode mode, IReadOnlyList<BehaviorSourceTransitionPredicate> predicates)”public EditStateMachineCandidateEligibilityCommand(string referenceNodeId, string candidateNodeId, BitQuirky.Behavior.Authoring.BehaviorSourceTransitionConditionGroupMode mode, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceTransitionPredicate> predicates)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:479-502
Creates one reversible Eligibility edit; an empty list means ungated.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:514-532
Writes the existing typed condition model onto the candidate edge.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:548-550
Returns the user-facing undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:535-545
Restores the exact prior read set and Eligibility group.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:505-511
Returns whether mode or any ordered predicate column differs.
EditStateMachineCandidateOverrideCommand
Section titled “EditStateMachineCandidateOverrideCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditStateMachineCandidateOverrideCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:380-450
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Replaces or removes one candidate-scoped declared-value override as one undo entry.
Responsibilities:
- Store the exact canonical or invalid saved payload under override_
. - Keep Off as absence of the parameter and restore exact prior parameter order on undo.
Does NOT:
- Edit the referenced module’s declaration or normalize an invalid payload.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:391
Gets whether this command changes source topology.
EditStateMachineCandidateOverrideCommand(string candidateNodeId, string valueName, bool enabled, string payload)
Section titled “EditStateMachineCandidateOverrideCommand(string candidateNodeId, string valueName, bool enabled, string payload)”public EditStateMachineCandidateOverrideCommand(string candidateNodeId, string valueName, bool enabled, string payload)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:394-403
Creates one reversible candidate override edit.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:418-432
Writes or removes the candidate-local override parameter.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:444-446
Returns the user-facing undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:435-441
Restores the exact prior parameter representation.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:406-415
Returns whether the requested On/Off payload differs from source.
EditStateMinActiveSecondsCommand
Section titled “EditStateMinActiveSecondsCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditStateMinActiveSecondsCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:640-690
Implements: IBehaviorTreeEditCommand
Sets one State’smin_active_secondsdwell budget, the duration its outgoing
transitions wait for after the State becomes active, as one undoable source edit.
Responsibilities:
- Write a positive budget as the canonical round-trip Float32 parameter value.
- Remove the parameter for zero, because an absent budget and zero both mean the State never holds its transitions, so the source keeps the default by omission.
- Restore the exact prior authored value, or its absence, on undo.
Does NOT:
- Parse author text, edit any other State parameter, convert a legacy action list, or touch a running instance’s live value.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:672
Gets whether this edit changes source topology.
EditStateMinActiveSecondsCommand(string stateId, float seconds)
Section titled “EditStateMinActiveSecondsCommand(string stateId, float seconds)”public EditStateMinActiveSecondsCommand(string stateId, float seconds)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:651-669
Creates one edit ofstateId’s dwell budget. The budget must be a
finite number of seconds, zero or more.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:675-683
Applies the budget to the named State.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:689
Gets the undo label.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:686
Restores the prior authored budget, or its absence.
EditTransitionConditionCommand
Section titled “EditTransitionConditionCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditTransitionConditionCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionCommand.cs:24-270
Implements: IBehaviorTreeEditCommand
Binds one blackboard entry as a transition’s condition.
Responsibilities:
- Synchronize the transition read set and ingress-edge predicate, seeding the canonical value of the entry’s declared type so the predicate the gesture writes is one the graph accepts.
- Declare the selected field in the legacy declaration blocks only when no declared variable already owns that name.
- Restore both representations exactly on undo.
Does NOT:
- Infer a field type from host state or persist source directly.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionCommand.cs:40
Gets whether this command changes source topology.
EditTransitionConditionCommand(string transitionNodeId, string fieldId)
Section titled “EditTransitionConditionCommand(string transitionNodeId, string fieldId)”public EditTransitionConditionCommand(string transitionNodeId, string fieldId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionCommand.cs:43-49
Creates one reversible transition-condition binding edit.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionCommand.cs:52-84
Applies a nonzero predicate for the selected blackboard entry.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionCommand.cs:123-126
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionCommand.cs:87-120
Restores the prior read set and ingress-edge condition group.
EditTransitionConditionGroupCommand
Section titled “EditTransitionConditionGroupCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditTransitionConditionGroupCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionGroupCommand.cs:34-310
Implements: IBehaviorTreeEditCommand
Replaces a transition’s orderedall or anycondition
group as one undo entry.
Responsibilities:
- Synchronize the transition read set with the ordered distinct predicate fields, plus every declared graph value the transition’s own gameplay checks read through their arguments.
- Write the ordered predicate list onto the state-to-transition ingress edge; a gameplay check names its member binding and owns no field.
- Declare a referenced field in the global
%% fields:declaration only when no format 1.3 variable already owns that name, and restore every captured representation on undo.
Does NOT:
- Assign field types; a legacy field with no explicit type keeps the Int32 default, a declared variable carries its own exact type, and explicit types are authored through DeclareBlackboardFieldCommand.
- Validate literal types against declared types; the session validator projects bake diagnostics after the edit.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionGroupCommand.cs:49
Gets whether this command changes source topology.
EditTransitionConditionGroupCommand(string transitionNodeId, BehaviorSourceTransitionConditionGroupMode mode, IReadOnlyList<BehaviorSourceTransitionPredicate> predicates)
Section titled “EditTransitionConditionGroupCommand(string transitionNodeId, BehaviorSourceTransitionConditionGroupMode mode, IReadOnlyList<BehaviorSourceTransitionPredicate> predicates)”public EditTransitionConditionGroupCommand(string transitionNodeId, BitQuirky.Behavior.Authoring.BehaviorSourceTransitionConditionGroupMode mode, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceTransitionPredicate> predicates)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionGroupCommand.cs:52-77
Creates one reversible grouped transition-condition edit.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionGroupCommand.cs:80-120
Applies the ordered grouped condition to the transition.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionGroupCommand.cs:146-149
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionConditionGroupCommand.cs:123-143
Restores the prior read set, condition group, and declarations.
EditTransitionTriggerEventCommand
Section titled “EditTransitionTriggerEventCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditTransitionTriggerEventCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:29-315
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Switches one transition’s trigger between Conditions and a hosted result event exposed by its source state, as a single undo entry.
Responsibilities:
- Store the consumed event identity on the state-to-transition ingress edge, which is
where the canonical writer emits the
event:label from. - Move the predicate group to its dormant semantic parameter when Event becomes active, so the runtime edge never combines two active trigger kinds.
- Restore the exact dormant predicate group when Conditions becomes active again.
- Restore the event identity, edge label, predicate group, and dormant source parameter exactly on undo.
Does NOT:
- Expose, rename, or invent a hosted result event on the source state.
- Verify that the source state still exposes the stored identity; the session validator reports an unresolved trigger after the edit.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:51
Gets whether this command changes source topology.
EditTransitionTriggerEventCommand(string transitionNodeId, string eventId)
Section titled “EditTransitionTriggerEventCommand(string transitionNodeId, string eventId)”public EditTransitionTriggerEventCommand(string transitionNodeId, string eventId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:58-64
Creates one reversible transition trigger edit; an empty id means Conditions.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:103-152
Applies the trigger to the state-to-transition ingress edge.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:181-184
Returns the undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:155-178
Restores the trigger, label, and predicate group captured by Apply.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditTransitionTriggerEventCommand.cs:71-96
Returns false when the ingress edge already carries exactly this trigger.
EditUtilityBranchCommand
Section titled “EditUtilityBranchCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditUtilityBranchCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityBranchCommand.cs:24-135
Implements: IBehaviorTreeEditCommand
Edits one Utility Selector branch’s aggregation or execution mode as a single undo step (research D-R2, D-R4, D-R5; contract utility-selector-authoring-surface.md).
Responsibilities:
- Choose how more than one consideration combines into the branch’s score (average, minimum, maximum).
- Choose whether a running branch finishes before re-choosing or is compared against rivals every tick (finish first, interrupt).
- Restore the previous aggregation and execution mode exactly on undo.
Does NOT:
- Edit the branch’s considerations; seeEditUtilityConsiderationCommand.
- Validate the resulting branch; the session re-runs the validator after the edit.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityBranchCommand.cs:59
Gets whether this command changes source topology.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityBranchCommand.cs:86-113
Applies the requested aggregation or execution-mode choice to the branch edge.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityBranchCommand.cs:129-134
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityBranchCommand.cs:116-126
Restores the prior aggregation and execution mode.
SetAggregation(string selectorNodeId, string childNodeId, BehaviorSourceUtilityAggregation aggregation)
Section titled “SetAggregation(string selectorNodeId, string childNodeId, BehaviorSourceUtilityAggregation aggregation)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditUtilityBranchCommand SetAggregation(string selectorNodeId, string childNodeId, BitQuirky.Behavior.Authoring.BehaviorSourceUtilityAggregation aggregation)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityBranchCommand.cs:62-71
Creates one reversible branch aggregation edit.
SetExecutionMode(string selectorNodeId, string childNodeId, BehaviorSourceUtilityExecutionMode executionMode)
Section titled “SetExecutionMode(string selectorNodeId, string childNodeId, BehaviorSourceUtilityExecutionMode executionMode)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditUtilityBranchCommand SetExecutionMode(string selectorNodeId, string childNodeId, BitQuirky.Behavior.Authoring.BehaviorSourceUtilityExecutionMode executionMode)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityBranchCommand.cs:74-83
Creates one reversible branch execution-mode edit.
EditUtilityConsiderationCommand
Section titled “EditUtilityConsiderationCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditUtilityConsiderationCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:36-302
Implements: IBehaviorTreeEditCommand
Edits one Utility Selector branch’s ordered considerations as a single undo step: add, reorder, remove, choose a declared field, or attach/detach a curve (research D-R2, D-R5; contract utility-selector-authoring-surface.md).
Responsibilities:
- Insert, move, and remove consideration rows on the selector-to-child branch edge in authored order.
- Choose a consideration’s declared live-value field, and attach a two-key default curve or detach an authored curve back to a direct-value reading.
- Keep the owning Utility Selector node’s own declared read set exactly equal to the union of every one of its branches’ considered fields, in first-seen order, after the edit (research D-R2’s “must be declared globally and in the owning Utility Selector node’s own read set”).
- When adding a second consideration leaves the branch’s aggregation unset, default it to average rather than leaving a freshly-combined branch unable to bake.
- Restore the exact prior consideration list, aggregation, and selector read set on undo.
Does NOT:
- Edit a branch’s aggregation or execution mode when the edit is not adding a second consideration; seeEditUtilityBranchCommand.
- Edit an authored curve key’s exact time or value; the curve control commits the whole key set throughSetCurveKeys.
- Validate the resulting branch; the session re-runs the validator after the edit.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:83
Gets whether this command changes source topology.
Add(string selectorNodeId, string childNodeId, string fieldId)
Section titled “Add(string selectorNodeId, string childNodeId, string fieldId)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditUtilityConsiderationCommand Add(string selectorNodeId, string childNodeId, string fieldId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:86-88
Appends one direct-value consideration naming fieldId.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:124-146
Applies the requested consideration edit and recomputes the selector’s read set.
AttachCurve(string selectorNodeId, string childNodeId, int index)
Section titled “AttachCurve(string selectorNodeId, string childNodeId, int index)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditUtilityConsiderationCommand AttachCurve(string selectorNodeId, string childNodeId, int index)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:106-108
Attaches a default two-key ascending curve to the consideration at index.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:167-179
Returns the human-readable undo description.
DetachCurve(string selectorNodeId, string childNodeId, int index)
Section titled “DetachCurve(string selectorNodeId, string childNodeId, int index)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditUtilityConsiderationCommand DetachCurve(string selectorNodeId, string childNodeId, int index)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:111-113
Detaches the curve on the consideration at index, reverting to a direct value.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:149-164
Restores the exact prior considerations, aggregation, and selector read set.
Move(string selectorNodeId, string childNodeId, int fromIndex, int toIndex)
Section titled “Move(string selectorNodeId, string childNodeId, int fromIndex, int toIndex)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditUtilityConsiderationCommand Move(string selectorNodeId, string childNodeId, int fromIndex, int toIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:96-98
Moves the consideration at fromIndex to toIndex.
Remove(string selectorNodeId, string childNodeId, int index)
Section titled “Remove(string selectorNodeId, string childNodeId, int index)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditUtilityConsiderationCommand Remove(string selectorNodeId, string childNodeId, int index)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:91-93
Removes the consideration at index.
SetCurveKeys(string selectorNodeId, string childNodeId, int index, IReadOnlyList<BehaviorSourceUtilityCurveKey> keys)
Section titled “SetCurveKeys(string selectorNodeId, string childNodeId, int index, IReadOnlyList<BehaviorSourceUtilityCurveKey> keys)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditUtilityConsiderationCommand SetCurveKeys(string selectorNodeId, string childNodeId, int index, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceUtilityCurveKey> keys)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:116-121
Replaces the authored curve keys on the consideration at index.
SetField(string selectorNodeId, string childNodeId, int index, string fieldId)
Section titled “SetField(string selectorNodeId, string childNodeId, int index, string fieldId)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditUtilityConsiderationCommand SetField(string selectorNodeId, string childNodeId, int index, string fieldId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditUtilityConsiderationCommand.cs:101-103
Changes the declared field the consideration at index reads.
IBehaviorTreeEditCommand
Section titled “IBehaviorTreeEditCommand”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.IBehaviorTreeEditCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/IBehaviorTreeEditCommand.cs:41-69
One reversible edit on aBehaviorSourceDocument
owned by a StaticBehaviorTreeEditingSession. Commands are
the unit on which the document undo/redo stack operates and the
unit on which validation runs before they commit.
Responsibilities:
- Apply a deterministic forward mutation to the document (Apply).
- Reverse that mutation exactly so the undo stack restores the pre-edit document byte-for-byte (Invert).
- Provide a short human-readable description for undo/redo menu labels and transient status messages (Describe).
- Capture every input required to performInvertat construction time; commands are immutable from the session’s perspective once executed.
Does NOT:
- Mutate the on-disk
.bqbehaviorfile. Saving walks the final document and is a separate session operation. - Touch Unity’s global
Undosystem (R-004). Undo/redo for the editor is scoped to the focused editor window. - Run validation. The session runs the validator after each Apply, decides whether to commit, and pushes the command on success.
Round Trip: BT-specific (operates on BehaviorSourceDocument). Round Trip will define its own command interface against its own source format; the pattern (document command stack + validate→apply→push-inverse + save-on-demand) is generic and can be mirrored.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/IBehaviorTreeEditCommand.cs:68
Whether a validation failure on this command’s prospective post-state is a structural violation (reject the edit) or a parameter violation (allow but block save). See .
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/IBehaviorTreeEditCommand.cs:48
Apply the forward edit todocument. Must
be deterministic and never depend on any state outside the
command + the supplied document.
Describe()
Section titled “Describe()”string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/IBehaviorTreeEditCommand.cs:60
Short label like “Create Sequence node” used in undo/redo menu entries and transient status messages.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/IBehaviorTreeEditCommand.cs:54
Reverse the edit, producing the exact pre-Apply document. Must rely only on state captured at construction time.
MakeRoomLayoutCommand
Section titled “MakeRoomLayoutCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.MakeRoomLayoutCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MakeRoomLayoutCommand.cs:21-60
Implements: IBehaviorTreeEditCommand, IBehaviorTreePresentationOnlyEditCommand
Places one arriving node and slides the cards that were in its way, as one atomic presentation edit: every move applies together and one undo restores every prior position together.
Responsibilities:
- Apply the supplied layout moves in order and invert them in reverse order.
Does NOT:
- Decide which nodes move or how far; the placement routine owns the make-room rule.
- Change semantic identity, topology, or anything beyond invariant X and Y layout.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MakeRoomLayoutCommand.cs:35
Layout edits never violate graph topology.
MakeRoomLayoutCommand(IReadOnlyList<EditNodeLayoutCommand> moves)
Section titled “MakeRoomLayoutCommand(IReadOnlyList<EditNodeLayoutCommand> moves)”public MakeRoomLayoutCommand(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.EditNodeLayoutCommand> moves)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MakeRoomLayoutCommand.cs:27-32
Creates one reversible multi-node layout edit.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MakeRoomLayoutCommand.cs:38-44
Applies every layout move.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MakeRoomLayoutCommand.cs:56-59
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MakeRoomLayoutCommand.cs:47-53
Restores every prior position in reverse order.
MoveBranchCommand
Section titled “MoveBranchCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.MoveBranchCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveBranchCommand.cs:27-274
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Moves one existing authored branch and its visible layout as one atomic source edit.
Responsibilities:
- Replace exactly one inbound branch edge at a deterministic child index.
- Preserve authored edge formatting and probability weight where it remains meaningful.
- Freeze the supplied effective layout baseline and translate only the moved subtree.
- Restore exact edge order, formatting, weights, and prior layout presence on inversion.
Does NOT:
- Classify visual drop targets, invoke automatic layout, or mutate node blocks.
- Detect or reject descendant drops or cycles. The drag controller’s
ClassifyTargetrefuses those gestures, and the session re-runs the validator after Apply and inverts on a graph-cycle violation. A scripting consumer that calls Applyon a document directly bypasses both nets.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveBranchCommand.cs:97
Gets whether the edit changes execution topology.
MoveBranchCommand(string branchRootId, string destinationParentId, int destinationChildIndex, IReadOnlyDictionary<string, Vector2> effectivePositions, Vector2 translation)
Section titled “MoveBranchCommand(string branchRootId, string destinationParentId, int destinationChildIndex, IReadOnlyDictionary<string, Vector2> effectivePositions, Vector2 translation)”public MoveBranchCommand(string branchRootId, string destinationParentId, int destinationChildIndex, System.Collections.Generic.IReadOnlyDictionary<string, UnityEngine.Vector2> effectivePositions, UnityEngine.Vector2 translation)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveBranchCommand.cs:56-80
Creates one deterministic branch move from an immutable drag baseline.
destinationChildIndexis a POST-removal child slot: Apply detaches the moved
branch’s inbound edge first and only then resolves the insertion point, so for a
same-parent reorder the index counts the remaining siblings, not the displayed
pre-removal gaps. This is the inverse ofMoveDecoratorCommand, whose
gap index is a PRE-removal displayed gap that the command normalizes across the
removal itself.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveBranchCommand.cs:103-183
Applies the parent-edge change and rigid layout translation. Callers MUST confirm WouldChangefirst; the editing session does that automatically.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveBranchCommand.cs:204-207
Returns the exact history label for branch movement.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveBranchCommand.cs:186-201
Restores the exact pre-edit topology and layout presence.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveBranchCommand.cs:214-245
Returns false when the requested final parent and child slot are unchanged.
MoveDecoratorCommand
Section titled “MoveDecoratorCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.MoveDecoratorCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveDecoratorCommand.cs:22-333
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Rewires one existing decorator into a normalized visible stack position atomically.
Responsibilities:
- Preserve the exact existing decorator node block, identity, fields, and authored values.
- Normalize same-stack downward destinations after source removal.
- Change source and destination chains together and restore exact edge order on inversion.
- Name same-owner and cross-owner history as Reorder Decorator or Move Decorator.
Does NOT:
- Recreate a decorator, change node layout, infer a destination, or invoke validation.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveDecoratorCommand.cs:80
Gets whether the edit changes execution topology.
MoveDecoratorCommand(string decoratorNodeId, string destinationOwnerId, int destinationGapIndex)
Section titled “MoveDecoratorCommand(string decoratorNodeId, string destinationOwnerId, int destinationGapIndex)”public MoveDecoratorCommand(string decoratorNodeId, string destinationOwnerId, int destinationGapIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveDecoratorCommand.cs:40-54
Creates one deterministic decorator placement command.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveDecoratorCommand.cs:86-215
Removes and reinserts the existing decorator as one document mutation. Callers MUST confirmWouldChangefirst; the editing session does that automatically.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveDecoratorCommand.cs:229-243
Returns the exact action label for same-owner or cross-owner placement. Valid only afterApplyhas resolved the decorator’s visible source owner.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveDecoratorCommand.cs:218-223
Restores the exact pre-edit source and destination chains.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/MoveDecoratorCommand.cs:250-303
Returns false when removal-normalized insertion restores the source index.
MoveStateActionPhaseCommand
Section titled “MoveStateActionPhaseCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.MoveStateActionPhaseCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:22-67
Implements: IBehaviorTreeEditCommand
Moves one action into a different lifecycle group, keeping its stable identity and every authored field, and places it at the end of the destination group.
Responsibilities:
- Change only the action’s
action_phasetoken and its owning containment edge slot. - Name the history operation
Move Action.
Does NOT:
- Replace the action node, change its binding, or reorder another lifecycle group.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:49
Gets whether this edit changes source topology.
MoveStateActionPhaseCommand(string actionId, string stateId, string phaseToken, int destinationChildIndex)
Section titled “MoveStateActionPhaseCommand(string actionId, string stateId, string phaseToken, int destinationChildIndex)”public MoveStateActionPhaseCommand(string actionId, string stateId, string phaseToken, int destinationChildIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:28-46
Creates one lifecycle-group move for an existing action row.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:52-56
Applies the group change and its destination placement.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:66
Gets the undo label.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionPhaseCommand.cs:59-63
Restores the exact prior group and position.
ReTargetComponentAcquisitionCommand
Section titled “ReTargetComponentAcquisitionCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ReTargetComponentAcquisitionCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReTargetComponentAcquisitionCommand.cs:25-113
Implements: IBehaviorTreeEditCommand
The narrow component-acquisition extension of the standing atomic target edit: a target mode or carrier-component change on a closed acquisition re-closes the same acquisition against the new carrier instead of clearing the member. The closed signature, result contract, and store survive; only the Target moves, in one reversible edit.
Responsibilities:
- Move the carrier among Agent, Reference, and Variable, or onto another Component.
Does NOT:
- Serve any non-acquisition binding, Static (an acquisition reads a component off an instance; Static has none), or the Member card’s own Change, which keeps the ordinary clearing contract.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReTargetComponentAcquisitionCommand.cs:90
A carrier move never alters graph topology.
ReTargetComponentAcquisitionCommand(BehaviorSourceMemberBinding binding, BehaviorSourceMemberTargetMode mode, Type carrier)
Section titled “ReTargetComponentAcquisitionCommand(BehaviorSourceMemberBinding binding, BehaviorSourceMemberTargetMode mode, Type carrier)”public ReTargetComponentAcquisitionCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, BitQuirky.Behavior.Authoring.BehaviorSourceMemberTargetMode mode, System.Type carrier)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReTargetComponentAcquisitionCommand.cs:34-87
Creates one re-targeting edit. A nullcarrierkeeps the current
carrier component and moves only the mode.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReTargetComponentAcquisitionCommand.cs:93-96
Applies the re-closed binding as one member edit.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReTargetComponentAcquisitionCommand.cs:105
Describes the exact carrier move.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReTargetComponentAcquisitionCommand.cs:99-102
Restores the exact prior carrier and mode.
RemoveMemberParamsValueCommand
Section titled “RemoveMemberParamsValueCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.RemoveMemberParamsValueCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:60-98
Implements: IBehaviorTreeEditCommand
One atomic authored removal of one expanded params value. Responsibilities: remove exactly the row at the supplied index, renumber every later value’s ordinal down by one so the surviving rows stay a contiguous, zero-based call order, and invert by restoring the removed row at its original index. Does NOT: remove a different row, or touch the explicit-array payload.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:85
Removing an expanded value does not alter graph topology.
RemoveMemberParamsValueCommand(BehaviorSourceMemberBinding binding, int index)
Section titled “RemoveMemberParamsValueCommand(BehaviorSourceMemberBinding binding, int index)”public RemoveMemberParamsValueCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, int index)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:72-82
Creates one complete expanded params value removal at the supplied index.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:88
Applies the removal as one member edit.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:94-95
Names this exact undo step.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:91
Restores the exact removed value at its original index.
RemoveStateActionCommand
Section titled “RemoveStateActionCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.RemoveStateActionCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:490-511
Implements: IBehaviorTreeEditCommand
Removes one action row while preserving enough source state for exact undo.
Responsibilities:
- Remove only the selected action subtree and its containment edge.
- Name the history operation
Remove Action.
Does NOT:
- Remove the owning state or its sibling actions.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:501
Gets whether this edit changes source topology.
RemoveStateActionCommand(string actionId)
Section titled “RemoveStateActionCommand(string actionId)”public RemoveStateActionCommand(string actionId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:495-498
Creates one reversible action removal.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:504
Applies the removal.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:510
Gets the undo label.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:507
Restores the removed action and edge.
RemoveStateMachineReferenceCandidateCommand
Section titled “RemoveStateMachineReferenceCandidateCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.RemoveStateMachineReferenceCandidateCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:303-368
Implements: IBehaviorTreeEditCommand
Removes one candidate from a multi-candidate reference as one undo entry.
Responsibilities:
- Preserve the exact node and conditioned ownership edge for undo.
- Refuse the single-candidate case so the rail never offers a destructive no-choice action.
Does NOT:
- Delete or modify the shared referenced module asset.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:314
Gets whether this command changes source topology.
RemoveStateMachineReferenceCandidateCommand(string referenceNodeId, string candidateNodeId)
Section titled “RemoveStateMachineReferenceCandidateCommand(string referenceNodeId, string candidateNodeId)”public RemoveStateMachineReferenceCandidateCommand(string referenceNodeId, string candidateNodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:317-324
Creates one reversible candidate removal.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:327-347
Removes the exact candidate and ownership edge.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:367
Returns the user-facing undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:350-364
Restores the exact candidate and edge to their source positions.
RenameNodeCommand
Section titled “RenameNodeCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.RenameNodeCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/RenameNodeCommand.cs:22-54
Implements: IBehaviorTreeEditCommand
One identity-header rename as a single undo step with its exact undo name: Rename Node, Rename State, Rename Action, or Rename Transition.
Responsibilities:
- Route the label edit throughEditNodeParameterCommandso apply, invert, and validation semantics stay identical to every other label edit.
- Report the rename-specific undo description the identity header’s affordance promises.
Does NOT:
- Validate the candidate name; the header’s affordance refuses an empty or non-round-trippable name before a command exists.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/RenameNodeCommand.cs:53
Gets the wrapped edit’s structural verdict.
RenameNodeCommand(string nodeId, string newLabel, string undoName)
Section titled “RenameNodeCommand(string nodeId, string newLabel, string undoName)”public RenameNodeCommand(string nodeId, string newLabel, string undoName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/RenameNodeCommand.cs:33-41
Wraps the label edit for one node and fixes the undo entry’s name. Asserts an undo name was supplied, because the header’s affordance promises a specific one (Rename Node, State, Action, or Transition); a null label is stored as the empty string.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/RenameNodeCommand.cs:44
Applies the wrapped label edit.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/RenameNodeCommand.cs:50
Returns the rename undo name.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/RenameNodeCommand.cs:47
Restores the exact prior label.
ReorderMemberParamsValueCommand
Section titled “ReorderMemberParamsValueCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ReorderMemberParamsValueCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:108-144
Implements: IBehaviorTreeEditCommand
One atomic authored reorder of one expanded params value, the same result the grip and Alt+Up/Alt+Down produce. Responsibilities: move the value at one index to another index, renumber every value’s ordinal to its new contiguous call-order position, and invert by restoring the exact prior order. Every value keeps its authored source and payload; only call order changes. Does NOT: change a value’s source, payload, or the active input form.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:132
Reordering an expanded value does not alter graph topology.
ReorderMemberParamsValueCommand(BehaviorSourceMemberBinding binding, int fromIndex, int toIndex)
Section titled “ReorderMemberParamsValueCommand(BehaviorSourceMemberBinding binding, int fromIndex, int toIndex)”public ReorderMemberParamsValueCommand(BitQuirky.Behavior.Authoring.BehaviorSourceMemberBinding binding, int fromIndex, int toIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:119-129
Creates one complete expanded params value reorder between two indices.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:135
Applies the reorder as one member edit.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:141
Names this exact undo step.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ChangeMemberParamsValueCommand.cs:138
Restores the exact prior call order.
ReorderStateActionCommand
Section titled “ReorderStateActionCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ReorderStateActionCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:523-544
Implements: IBehaviorTreeEditCommand
Reorders one action by moving only its owning state edge.
Responsibilities:
- Preserve action identity, node metadata, and sibling identities.
- Name the history operation
Reorder Action.
Does NOT:
- Replace action nodes or alter service bindings.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:534
Gets whether this edit changes source topology.
ReorderStateActionCommand(string actionId, string stateId, int actionIndex)
Section titled “ReorderStateActionCommand(string actionId, string stateId, int actionIndex)”public ReorderStateActionCommand(string actionId, string stateId, int actionIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:528-531
Creates one edge-only reorder.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:537
Applies the edge-only reorder.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:543
Gets the undo label.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:540
Restores the prior edge position.
ReorderStateMachineReferenceCandidateCommand
Section titled “ReorderStateMachineReferenceCandidateCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ReorderStateMachineReferenceCandidateCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:220-291
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Moves one ordinary candidate to another priority while preserving the complete edge, including its ordered typed Eligibility group.
Responsibilities:
- Reorder only ordinary candidates; the optional Default remains outside priority moves.
- Preserve exact node identity, module identity, parameters, and edge condition data.
Does NOT:
- Move the referenced module asset or reorder anything inside that asset.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:231
Gets whether this command changes source topology.
ReorderStateMachineReferenceCandidateCommand(string referenceNodeId, string candidateNodeId, int targetIndex)
Section titled “ReorderStateMachineReferenceCandidateCommand(string referenceNodeId, string candidateNodeId, int targetIndex)”public ReorderStateMachineReferenceCandidateCommand(string referenceNodeId, string candidateNodeId, int targetIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:234-243
Creates one reversible candidate priority move.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:256-278
Moves the existing edge object to its new ordinary-candidate position.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:290
Returns the user-facing undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:281-287
Restores the edge to its exact original document position.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/StateMachineReferenceEditCommands.cs:246-253
Returns false for a boundary or same-position move.
ReparentNodeCommand
Section titled “ReparentNodeCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ReparentNodeCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReparentNodeCommand.cs:25-200
Implements: IBehaviorTreeEditCommand
Move a node so a different parent owns it, at a specified child index. Captures the previous parent + child index so Invertcan restore the prior connection.
Responsibilities:
- Locate the single inbound execution edge for the node, capture its source + position, then remove it.
- Insert a fresh edge from the new parent at the requested child slot, preserving an authored probability weight or assigning the default weight when entering a Probability Selector.
Does NOT:
- Detect or reject cycles. The session re-runs the validator after Apply; structural violations roll the change back.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReparentNodeCommand.cs:48
Always structural: moving a node changes topology, so a rejected verdict rolls the move back.
ReparentNodeCommand(string nodeId, string newParentId, int newChildIndex)
Section titled “ReparentNodeCommand(string nodeId, string newParentId, int newChildIndex)”public ReparentNodeCommand(string nodeId, string newParentId, int newChildIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReparentNodeCommand.cs:59-70
Names the node to move, the parent to move it under, and the child slot it should take. Asserts both ids and a non-negative slot, since the destination edge cannot be inferred later.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReparentNodeCommand.cs:77-164
Removes the node’s inbound execution edge and inserts a fresh edge from the new parent at the requested child slot.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReparentNodeCommand.cs:194-197
Undo and redo label naming the moved node and its new parent.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/ReparentNodeCommand.cs:167-191
Restores the captured inbound edge, returning the node to its previous parent and child index.
ReplaceStateActionCommand
Section titled “ReplaceStateActionCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.ReplaceStateActionCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:369-478
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Replaces one lifecycle row with a declared service adapter without replacing its row identity, containment edge, or lifecycle metadata.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:391
Gets whether this edit changes source topology.
ReplaceStateActionCommand(string actionId, string serviceToken, StateMachineActionBindingKind bindingKind)
Section titled “ReplaceStateActionCommand(string actionId, string serviceToken, StateMachineActionBindingKind bindingKind)”public ReplaceStateActionCommand(string actionId, string serviceToken, BitQuirky.Behavior.Editor.StateMachineActionBindingKind bindingKind = Immediate)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:380-388
Creates one service-binding replacement.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:415-437
Applies the service and removes any superseded member binding.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:458
Gets the undo label.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:440-455
Restores the prior service or member operation.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditStateActionListCommand.cs:394-412
Returns whether this exact service operation is not already stored.
SetEntryStateCommand
Section titled “SetEntryStateCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.SetEntryStateCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetEntryStateCommand.cs:20-162
Implements: IBehaviorTreeEditCommand
Atomically moves the unique entry designation to another action state.
Responsibilities:
- Demote the current entry state and promote the selected state in one undo entry.
- Promote the selected state without a demotion when no entry exists yet.
- Preserve node identity, labels, metadata, layout, and exact prior source tokens.
Does NOT:
- Reparent states, change transition flow, or persist source directly.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetEntryStateCommand.cs:30
Gets whether this command changes source topology.
SetEntryStateCommand(string stateNodeId)
Section titled “SetEntryStateCommand(string stateNodeId)”public SetEntryStateCommand(string stateNodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetEntryStateCommand.cs:33-37
Creates one reversible entry-state designation edit.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetEntryStateCommand.cs:40-65
Moves the entry designation to the selected state.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetEntryStateCommand.cs:87-90
Returns the human-readable undo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetEntryStateCommand.cs:68-84
Restores both states to their exact prior source representation.
SetRuntimePathCommand
Section titled “SetRuntimePathCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.SetRuntimePathCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetRuntimePathCommand.cs:26-267
Implements: IBehaviorTreeEditCommand
Set which runtime a graph bakes for, as one undo entry.
Responsibilities:
- Write the graph’s Runtime path, inserting the header block when the graph has been on the default GameObject path and canonical text therefore omitted it.
- Convert the equivalent Agent/Self and Entity/Self pair when crossing paths, and normalize the entity-only static spelling to shared Static on the GameObject path, preserving every other binding for explicit validation and recovery.
- Restore the exact prior path, including the absence of the block, on undo.
Does NOT:
- Change any variable’s name, type or value. The path decides only whether the graph can carry what is declared, and switching never reinterprets a declaration.
- Refuse a switch that leaves variables the new path cannot carry. Authoring is never blocked, only running, and every uncarried variable is reported at once instead.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetRuntimePathCommand.cs:61
Gets whether this command changes source topology.
public BitQuirky.Behavior.Authoring.BehaviorSourceRuntimePath Path { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetRuntimePathCommand.cs:64
Gets the path this command writes.
SetRuntimePathCommand(BehaviorSourceRuntimePath path)
Section titled “SetRuntimePathCommand(BehaviorSourceRuntimePath path)”public SetRuntimePathCommand(BitQuirky.Behavior.Authoring.BehaviorSourceRuntimePath path)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetRuntimePathCommand.cs:71-74
Creates one reversible Runtime path change.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetRuntimePathCommand.cs:81-126
Apply the forward edit todocument. Must
be deterministic and never depend on any state outside the
command + the supplied document.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetRuntimePathCommand.cs:163-168
Short label like “Create Sequence node” used in undo/redo menu entries and transient status messages.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetRuntimePathCommand.cs:129-160
Reverse the edit, producing the exact pre-Apply document. Must rely only on state captured at construction time.
SetStateActiveUpdateSourceCommand
Section titled “SetStateActiveUpdateSourceCommand”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.SetStateActiveUpdateSourceCommandSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetStateActiveUpdateSourceCommand.cs:23-185
Implements: IBehaviorTreeEditCommand, IBehaviorTreeNoOpAwareEditCommand
Switches one state’s Active Update source between its action list and a hosted behavior tree as a single undo entry.
Responsibilities:
- Write the canonical explicit Active Update source parameter.
- Preserve every hosted root, assignment, lifetime, and result event while it is dormant.
- Restore the state’s exact prior semantic parameter list on undo.
Does NOT:
- Create, remove, move, or reorder hosted roots or actions.
- Persist the source file.
Members
Section titled “Members”IsStructural
Section titled “IsStructural”public bool IsStructural { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetStateActiveUpdateSourceCommand.cs:39
Gets whether this edit changes source topology.
SetStateActiveUpdateSourceCommand(string stateNodeId, bool useBehaviorTree)
Section titled “SetStateActiveUpdateSourceCommand(string stateNodeId, bool useBehaviorTree)”public SetStateActiveUpdateSourceCommand(string stateNodeId, bool useBehaviorTree)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetStateActiveUpdateSourceCommand.cs:46-54
Creates one reversible Active Update source switch.
Apply(BehaviorSourceDocument document)
Section titled “Apply(BehaviorSourceDocument document)”public void Apply(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetStateActiveUpdateSourceCommand.cs:93-110
Applies the explicit source selection and captures the prior parameters.
Describe()
Section titled “Describe()”public string Describe()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetStateActiveUpdateSourceCommand.cs:129-134
Returns the human-readable undo and redo description.
Invert(BehaviorSourceDocument document)
Section titled “Invert(BehaviorSourceDocument document)”public void Invert(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetStateActiveUpdateSourceCommand.cs:113-126
Restores the exact parameter list authored before the switch.
WouldChange(BehaviorSourceDocument document)
Section titled “WouldChange(BehaviorSourceDocument document)”public bool WouldChange(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/SetStateActiveUpdateSourceCommand.cs:61-86
Returns false when the state already explicitly authors this source.
Source fingerprint: sha256:29003d8b1658b98a79bebcd93e3b4030caf8511268b96817ab764d63df8d6c3b