Vixen
c7401864
csharp
public readonly record struct GoapWorldKey

One thing a plan reasons about, by index.

Read the guide page for this →

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 Index
  • public static GoapWorldKey Invalid

    The key that names nothing.

  • public bool IsValid

    Whether it names anything.

Methods (1)

  • public GoapWorldKey(ushort Index)

    One thing a plan reasons about, by index.

Used by (13)

  • 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