Barotrauma Client Doc
Barotrauma.GameSettings.Config Struct Reference

Classes

struct  AudioSettings
 
struct  GraphicsSettings
 
struct  InventoryKeyMapping
 
struct  KeyMapping
 

Static Public Member Functions

static Config GetDefault ()
 
static Config FromElement (XElement element, in Config? fallback=null)
 

Public Attributes

LanguageIdentifier Language
 
bool VerboseLogging
 
bool SaveDebugConsoleLogs
 
string SavePath
 
int SubEditorUndoBuffer
 
int MaxAutoSaves
 
int AutoSaveIntervalSeconds
 
Color SubEditorBackground
 
bool EnableSplashScreen
 
bool PauseOnFocusLost
 
float AimAssistAmount
 
bool EnableMouseLook
 
EnemyHealthBarMode ShowEnemyHealthBars
 
bool ChatOpen
 
bool CrewMenuOpen
 
bool ShowOffensiveServerPrompt
 
bool TutorialSkipWarning
 
int CorpseDespawnDelay
 
int CorpsesPerSubDespawnThreshold
 
bool UseDualModeSockets
 
bool DisableInGameHints
 
bool EnableSubmarineAutoSave
 
Identifier QuickStartSub
 
string RemoteMainMenuContentUrl
 
XElement SavedCampaignSettings
 
bool DisableGlobalSpamList
 
GraphicsSettings Graphics
 
AudioSettings Audio
 
KeyMapping KeyMap
 
InventoryKeyMapping InventoryKeyMap
 

Static Public Attributes

const float DefaultAimAssist = 0.05f
 

Properties

bool UseSteamMatchmaking [get]
 
bool RequireSteamAuthentication [get]
 

Detailed Description

Definition at line 47 of file GameSettings.cs.

Member Function Documentation

◆ FromElement()

static Config Barotrauma.GameSettings.Config.FromElement ( XElement  element,
in Config fallback = null 
)
static

Definition at line 105 of file GameSettings.cs.

◆ GetDefault()

static Config Barotrauma.GameSettings.Config.GetDefault ( )
static

Definition at line 51 of file GameSettings.cs.

Member Data Documentation

◆ AimAssistAmount

float Barotrauma.GameSettings.Config.AimAssistAmount

Definition at line 144 of file GameSettings.cs.

◆ Audio

AudioSettings Barotrauma.GameSettings.Config.Audio

Definition at line 294 of file GameSettings.cs.

◆ AutoSaveIntervalSeconds

int Barotrauma.GameSettings.Config.AutoSaveIntervalSeconds

Definition at line 140 of file GameSettings.cs.

◆ ChatOpen

bool Barotrauma.GameSettings.Config.ChatOpen

Definition at line 147 of file GameSettings.cs.

◆ CorpseDespawnDelay

int Barotrauma.GameSettings.Config.CorpseDespawnDelay

Definition at line 151 of file GameSettings.cs.

◆ CorpsesPerSubDespawnThreshold

int Barotrauma.GameSettings.Config.CorpsesPerSubDespawnThreshold

Definition at line 152 of file GameSettings.cs.

◆ CrewMenuOpen

bool Barotrauma.GameSettings.Config.CrewMenuOpen

Definition at line 148 of file GameSettings.cs.

◆ DefaultAimAssist

const float Barotrauma.GameSettings.Config.DefaultAimAssist = 0.05f
static

Definition at line 49 of file GameSettings.cs.

◆ DisableGlobalSpamList

bool Barotrauma.GameSettings.Config.DisableGlobalSpamList

Definition at line 160 of file GameSettings.cs.

◆ DisableInGameHints

bool Barotrauma.GameSettings.Config.DisableInGameHints

Definition at line 154 of file GameSettings.cs.

◆ EnableMouseLook

bool Barotrauma.GameSettings.Config.EnableMouseLook

Definition at line 145 of file GameSettings.cs.

◆ EnableSplashScreen

bool Barotrauma.GameSettings.Config.EnableSplashScreen

Definition at line 142 of file GameSettings.cs.

◆ EnableSubmarineAutoSave

bool Barotrauma.GameSettings.Config.EnableSubmarineAutoSave

Definition at line 155 of file GameSettings.cs.

◆ Graphics

GraphicsSettings Barotrauma.GameSettings.Config.Graphics

Definition at line 232 of file GameSettings.cs.

◆ InventoryKeyMap

InventoryKeyMapping Barotrauma.GameSettings.Config.InventoryKeyMap

Definition at line 494 of file GameSettings.cs.

◆ KeyMap

KeyMapping Barotrauma.GameSettings.Config.KeyMap

Definition at line 445 of file GameSettings.cs.

◆ Language

LanguageIdentifier Barotrauma.GameSettings.Config.Language

Definition at line 134 of file GameSettings.cs.

◆ MaxAutoSaves

int Barotrauma.GameSettings.Config.MaxAutoSaves

Definition at line 139 of file GameSettings.cs.

◆ PauseOnFocusLost

bool Barotrauma.GameSettings.Config.PauseOnFocusLost

Definition at line 143 of file GameSettings.cs.

◆ QuickStartSub

Identifier Barotrauma.GameSettings.Config.QuickStartSub

Definition at line 156 of file GameSettings.cs.

◆ RemoteMainMenuContentUrl

string Barotrauma.GameSettings.Config.RemoteMainMenuContentUrl

Definition at line 157 of file GameSettings.cs.

◆ SavedCampaignSettings

XElement Barotrauma.GameSettings.Config.SavedCampaignSettings

Definition at line 159 of file GameSettings.cs.

◆ SaveDebugConsoleLogs

bool Barotrauma.GameSettings.Config.SaveDebugConsoleLogs

Definition at line 136 of file GameSettings.cs.

◆ SavePath

string Barotrauma.GameSettings.Config.SavePath

Definition at line 137 of file GameSettings.cs.

◆ ShowEnemyHealthBars

EnemyHealthBarMode Barotrauma.GameSettings.Config.ShowEnemyHealthBars

Definition at line 146 of file GameSettings.cs.

◆ ShowOffensiveServerPrompt

bool Barotrauma.GameSettings.Config.ShowOffensiveServerPrompt

Definition at line 149 of file GameSettings.cs.

◆ SubEditorBackground

Color Barotrauma.GameSettings.Config.SubEditorBackground

Definition at line 141 of file GameSettings.cs.

◆ SubEditorUndoBuffer

int Barotrauma.GameSettings.Config.SubEditorUndoBuffer

Definition at line 138 of file GameSettings.cs.

◆ TutorialSkipWarning

bool Barotrauma.GameSettings.Config.TutorialSkipWarning

Definition at line 150 of file GameSettings.cs.

◆ UseDualModeSockets

bool Barotrauma.GameSettings.Config.UseDualModeSockets

Definition at line 153 of file GameSettings.cs.

◆ VerboseLogging

bool Barotrauma.GameSettings.Config.VerboseLogging

Definition at line 135 of file GameSettings.cs.

Property Documentation

◆ RequireSteamAuthentication

bool Barotrauma.GameSettings.Config.RequireSteamAuthentication
get

Definition at line 172 of file GameSettings.cs.

◆ UseSteamMatchmaking

bool Barotrauma.GameSettings.Config.UseSteamMatchmaking
get

Definition at line 171 of file GameSettings.cs.