Vixen
c7401864
csharp
public sealed class GoapDomainContent

A GOAP domain as a file: tables of keys, actions and goals.

Read the guide page for this →

Remarks

⚠ Tables and not a graph, and doc 37 § Part 5 is explicit about why. The edges of a GOAP graph are not authored — they are computed from which effects satisfy which conditions. Drawing them by hand would be authoring the same fact twice, and the two copies would disagree the first time somebody edited a condition. So the file is three tables and the graph is derived, read-only, in the viewer.

Fields and properties (10)

  • public const string Extension

    What a GOAP domain is called on disk.

  • public const int Current

    The version this build writes and reads.

  • public int Version

    Which version wrote this file.

  • public string Name

    What the domain is called.

  • public List<BehaviorKeyContent> Blackboard

    The blackboard keys it declares, when it declares its own.

  • public List<GoapKeyContent> Keys

    The world keys it reasons about.

  • public List<GoapActionContent> Actions

    What its agents can do.

  • public List<GoapGoalContent> Goals

    What they might want.

  • public int NodeBudget

    How many nodes one search may expand.

  • public int DepthLimit

    How long a chain may get.

Methods (2)

Used by (9)

  • GoapDomainContentCompilerVixen.Ai
  • TypeRegistrationVixen.Ai
  • Vixen_Ai_GoapDomainContentSerializerVixen.Ai
  • GoapDomainDocumentVixen.Editor.AssetEditors
  • GoapDomainDocumentTestsVixen.Editor.AssetEditors.Tests
  • GoapDomainImporterVixen.Editor.Assets
  • GoapDomainViewVixen.Editor.AssetEditors
  • GoapGraphProjectionTestsVixen.Editor.AssetEditors.Tests
  • SnapshotCommandVixen.Editor.AssetEditors