diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-02-08 00:15:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-08 00:15:55 +0100 |
commit | ef6feca501fcf0d5a1fd2021f1d4df96a4533f65 (patch) | |
tree | 58361be1085c91222ab9c0cad507ca70a87dfe8e /src/script/lua_api/CMakeLists.txt | |
parent | 0680c47d6c7d3e98e2b96b823f8cc9ca76d5e7f8 (diff) | |
download | minetest-ef6feca501fcf0d5a1fd2021f1d4df96a4533f65.tar.gz minetest-ef6feca501fcf0d5a1fd2021f1d4df96a4533f65.tar.bz2 minetest-ef6feca501fcf0d5a1fd2021f1d4df96a4533f65.zip |
Add ModMetadata API (#5131)
* mod can create a ModMetadata object where store its values and retrieve it.
* Modmetadata object can only be fetched at mod loading
* Save when modified using same time as map interval or at server stop
* add helper function to get mod storage path
* ModMetadata has exactly same calls than all every other Metadata
Diffstat (limited to 'src/script/lua_api/CMakeLists.txt')
-rw-r--r-- | src/script/lua_api/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/lua_api/CMakeLists.txt b/src/script/lua_api/CMakeLists.txt index 070234eba..e82560696 100644 --- a/src/script/lua_api/CMakeLists.txt +++ b/src/script/lua_api/CMakeLists.txt @@ -15,6 +15,7 @@ set(common_SCRIPT_LUA_API_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/l_particles.cpp ${CMAKE_CURRENT_SOURCE_DIR}/l_rollback.cpp ${CMAKE_CURRENT_SOURCE_DIR}/l_server.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/l_storage.cpp ${CMAKE_CURRENT_SOURCE_DIR}/l_util.cpp ${CMAKE_CURRENT_SOURCE_DIR}/l_vmanip.cpp ${CMAKE_CURRENT_SOURCE_DIR}/l_settings.cpp |