# Sandbox.PackageInfo

A thin readonly view over a [Sandbox.Package](/api/Sandbox.Package)'s data values, exposing the well-known launcher
flags by name so callers don't repeat the string keys and defaults. Holds nothing but a reference to
the package; get one from [Sandbox.Package.Info](/api/Sandbox.Package/Info). Tolerates a default/empty instance by returning
each flag's default.

- Kind: struct
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Properties

- [`DefaultMap`](/api/Sandbox.PackageInfo/DefaultMap): The map this game launches with by default, or empty if none is configured.
- [`GameSettings`](/api/Sandbox.PackageInfo/GameSettings): The configurable game settings shown in the create-game modal, or null if none are defined.
- [`HasGameSettings`](/api/Sandbox.PackageInfo/HasGameSettings): Does this game define any configurable [Sandbox.DataModel.GameSetting](/api/Sandbox.DataModel.GameSetting)s?
- [`IsDedicatedServerOnly`](/api/Sandbox.PackageInfo/IsDedicatedServerOnly): Is this game playable only on a dedicated server ([Sandbox.PackageInfo.LaunchMode](/api/Sandbox.PackageInfo/LaunchMode) "dedicatedserveronly")?
- [`IsQuickPlay`](/api/Sandbox.PackageInfo/IsQuickPlay): Does this game launch straight into matchmaking ([Sandbox.PackageInfo.LaunchMode](/api/Sandbox.PackageInfo/LaunchMode) "quickplay")?
- [`IsStreamerGame`](/api/Sandbox.PackageInfo/IsStreamerGame): Does this game opt into the streamer integration features (the stream connection button, etc.)?
- [`IsVrOnly`](/api/Sandbox.PackageInfo/IsVrOnly): Can this game only be played in VR?
- [`LaunchMode`](/api/Sandbox.PackageInfo/LaunchMode): The raw launch mode (e.g. "quickplay", "dedicatedserveronly", "launcher"), or "default".
- [`MapTarget`](/api/Sandbox.PackageInfo/MapTarget): The package whose maps this game pulls from, defaulting to the game's own ident.
- [`MaxPlayers`](/api/Sandbox.PackageInfo/MaxPlayers): The maximum number of players this game supports. Defaults to 1.
- [`MinPlayers`](/api/Sandbox.PackageInfo/MinPlayers): The minimum number of players needed to start this game. Defaults to 1.
- [`NeedsMap`](/api/Sandbox.PackageInfo/NeedsMap): Does this game require a map to be chosen before it can launch?
- [`ParentPackage`](/api/Sandbox.PackageInfo/ParentPackage): The ident of this package's parent package, or null if it has none.
- [`ShowsChangeMap`](/api/Sandbox.PackageInfo/ShowsChangeMap): Should the pause menu offer a "change map" button? Defaults to false.
- [`ShowsPlayerList`](/api/Sandbox.PackageInfo/ShowsPlayerList): Should the pause menu show the player list button? Defaults to true.
- [`UsesCreateGameModal`](/api/Sandbox.PackageInfo/UsesCreateGameModal): Should launching this game go through the create-game modal rather than starting directly?
