API:ModulesSaveSettings
From RoR Wiki
UI Lua API · Module functions
Version: WAR 1.4.8
Writes the settings of all loaded UI modules to disk now.
ModulesSaveSettings()
Arguments
None.
Returns
Nothing.
Details
- For every loaded module the client stores its windows' current settings, then writes the module's settings file and its saved variables into the folder of the active UI profile.
- The stock layout editor calls it to force the files to be written at once (see the example).
- Arguments are not checked; anything passed is ignored.
Errors
None.
Example
From easystem_layouteditor/source/layouteditor.lua:
ModulesSaveSettings() -- Force the settings files to be written to disk.
