REDNODE / GAME API

UserSettings

classnative name userSettingsUserSettingsnative

extends IScriptable › ISerializable

Methods 23

native func ConfirmChanges()
native func GetGroup(groupPath: CName) -> ref<ConfigGroup>
native func GetMenuIndex() -> Int32
native func GetRootGroup() -> ref<ConfigGroup>
native func GetUserSettingsLoadStatus() -> UserSettingsLoadStatus
native func GetVar(groupPath: CName, varName: CName) -> ref<ConfigVar>
native func HasGroup(groupPath: CName) -> Bool
native func HasVar(groupPath: CName, varName: CName) -> Bool
native func NeedsConfirmation() -> Bool
native func NeedsLoadLastCheckpoint() -> Bool
native func NeedsRestartToApply() -> Bool
native func RejectChanges()
native func RejectLoadLastCheckpointChanges()
native func RejectRestartToApply()
native func RequestConfirmationDialog()
native func RequestLoadLastCheckpointDialog()
native func RequestNeedsRestartDialog()
native func RequestRejectConfirmationDialog()
native func RequestRestoreDefaultDialog(isPreGame: Bool, onlyVisible: Bool, opt groupPath: CName)
native func RequestStartReplayTutorialDialog(settingsMain: ref<IScriptable>)
native func RestoreVarToDefault(groupPath: CName, varName: CName)
native func SetMenuIndex(index: Int32)
native func WasModifiedSinceLastSave() -> Bool