DIFF

class GameOptionsSource

GameOptions Managed

All members, including inherited

Methods 9

proto native void Apply()

Tests, Applies every option and save config with options to file, see OptionsAccess::Test, OptionsAccess::Apply

Referenced by OptionsMenu.Apply()
proto native void Revert()

Load config with options and Revert every option, see OptionsAccess::Revert

proto native void Test()

Tests every option, see OptionsAccess::Test

proto native OptionsAccess GetOption(int index)

Get option by index

index

Returns: OptionsAccess

proto native int GetOptionsCount()

Registered options count

Returns: number of options

proto native int NeedRestart()

Checks if any option is changed and needs restart, see OptionsAccess::IsChanged, OptionsAccess::NeedRestart

Returns: 1 if such option was found, 0 othewise

Referenced by OptionsMenu.Apply()
proto native int IsChanged()

Checks if any option is changed, see OptionsAccess::IsChanged

Returns: 1 if such option was found, 0 othewise

proto native void Initialize()

Initializes option values with the current users settings