Vixen
02b45cc4
csharp
public record class ScriptBuild

What compiling a project's Editor/ folder produced.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ A project with no Editor/ folder is not a failure and is not an error. Most projects are content and scenes; an editor that reported a problem for one would be reporting the absence of a feature nobody asked for. That case is no assembly, no diagnostics and no sources, and Failed is false for it.

Fields and properties (6)

  • public string? AssemblyPath

    Where the assembly landed, or if none was written.

  • public IReadOnlyList<ScriptDiagnostic> Diagnostics

    Everything the compiler said, errors and warnings together.

  • public int Sources

    How many files went in.

  • public static ScriptBuild None

    Nothing to build.

  • public bool Failed

    Whether there were sources and no assembly came out of them.

  • public IEnumerable<ScriptDiagnostic> Errors

    Just the errors, which is what a panel leads with.

Methods (1)

  • public ScriptBuild(string? AssemblyPath, IReadOnlyList<ScriptDiagnostic> Diagnostics, int Sources)

    What compiling a project's Editor/ folder produced.

Used by (5)

  • EditorScriptTestsVixen.Editor.Scripts.Tests
  • EditorScriptsVixen.Editor.Scripts
  • ScriptCompilerVixen.Editor.Scripts
  • ScriptStateVixen.Editor.Scripts
  • ScriptsModuleVixen.Editor.Scripts