summaryrefslogtreecommitdiff
path: root/doc/menu_lua_api.txt
diff options
context:
space:
mode:
authorElijah Duffy <enduffy2014@outlook.com>2017-06-06 05:34:31 -0700
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-06-06 14:34:31 +0200
commitfee5171298606d928d0f718d8ec0eeb2cacc1e71 (patch)
tree68a73cebd3b4e676d1469287f175674aca780c7d /doc/menu_lua_api.txt
parentb3dfe5332cd345c7f33b8a3828649122145f7a12 (diff)
downloadminetest-fee5171298606d928d0f718d8ec0eeb2cacc1e71.tar.gz
minetest-fee5171298606d928d0f718d8ec0eeb2cacc1e71.tar.bz2
minetest-fee5171298606d928d0f718d8ec0eeb2cacc1e71.zip
Main Menu: Add get_clientmodpath API (#5912)
Add `core.get_clientmodpath` to main menu API (also possible in async calls).
Diffstat (limited to 'doc/menu_lua_api.txt')
-rw-r--r--doc/menu_lua_api.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index 074bc962d..a9392ff93 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -35,6 +35,8 @@ core.get_builtin_path()
^ returns path to builtin root
core.get_modpath() (possible in async calls)
^ returns path to global modpath
+core.get_clientmodpath() (possible in async calls)
+^ returns path to global client-side modpath
core.get_modstore_details(modid) (possible in async calls)
^ modid numeric id of mod in modstore
^ returns {
@@ -234,7 +236,7 @@ Limitations of Async operations
-Limited set of available functions
e.g. No access to functions modifying menu like core.start,core.close,
core.file_open_dialog
-
+
Class reference
----------------