s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
CompileGroup
chevron_left
Classes
class
CompileGroup
search
Constructors
functions
CompileGroup
Properties
data_object
AccessControl
data_object
AllowFastHotload
data_object
BuildResult
data_object
Compilers
data_object
IsBuilding
data_object
Name
data_object
NeedsBuild
data_object
OnCompileFinished
data_object
OnCompileStarted
data_object
OnCompileSuccess
data_object
PrintErrorsInConsole
data_object
ReferenceProvider
Methods
functions
BuildAsync
functions
CreateCompiler
functions
Dispose
functions
GetOrCreateCompiler
functions
Reset
functions
WaitForCompile
Static Properties
data_object
SuppressBuildNotifications
CompileGroup
class
Sandbox
.
Sandbox.Compiling
build
Constructors
1
CompileGroup
(
name
)
data_object
Properties
12
AccessControl
AccessControl
AccessControl instance to use when verifying whitelist. Must be set to enable compile-time access control.
AllowFastHotload
bool
True if we want to use fast hotloading with this compile group
BuildResult
Results
Returns true if build was successful
Compilers
IEnumerable`1
The compilers within the group
IsBuilding
bool
Returns true if we are currently in the process of building
Name
string
The name of this compile group, for debugging/display purposes
NeedsBuild
bool
Returns true if we have compiles pending
OnCompileFinished
Action
Called when a compiling ends
OnCompileStarted
Action
Called when a compiling starts
OnCompileSuccess
Action
Called when a compile completes successfully. Can access the result from BuildResult.
PrintErrorsInConsole
bool
True if we want to print errors in the console when compiling
ReferenceProvider
ICompileReferenceProvider
Allows providing an external way to find references
functions
Methods
6
BuildAsync
(
)
Task`1
Build the compilers
CreateCompiler
(
name
,
path
,
settings
)
Compiler
Create a new compiler in this group.
Dispose
(
)
Shut everything down
GetOrCreateCompiler
(
name
)
Compiler
Reset
(
)
Reset the compile group. Clear errors and outputs.
WaitForCompile
(
token
)
Task
data_object
Static Properties
1
SuppressBuildNotifications
bool
Build notifications start of suppressed until after startup proper. That way we don't get 4 build notification windows popping up on startup.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.