aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_storage.cpp
diff options
context:
space:
mode:
authorJude Melton-Houghton <jwmhjwmh@gmail.com>2022-11-15 10:45:12 -0500
committerGitHub <noreply@github.com>2022-11-15 16:45:12 +0100
commitcd8a7fe47298be12620cab62be8cf0816fabb095 (patch)
treed667a204294e382cdf1d08ce8a77096778fc7fdd /src/script/lua_api/l_storage.cpp
parent1a045da0dd7f086a6ca689620aeb0fa28a1f6ce6 (diff)
downloadminetest-cd8a7fe47298be12620cab62be8cf0816fabb095.tar.xz
Add MetaDataRef:get_keys (#12841)
Diffstat (limited to 'src/script/lua_api/l_storage.cpp')
-rw-r--r--src/script/lua_api/l_storage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/lua_api/l_storage.cpp b/src/script/lua_api/l_storage.cpp
index 4b3863ca9..e1d47ba72 100644
--- a/src/script/lua_api/l_storage.cpp
+++ b/src/script/lua_api/l_storage.cpp
@@ -74,6 +74,7 @@ const luaL_Reg StorageRef::methods[] = {
luamethod(MetaDataRef, set_int),
luamethod(MetaDataRef, get_float),
luamethod(MetaDataRef, set_float),
+ luamethod(MetaDataRef, get_keys),
luamethod(MetaDataRef, to_table),
luamethod(MetaDataRef, from_table),
luamethod(MetaDataRef, equals),