Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:ModulesSaveSettings

From RoR Wiki
Revision as of 19:47, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

See also