csharp
public readonly record struct GoapWorldKeyOne thing a plan reasons about, by index.
Remarks
⚠ An index, not a name, for the reason BlackboardKey is. A resolve reads every key of every condition of every action it expands, so a name lookup would be a dictionary probe inside the innermost loop of an A* search. The names exist in the domain's declaration and in a diagnostic, and nowhere on the hot path.
Fields and properties (3)
public ushort Indexpublic static GoapWorldKey InvalidThe key that names nothing.
public bool IsValidWhether it names anything.
Methods (1)
public GoapWorldKey(ushort Index)One thing a plan reasons about, by index.
Used by (14)
- VillageAiVillage
- AiSnapshotsVixen.Ai
- GoapBudgetTestsVixen.Ai.Tests
- GoapConditionVixen.Ai
- GoapCostTestsVixen.Ai.Tests
- GoapDomainContentCompilerVixen.Ai
- GoapDomainTestsVixen.Ai.Tests
- GoapEffectVixen.Ai
- GoapPearTestsVixen.Ai.Tests
- GoapSnapshotVixen.Ai
- GoapThroughputTestsVixen.Ai.Tests
- GoapWorldKeysVixen.Ai
- VillageVixen.Ai.Nodes.Tests
- LiveAgentVixen.Editor.AssetEditors.Tests