UserSettings

Documents the UserSettings class and its functions.

NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking UserSettings

To invoke the user settings, use the following Global function:

us = Game.UserSettings()

Sub-functions

ConfirmChanges

ConfirmChanges();

GetGroup

GetGroup(groupPath : CName) : ref:ConfigGroup;

GetMenuIndex

GetMenuIndex() : Int32;

GetRootGroup

GetRootGroup() : ref:ConfigGroup;

GetUserSettingsLoadStatus

GetUserSettingsLoadStatus() : UserSettingsLoadStatus;

GetVar

GetVar(groupPath : CName, varName : CName) : ref:ConfigVar;

HasGroup

HasGroup(groupPath : CName) : Bool;

HasVar

HasVar(groupPath : CName, varName : CName) : Bool;

NeedsConfirmation

NeedsConfirmation() : Bool;

NeedsLoadLastCheckpoint

NeedsLoadLastCheckpoint() : Bool;

NeedsRestartToApply

NeedsRestartToApply() : Bool;

RejectChanges

RejectChanges();

RequestConfirmationDialog

RequestConfirmationDialog();

RequestLoadLastCheckpointDialog

RequestLoadLastCheckpointDialog();

RequestNeedsRestartDialog

RequestNeedsRestartDialog();

RequestRestoreDefaultDialog

RequestRestoreDefaultDialog(isPreGame : Bool, onlyVisible : Bool, optional groupPath : CName);

RestoreVarToDefault

RestoreVarToDefault(groupPath : CName, varName : CName);

SetMenuIndex

SetMenuIndex(index : Int32);

WasModifiedSinceLastSave

WasModifiedSinceLastSave() : Bool;

Last updated