csharp
public static class QueryContentCompilerTurns the data in a .vxquery into a query the runtime runs.
Remarks
The same shape UtilitySetContentCompiler and GoapDomainContentCompiler have, and against the same BehaviorTreeResolver — which by now holds five tables and is plainly the game's resolution table for AI content rather than a tree's.
⚠ Everything it cannot resolve is a diagnostic and a placeholder, never a refusal. Authoring a query before its trace test exists is the ordinary order of work. A generator that does not resolve makes no points; a test that does not resolve filters everything, which is the safe direction — an unfinished query answers "nowhere" rather than confidently sending an agent to a spot nothing checked.
Methods (1)
public static bool TryCompile(QueryContent content, BehaviorTreeResolver resolver, out IReadOnlyList<BehaviorTreeDiagnostic> diagnostics, out EnvironmentQuery? query)Builds a query from a file.
Used by (3)
- QueryContentTestsVixen.Ai.Tests
- QueryDocumentVixen.Editor.AssetEditors
- QueryImporterVixen.Editor.Assets