Cyber Engine Tweaks
Modding
Dictionary
Other
External docs
Other Wikis
Powered By GitBook
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:
1
us = Game.UserSettings()
Copied!

Sub-functions

ConfirmChanges

ConfirmChanges
Info & Usage
1
ConfirmChanges();
Copied!

GetGroup

GetGroup
Info & Usage
1
GetGroup(groupPath : CName) : ref:ConfigGroup;
Copied!

GetMenuIndex

GetMenuIndex
Info & Usage
1
GetMenuIndex() : Int32;
Copied!

GetRootGroup

GetRootGroup
Info & Usage
1
GetRootGroup() : ref:ConfigGroup;
Copied!

GetUserSettingsLoadStatus

GetUserSettingsLoadStatus
Info & Usage
1
GetUserSettingsLoadStatus() : UserSettingsLoadStatus;
Copied!

GetVar

GetVar
Info & Usage
1
GetVar(groupPath : CName, varName : CName) : ref:ConfigVar;
Copied!

HasGroup

HasGroup
Info & Usage
1
HasGroup(groupPath : CName) : Bool;
Copied!

HasVar

HasVar
Info & Usage
1
HasVar(groupPath : CName, varName : CName) : Bool;
Copied!

NeedsConfirmation

NeedsConfirmation
Info & Usage
1
NeedsConfirmation() : Bool;
Copied!

NeedsLoadLastCheckpoint

NeedsLoadLastCheckpoint
Info & Usage
1
NeedsLoadLastCheckpoint() : Bool;
Copied!

NeedsRestartToApply

NeedsRestartToApply
Info & Usage
1
NeedsRestartToApply() : Bool;
Copied!

RejectChanges

RejectChanges
Info & Usage
1
RejectChanges();
Copied!

RequestConfirmationDialog

RequestConfirmationDialog
Info & Usage
1
RequestConfirmationDialog();
Copied!

RequestLoadLastCheckpointDialog

RequestLoadLastCheckpointDialog
Info & Usage
1
RequestLoadLastCheckpointDialog();
Copied!

RequestNeedsRestartDialog

RequestNeedsRestartDialog
Info & Usage
1
RequestNeedsRestartDialog();
Copied!

RequestRestoreDefaultDialog

RequestRestoreDefaultDialog
Info & Usage
1
RequestRestoreDefaultDialog(isPreGame : Bool, onlyVisible : Bool, optional groupPath : CName);
Copied!

RestoreVarToDefault

RestoreVarToDefault
Info & Usage
1
RestoreVarToDefault(groupPath : CName, varName : CName);
Copied!

SetMenuIndex

SetMenuIndex
Info & Usage
1
SetMenuIndex(index : Int32);
Copied!

WasModifiedSinceLastSave

WasModifiedSinceLastSave
Info & Usage
1
WasModifiedSinceLastSave() : Bool;
Copied!
Last modified 9mo ago