s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
IModalSystem
chevron_left API Reference
interface
IModalSystem

Properties

data_objectIsModalOpendata_objectIsPauseMenuOpen

Methods

functionsBenchmarkResultsfunctionsCloseAllfunctionsCreateGamefunctionsFriendsListfunctionsGamefunctionsHasModalsOpenfunctionsMapfunctionsMapSelectfunctionsNewsfunctionsNoticefunctionsOpenUrlfunctionsPackagefunctionsPackageSelectfunctionsPauseMenufunctionsPlayerfunctionsPlayerListfunctionsReportremove_circleReviewfunctionsServerfunctionsServerListfunctionsServerPasswordfunctionsServiceConnectorfunctionsSettingsfunctionsWorkshopPublish
IModalSystem
interface Sandbox.Modals .
abstractSandbox.Engine

data_object Properties 2

IsModalOpen
bool
IsPauseMenuOpen
bool

functions Methods 24

BenchmarkResults (batchId, summaries)
CloseAll (immediate)
CreateGame (options)
FriendsList (options)
Game (packageIdent)
HasModalsOpen ()
bool
Map (map)
MapSelect (onMapSelected, selected)
News (newsitem)
Notice (title, message, icon)
OpenUrl (url)
Ask whether to open this url in the browser. It's already been checked to be http(s).
Package (packageIdent, page)
PackageSelect (query, onPackageSelected, onFilterChanged)
PauseMenu ()
The menu that is shown when escape is pressed while playing.
Player (steamid, page)
PlayerList ()
Report (packageIdent)
Review (package)
obsolete
Legacy entry point for the retired review form.
Server (lobby)
ServerList (config)
ServerPassword (serverName)
Task`1
Ask for the password of a server we're joining. Null or empty if they'd rather not join.
ServiceConnector ()
Settings (page)
WorkshopPublish (options)
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter