Vixen
caa30e12
csharp
public readonly record struct GoapCondition

Something that has to be true.

Read the guide page for this →

Fields and properties (4)

  • public GoapWorldKey Key

    Which world key.

  • public GoapComparison Comparison

    How it is compared.

  • public int Value

    To what.

  • public bool WantsIncrease

    Whether this condition wants the key to go up.

Methods (2)

  • public GoapCondition(GoapWorldKey Key, GoapComparison Comparison, int Value)

    Something that has to be true.

  • public bool Holds(ReadOnlySpan<int> state)

    Whether a world state satisfies it.

Used by (12)

  • AiSnapshotsVixen.Ai
  • AiSystemVixen.Ai
  • GoapActionVixen.Ai
  • GoapBudgetTestsVixen.Ai.Tests
  • GoapDomainVixen.Ai
  • GoapDomainContentCompilerVixen.Ai
  • GoapDomainTestsVixen.Ai.Tests
  • GoapGoalVixen.Ai
  • GoapPlannerVixen.Ai
  • GoapReplanTestsVixen.Ai.Tests
  • GoapDomainImporterVixen.Editor.Assets
  • GoapGraphProjectionVixen.Editor.Ai