Class Settings
- Namespace
- FrameOfReference.World.Config
- Assembly
- FrameOfReference.World.dll
Stores settings for the application
public sealed class Settings
- Inheritance
-
Settings
- Inherited Members
- Extension Methods
Fields
Controls
Stores settings for the user controls (mouse, keyboard, etc.).
public ControlsSettings Controls
Field Value
Display
Stores display settings (resolution, etc.). Changes here require the engine to be reset.
public DisplaySettings Display
Field Value
Editor
Stores settings for the game's editor.
public EditorSettings Editor
Field Value
General
Stores general game settings (UI language, difficulty level, etc.).
public GeneralSettings General
Field Value
Graphics
Stores graphics settings (effect details, etc.). Changes here don't require the engine to be reset.
public GraphicsSettings Graphics
Field Value
Properties
Current
The currently active set of settings
public static Settings Current { get; }
Property Value
Methods
Config()
Displays a configuration interface for the settings, allowing easy manipulation of values
public void Config()
EnableAutoSave()
Configures Current settings to be automatically saved when they are changed.
public static void EnableAutoSave()
LoadCurrent()
Loads the current settings from an automatically located XML file
[LuaGlobal(Name = "LoadSettings", Description = "Loads the current settings from an automatically located XML file")]
public static Settings LoadCurrent()
Returns
Remarks
Any errors are logged and then ignored.
SaveCurrent()
Saves the current settings to an automatically located XML file
[LuaGlobal(Name = "SaveSettings", Description = "Saves the current settings to an automatically located XML file")]
public static void SaveCurrent()
Remarks
Any errors are logged and then ignored.