Space Engineers
Classes | Public Types | Public Member Functions | Properties | List of all members
Sandbox.Engine.Utils.MyConfig Class Reference
Inheritance diagram for Sandbox.Engine.Utils.MyConfig:
Sandbox.Engine.Utils.MyConfigBase VRage.Game.ModAPI.IMyConfig

Classes

struct  MyDebugInputData
 

Public Types

enum  LowMemSwitch { LowMemSwitch.ARMED = 0, LowMemSwitch.TRIGGERED, LowMemSwitch.USER_SAID_NO }
 
enum  NewsletterStatus {
  NewsletterStatus.Unknown = 0, NewsletterStatus.NoFeedback, NewsletterStatus.NotInterested, NewsletterStatus.EmailNotConfirmed,
  NewsletterStatus.EmailConfirmed
}
 

Public Member Functions

 MyConfig (string fileName)
 
bool IsSetToLowQuality ()
 
void SetToLowQuality ()
 
- Public Member Functions inherited from Sandbox.Engine.Utils.MyConfigBase
 MyConfigBase (string fileName)
 
void Save ()
 
void Load ()
 

Properties

bool FirstTimeRun [get, set]
 
bool SyncRendering [get, set]
 
bool NeedShowBattleTutorialQuestion [get, set]
 
MyRenderQualityEnum Dx9RenderQuality [get, set]
 
MyRenderQualityEnum ModelQuality [get, set]
 
MyRenderQualityEnum VoxelQuality [get, set]
 
bool RenderInterpolation [get, set]
 
float GrassDensityFactor [get, set]
 
float VegetationDrawDistance [get, set]
 
float FieldOfView [get, set]
 
MyAntialiasingMode AntialiasingMode [get, set]
 
MyShadowsQuality ShadowQuality [get, set]
 
bool AmbientOcclusionEnabled [get, set]
 
MyTextureQuality TextureQuality [get, set]
 
MyTextureAnisoFiltering AnisotropicFiltering [get, set]
 
MyFoliageDetails FoliageDetails [get, set]
 
int ScreenWidth [get, set]
 
int ScreenHeight [get, set]
 
int VideoAdapter [get, set]
 
MyWindowModeEnum WindowMode [get, set]
 
bool CaptureMouse [get, set]
 
bool VerticalSync [get, set]
 
int RefreshRate [get, set]
 
bool HardwareCursor [get, set]
 
bool EnableDamageEffects [get, set]
 
float GameVolume [get, set]
 
float MusicVolume [get, set]
 
float VoiceChatVolume [get, set]
 
bool ControlsHints [get, set]
 
bool RotationHints [get, set]
 
bool AnimatedRotation [get, set]
 
bool ShowBuildingSizeHint [get, set]
 
bool ShowCrosshair [get, set]
 
bool DisableHeadbob [get, set]
 
float ScreenshotSizeMultiplier [get, set]
 
MyLanguagesEnum Language [get, set]
 
string Skin [get, set]
 
SerializableDictionary< string, object > ControlsGeneral [get, set]
 
SerializableDictionary< string, object > ControlsButtons [get, set]
 
SerializableDictionary< string, MyDebugInputDataDebugInputComponents [get, set]
 
MyDebugComponent.MyDebugComponentInfoState DebugComponentsInfo [get, set]
 
bool MinimalHud [get, set]
 
bool MemoryLimits [get, set]
 
bool CubeBuilderUseSymmetry [get, set]
 
int CubeBuilderBuildingMode [get, set]
 
bool MultiplayerShowCompatible [get, set]
 
bool CompressSaveGames [get, set]
 
bool ShowPlayerNamesOnHud [get, set]
 
bool ReleasingAltResetsCamera [get, set]
 
bool EnablePerformanceWarnings [get, set]
 
int LastCheckedVersion [get, set]
 
float UIOpacity [get, set]
 
float UIBkOpacity [get, set]
 
List< string > TutorialsFinished [get, set]
 
bool HudWarnings [get, set]
 
bool EnableVoiceChat [get, set]
 
bool EnableMuteWhenNotInFocus [get, set]
 
bool EnableDynamicMusic [get, set]
 
bool ShipSoundsAreBasedOnSpeed [get, set]
 
bool EnableReverb [get, set]
 
MyStringId GraphicsRenderer [get, set]
 
HashSet< ulong > MutedPlayers [get, set]
 
HashSet< ulong > DontSendVoicePlayers [get, set]
 
LowMemSwitch LowMemSwitchToLow [get, set]
 
NewsletterStatus NewsletterCurrentStatus [get, set]
 
- Properties inherited from VRage.Game.ModAPI.IMyConfig
MyTextureAnisoFiltering AnisotropicFiltering [get]
 
MyAntialiasingMode AntialiasingMode [get]
 
bool CompressSaveGames [get]
 
SerializableDictionary< string, object > ControlsButtons [get]
 
SerializableDictionary< string, object > ControlsGeneral [get]
 
bool ControlsHints [get]
 
int CubeBuilderBuildingMode [get]
 
bool CubeBuilderUseSymmetry [get]
 
SerializableDictionary< string, object > DebugInputComponents [get]
 
