public readonly record struct AiDebugRowOne line of an agent's state: a name, what it says, and a number behind it.
Remarks
⚠ One row type for five lists, and that is doc 37 § D2 arriving at the debugger. An active tree path, a table of scored candidates, a plan's steps, a blackboard and a perceived list are all "a name, a reading and whether it is the live one" — so the overlay draws one kind of line, the panel builds one kind of table, and the wire writes one kind of record. Five shapes would have been five of each.
Fields and properties (5)
public AiDebugSection SectionWhich part of the agent it belongs to.
public string NameWhat it is called — a node, a key, a consideration, a source entity.
public string ValueWhat it says, already formatted, because a viewer must not need the type.
public float NumberThe number behind it: a score, a cost, a distance, an age. Zero when there is none.
public bool ActiveWhether this is the one that is running, chosen, or current.
Methods (4)
public AiDebugRow(AiDebugSection Section, string Name, string Value, float Number, bool Active)One line of an agent's state: a name, what it says, and a number behind it.
public static AiDebugRow Of(AiDebugSection section, string name, string value, bool active = false)A row with no number.
public static AiDebugRow Of(AiDebugSection section, string name, float number, bool active = false)A row whose value is its own number.
public override string ToString()Returns the fully qualified type name of this instance.
Used by (11)
- AiAgentSnapshotVixen.Ai
- AiDebugChannelVixen.Ai
- AiDebugChannelTestsVixen.Ai.Tests
- AiGameplayDebuggerVixen.Ai.Diagnostics
- AiSnapshotTestsVixen.Ai.Tests
- AiSnapshotsVixen.Ai
- PerceptionSnapshotsVixen.Ai.Perception
- AgentDebugModelVixen.Editor.Ai
- AgentDebugModelTestsVixen.Editor.AssetEditors.Tests
- AgentDebuggerViewVixen.Editor.AssetEditors
- UtilitySetViewVixen.Editor.AssetEditors