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
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
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
CreateGameOptions
chevron_left
Classes
struct
CreateGameOptions
Constructors
functions
CreateGameOptions
Properties
data_object
ConfigureOnly
data_object
InitialSettings
data_object
MinimumPlayers
data_object
OnComplete
data_object
Package
CreateGameOptions
Passed to IModalSystem.CreateGame
struct
Sandbox.Modals
.
sealed
Sandbox.Engine
build
Constructors
1
CreateGameOptions
(
package
,
onComplete
)
data_object
Properties
5
ConfigureOnly
bool
Show this as a settings form with a Save Settings button. The completion callback decides what happens next.
InitialSettings
Nullable`1
The setup to edit instead of loading the player's last saved setup for this game.
MinimumPlayers
int
Minimum server capacity required by the caller, such as the number of players in a party.
OnComplete
Action`1
Package
Package
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.