bool DisableHeadbob [get]
 
bool EnableDamageEffects [get]
 
float FieldOfView [get]
 
MyFoliageDetails FoliageDetails [get]
 
float GameVolume [get]
 
bool HardwareCursor [get]
 
bool HudWarnings [get]
 
MyLanguagesEnum Language [get]
 
bool MemoryLimits [get]
 
bool MinimalHud [get]
 
float MusicVolume [get]
 
int RefreshRate [get]
 
bool RenderInterpolation [get]
 
MyRenderQualityEnum RenderQuality [get]
 
MyGraphicsRenderer GraphicsRenderer [get]
 
bool RotationHints [get]
 
int ScreenHeight [get]
 
int ScreenWidth [get]
 
MyShadowsQuality ShadowQuality [get]
 
bool AmbientOcclusionEnabled [get]
 
bool ShowCrosshair [get]
 
bool ShowPlayerNamesOnHud [get]
 
MyTextureQuality TextureQuality [get]
 
bool VerticalSync [get]
 
int VideoAdapter [get]
 
MyWindowModeEnum WindowMode [get]
 
bool CaptureMouse [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Sandbox.Engine.Utils.MyConfigBase
string GetParameterValue (string parameterName)
 
SerializableDictionary< string, object > GetParameterValueDictionary (string parameterName)
 
GetParameterValueT< T > (string parameterName)
 
Vector3I GetParameterValueVector3I (string parameterName)
 
void SetParameterValue (string parameterName, string value)
 
void SetParameterValue (string parameterName, float value)
 
void SetParameterValue (string parameterName, bool?value)
 
void SetParameterValue (string parameterName, int value)
 
void SetParameterValue (string parameterName, int?value)
 
void SetParameterValue (string parameterName, Vector3I value)
 
void RemoveParameterValue (string parameterName)
 
GetOptionalEnum< T > (string name)
 
void SetOptionalEnum< T > (string name, T?value)
 
- Protected Attributes inherited from Sandbox.Engine.Utils.MyConfigBase
readonly SerializableDictionary< string, object > m_values = new SerializableDictionary<string, object>()
 

Detailed Description

Definition at line 41 of file MyConfig.cs.

Member Enumeration Documentation

Enumerator
ARMED 
TRIGGERED 
USER_SAID_NO 

Definition at line 113 of file MyConfig.cs.

Enumerator
Unknown 
NoFeedback 
NotInterested 
EmailNotConfirmed 
EmailConfirmed 

Definition at line 120 of file MyConfig.cs.

Constructor & Destructor Documentation

Sandbox.Engine.Utils.MyConfig.MyConfig ( string  fileName)
inline

Definition at line 129 of file MyConfig.cs.

Member Function Documentation

bool Sandbox.Engine.Utils.MyConfig.IsSetToLowQuality ( )
inline

Definition at line 1031 of file MyConfig.cs.

void Sandbox.Engine.Utils.MyConfig.SetToLowQuality ( )
inline

Definition at line 1044 of file MyConfig.cs.

Property Documentation

bool Sandbox.Engine.Utils.MyConfig.AmbientOcclusionEnabled
getset

Definition at line 276 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.AnimatedRotation
getset

Definition at line 484 of file MyConfig.cs.

MyTextureAnisoFiltering Sandbox.Engine.Utils.MyConfig.AnisotropicFiltering
getset

Definition at line 288 of file MyConfig.cs.

MyAntialiasingMode Sandbox.Engine.Utils.MyConfig.AntialiasingMode
getset

Definition at line 264 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.CaptureMouse
getset

Definition at line 368 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.CompressSaveGames
getset

Definition at line 775 of file MyConfig.cs.

SerializableDictionary<string, object> Sandbox.Engine.Utils.MyConfig.ControlsButtons
getset

Definition at line 609 of file MyConfig.cs.

SerializableDictionary<string, object> Sandbox.Engine.Utils.MyConfig.ControlsGeneral
getset

Definition at line 592 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.ControlsHints
getset

Definition at line 460 of file MyConfig.cs.

int Sandbox.Engine.Utils.MyConfig.CubeBuilderBuildingMode
getset

Definition at line 749 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.CubeBuilderUseSymmetry
getset

Definition at line 736 of file MyConfig.cs.

MyDebugComponent.MyDebugComponentInfoState Sandbox.Engine.Utils.MyConfig.DebugComponentsInfo
getset

Definition at line 689 of file MyConfig.cs.

SerializableDictionary<string, MyDebugInputData> Sandbox.Engine.Utils.MyConfig.DebugInputComponents
getset

Definition at line 668 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.DisableHeadbob
getset

Definition at line 520 of file MyConfig.cs.

HashSet<ulong> Sandbox.Engine.Utils.MyConfig.DontSendVoicePlayers
getset

Definition at line 995 of file MyConfig.cs.

MyRenderQualityEnum Sandbox.Engine.Utils.MyConfig.Dx9RenderQuality
getset

Definition at line 172 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.EnableDamageEffects
getset

Definition at line 409 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.EnableDynamicMusic
getset

Definition at line 865 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.EnableMuteWhenNotInFocus
getset

Definition at line 859 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.EnablePerformanceWarnings
getset

Definition at line 800 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.EnableReverb
getset

Definition at line 877 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.EnableVoiceChat
getset

Definition at line 853 of file MyConfig.cs.

float Sandbox.Engine.Utils.MyConfig.FieldOfView
getset

Definition at line 241 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.FirstTimeRun
getset

Definition at line 135 of file MyConfig.cs.

MyFoliageDetails Sandbox.Engine.Utils.MyConfig.FoliageDetails
getset

Definition at line 294 of file MyConfig.cs.

float Sandbox.Engine.Utils.MyConfig.GameVolume
getset

Definition at line 423 of file MyConfig.cs.

MyStringId Sandbox.Engine.Utils.MyConfig.GraphicsRenderer
getset

Definition at line 883 of file MyConfig.cs.

float Sandbox.Engine.Utils.MyConfig.GrassDensityFactor
getset

Definition at line 214 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.HardwareCursor
getset

Definition at line 394 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.HudWarnings
getset

Definition at line 847 of file MyConfig.cs.

MyLanguagesEnum Sandbox.Engine.Utils.MyConfig.Language
getset

Definition at line 551 of file MyConfig.cs.

int Sandbox.Engine.Utils.MyConfig.LastCheckedVersion
getset

Definition at line 806 of file MyConfig.cs.

LowMemSwitch Sandbox.Engine.Utils.MyConfig.LowMemSwitchToLow
getset

Definition at line 1007 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.MemoryLimits
getset

Definition at line 723 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.MinimalHud
getset

Definition at line 710 of file MyConfig.cs.

MyRenderQualityEnum Sandbox.Engine.Utils.MyConfig.ModelQuality
getset

Definition at line 189 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.MultiplayerShowCompatible
getset

Definition at line 762 of file MyConfig.cs.

float Sandbox.Engine.Utils.MyConfig.MusicVolume
getset

Definition at line 436 of file MyConfig.cs.

HashSet<ulong> Sandbox.Engine.Utils.MyConfig.MutedPlayers
getset

Definition at line 941 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.NeedShowBattleTutorialQuestion
getset

Definition at line 159 of file MyConfig.cs.

NewsletterStatus Sandbox.Engine.Utils.MyConfig.NewsletterCurrentStatus
getset

Definition at line 1020 of file MyConfig.cs.

int Sandbox.Engine.Utils.MyConfig.RefreshRate
getset

Definition at line 388 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.ReleasingAltResetsCamera
getset

Definition at line 794 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.RenderInterpolation
getset

Definition at line 201 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.RotationHints
getset

Definition at line 472 of file MyConfig.cs.

int Sandbox.Engine.Utils.MyConfig.ScreenHeight
getset

Definition at line 318 of file MyConfig.cs.

float Sandbox.Engine.Utils.MyConfig.ScreenshotSizeMultiplier
getset

Definition at line 532 of file MyConfig.cs.

int Sandbox.Engine.Utils.MyConfig.ScreenWidth
getset

Definition at line 312 of file MyConfig.cs.

MyShadowsQuality Sandbox.Engine.Utils.MyConfig.ShadowQuality
getset

Definition at line 270 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.ShipSoundsAreBasedOnSpeed
getset

Definition at line 871 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.ShowBuildingSizeHint
getset

Definition at line 496 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.ShowCrosshair
getset

Definition at line 508 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.ShowPlayerNamesOnHud
getset

Definition at line 788 of file MyConfig.cs.

string Sandbox.Engine.Utils.MyConfig.Skin
getset

Definition at line 573 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.SyncRendering
getset

Definition at line 147 of file MyConfig.cs.

MyTextureQuality Sandbox.Engine.Utils.MyConfig.TextureQuality
getset

Definition at line 282 of file MyConfig.cs.

List<string> Sandbox.Engine.Utils.MyConfig.TutorialsFinished
getset

Definition at line 831 of file MyConfig.cs.

float Sandbox.Engine.Utils.MyConfig.UIBkOpacity
getset

Definition at line 825 of file MyConfig.cs.

float Sandbox.Engine.Utils.MyConfig.UIOpacity
getset

Definition at line 819 of file MyConfig.cs.

float Sandbox.Engine.Utils.MyConfig.VegetationDrawDistance
getset

Definition at line 228 of file MyConfig.cs.

bool Sandbox.Engine.Utils.MyConfig.VerticalSync
getset

Definition at line 382 of file MyConfig.cs.

int Sandbox.Engine.Utils.MyConfig.VideoAdapter
getset

Definition at line 324 of file MyConfig.cs.

float Sandbox.Engine.Utils.MyConfig.VoiceChatVolume
getset

Definition at line 448 of file MyConfig.cs.

MyRenderQualityEnum Sandbox.Engine.Utils.MyConfig.VoxelQuality
getset

Definition at line 195 of file MyConfig.cs.

MyWindowModeEnum Sandbox.Engine.Utils.MyConfig.WindowMode
getset

Definition at line 330 of file MyConfig.cs.


The documentation for this class was generated from the following file: