Barotrauma Client Doc
Barotrauma.GameModePreset Class Reference

Public Member Functions

 GameModePreset (Identifier identifier, Type type, bool isSinglePlayer=false, bool votable=true)
 

Static Public Member Functions

static void Init ()
 

Public Attributes

readonly Type GameModeType
 
readonly LocalizedString Name
 
readonly LocalizedString Description
 
readonly Identifier Identifier
 
readonly bool IsSinglePlayer
 
readonly bool Votable
 

Static Public Attributes

static List< GameModePresetList = new List<GameModePreset>()
 
static GameModePreset SinglePlayerCampaign
 
static GameModePreset MultiPlayerCampaign
 
static GameModePreset Tutorial
 
static GameModePreset Mission
 
static GameModePreset PvP
 
static GameModePreset TestMode
 
static GameModePreset Sandbox
 
static GameModePreset DevSandbox
 

Detailed Description

Definition at line 7 of file GameModePreset.cs.

Constructor & Destructor Documentation

◆ GameModePreset()

Barotrauma.GameModePreset.GameModePreset ( Identifier  identifier,
Type  type,
bool  isSinglePlayer = false,
bool  votable = true 
)

Definition at line 32 of file GameModePreset.cs.

Member Function Documentation

◆ Init()

static void Barotrauma.GameModePreset.Init ( )
static

Definition at line 46 of file GameModePreset.cs.

Member Data Documentation

◆ Description

readonly LocalizedString Barotrauma.GameModePreset.Description

Definition at line 23 of file GameModePreset.cs.

◆ DevSandbox

GameModePreset Barotrauma.GameModePreset.DevSandbox
static

Definition at line 18 of file GameModePreset.cs.

◆ GameModeType

readonly Type Barotrauma.GameModePreset.GameModeType

Definition at line 20 of file GameModePreset.cs.

◆ Identifier

readonly Identifier Barotrauma.GameModePreset.Identifier

Definition at line 25 of file GameModePreset.cs.

◆ IsSinglePlayer

readonly bool Barotrauma.GameModePreset.IsSinglePlayer

Definition at line 27 of file GameModePreset.cs.

◆ List

List<GameModePreset> Barotrauma.GameModePreset.List = new List<GameModePreset>()
static

Definition at line 9 of file GameModePreset.cs.

◆ Mission

GameModePreset Barotrauma.GameModePreset.Mission
static

Definition at line 14 of file GameModePreset.cs.

◆ MultiPlayerCampaign

GameModePreset Barotrauma.GameModePreset.MultiPlayerCampaign
static

Definition at line 12 of file GameModePreset.cs.

◆ Name

readonly LocalizedString Barotrauma.GameModePreset.Name

Definition at line 22 of file GameModePreset.cs.

◆ PvP

GameModePreset Barotrauma.GameModePreset.PvP
static

Definition at line 15 of file GameModePreset.cs.

◆ Sandbox

GameModePreset Barotrauma.GameModePreset.Sandbox
static

Definition at line 17 of file GameModePreset.cs.

◆ SinglePlayerCampaign

GameModePreset Barotrauma.GameModePreset.SinglePlayerCampaign
static

Definition at line 11 of file GameModePreset.cs.

◆ TestMode

GameModePreset Barotrauma.GameModePreset.TestMode
static

Definition at line 16 of file GameModePreset.cs.

◆ Tutorial

GameModePreset Barotrauma.GameModePreset.Tutorial
static

Definition at line 13 of file GameModePreset.cs.

◆ Votable

readonly bool Barotrauma.GameModePreset.Votable

Definition at line 30 of file GameModePreset.cs.