s&box docs

public class Sandbox.CompileGroup

Constructors

Showing 1 constructors

Methods

Showing 6 methods

public System.Threading.Tasks.Task`1<bool> BuildAsync()

Build the compilers

public virtual sealed void Dispose()

Shut everything down

public Sandbox.Compiler GetOrCreateCompiler(string name)

public void Reset()

Reset the compile group. Clear errors and outputs.

public System.Threading.Tasks.Task WaitForCompile(System.Threading.CancellationToken token)

Properties

Showing 13 properties

public Sandbox.AccessControl Sandbox.CompileGroup.AccessControl { get; set; }

AccessControl instance to use when verifying whitelist. Must be set to enable compile-time access control.

public bool Sandbox.CompileGroup.AllowFastHotload { get; set; }

True if we want to use fast hotloading with this compile group

public System.Collections.Generic.IEnumerable`1<Sandbox.Compiler> Sandbox.CompileGroup.Compilers { get; set; }

The compilers within the group

public bool Sandbox.CompileGroup.IsBuilding { get; set; }

Returns true if we are currently in the process of building

public string Sandbox.CompileGroup.Name { get; set; }

The name of this compile group, for debugging/display purposes

public bool Sandbox.CompileGroup.NeedsBuild { get; set; }

Returns true if we have compiles pending

public System.Action Sandbox.CompileGroup.OnCompileFinished { get; set; }

Called when a compiling ends

public System.Action Sandbox.CompileGroup.OnCompileStarted { get; set; }

Called when a compiling starts

public System.Action Sandbox.CompileGroup.OnCompileSuccess { get; set; }

Called when a compile completes successfully. Can access the result from BuildResult.

public bool Sandbox.CompileGroup.PrintErrorsInConsole { get; set; }

True if we want to print errors in the console when compiling

public static bool Sandbox.CompileGroup.SuppressBuildNotifications { get; set; }

Build notifications start of suppressed until after startup proper. That way we don't get 4 build notification windows popping up on startup.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Compiling
Doc IDT:Sandbox.CompileGroup

On this page