X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=doc%2Fmenu_lua_api.txt;fp=doc%2Fmenu_lua_api.txt;h=9bc0c46bd555bb17a16ec2125ace70b03b7b09d3;hb=2b5075f0e2a8223cdb07f000b7e8f874416ed3a8;hp=b4b6eaba2a4e306d3fb56eb203aeb5a48f539876;hpb=2d5b7b5fb48d182fbab8e4ad69e9a552a3c07c6e;p=dragonfireclient.git diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index b4b6eaba2..9bc0c46bd 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -85,7 +85,9 @@ core.get_video_drivers() core.get_mapgen_names([include_hidden=false]) -> table of map generator algorithms registered in the core (possible in async calls) core.get_cache_path() -> path of cache -core.get_temp_path() -> path of temp folder +core.get_temp_path([param]) (possible in async calls) +^ param=true: returns path to a temporary file +^ otherwise: returns path to the temporary folder HTTP Requests