1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

Merge branch 'fix_save_docs' into 'master'

Lua docs: correct save getters return types

See merge request OpenMW/openmw!4262
This commit is contained in:
psi29a 2024-07-22 22:16:01 +00:00
commit 5d3aa62e56

View file

@ -55,15 +55,15 @@
-- @field #list<#string> contentFiles -- @field #list<#string> contentFiles
--- ---
-- List of all saves for the given directory -- All the saves for the given directory
-- @function [parent=#menu] getSaves -- @function [parent=#menu] getSaves
-- @param #string directory name of the save directory (e. g. character) -- @param #string directory name of the save directory (e. g. character)
-- @return #list<#SaveInfo> -- @return #map<#string, #SaveInfo> map with save filenames as keys
--- ---
-- List of all available saves, grouped by directory -- List of all available saves, grouped by directory
-- @function [parent=#menu] getAllSaves -- @function [parent=#menu] getAllSaves
-- @return #map<#string, #list<#SaveInfo>> -- @return #map<#string, #map<#string, #SaveInfo>> map with directory names as keys, returning maps with save filenames as keys
--- ---
-- Exit the game -- Exit the game