csharp
public readonly record struct BehaviorDecoratorSlotOne decorator, attached to one node.
Remarks
⚠ Their order on a node is significant and is authored. They evaluate top to bottom and the first failure stops the rest, so putting the cheap test above the trace is the author's decision — doc 37 § D4.
Fields and properties (7)
public BehaviorDecorator DecoratorThe condition.
public int NodeWhat it gates.
public ObserverAborts AbortsWhat it may interrupt.
public int KeyStartWhere its observed keys start in the template's key table.
public int KeyCountHow many keys it reads.
public int MemoryOffsetWhere its state starts in an agent's memory block.
public int MemorySizeHow many bytes of that block are its own.
Methods (1)
public BehaviorDecoratorSlot(BehaviorDecorator Decorator, int Node, ObserverAborts Aborts, int KeyStart, int KeyCount, int MemoryOffset, int MemorySize)One decorator, attached to one node.
Used by (7)
- AiSnapshotsVixen.Ai
- AuthorableNodeTestsVixen.Ai.Tests
- BehaviorTreeAbortOrderingTestsVixen.Ai.Tests
- BehaviorTreeCompilerTestsVixen.Ai.Tests
- BehaviorTreeInstanceVixen.Ai
- BehaviorTreeTemplateVixen.Ai
- CompileStateVixen.Ai