]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - doc/menu_lua_api.txt
Move archive extraction in content store to async job
[dragonfireclient.git] / doc / menu_lua_api.txt
index b4b6eaba2a4e306d3fb56eb203aeb5a48f539876..9bc0c46bd555bb17a16ec2125ace70b03b7b09d3 100644 (file)
@@ -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