s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
coming soon
Gamejams
Date
Theme
Date announced very soon. Theme revealed when the jam starts.
$
50,000
prizepool
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
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
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.