1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-26 18:21:04 +00:00

Add for async and documentation

This commit is contained in:
Xeno333 2025-06-07 15:28:15 -05:00
parent 5e018c4f5f
commit 90873d62cb
2 changed files with 3 additions and 0 deletions

View file

@ -109,6 +109,8 @@ of manually putting one, as different OSs use different delimiters. E.g.
* `handle:stop()` or `core.sound_stop(handle)`
* `core.get_mapgen_names([include_hidden=false])` -> table of map generator algorithms
registered in the core (possible in async calls)
* `core.get_mapgen_descriptions([include_hidden=false])` -> table of map generator descriptions,
in the same order as returned by `core.get_mapgen_names` registered in the core (possible in async calls)
* `core.get_cache_path()` -> path of cache
* `core.get_temp_path([param])` (possible in async calls)
* `param`=true: returns path to a newly created temporary file