Vixen
c7401864
csharp
public readonly record struct BehaviorDecoratorSlot

One decorator, attached to one node.

Read the guide page for this →

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 Decorator

    The condition.

  • public int Node

    What it gates.

  • public ObserverAborts Aborts

    What it may interrupt.

  • public int KeyStart

    Where its observed keys start in the template's key table.

  • public int KeyCount

    How many keys it reads.

  • public int MemoryOffset

    Where its state starts in an agent's memory block.

  • public int MemorySize

    How 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