From 0b5b32b026291d5bd8e47acebca10259a379fc1c Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 30 Apr 2018 17:42:51 +0100 Subject: MetaDataRef: Add contains() and get() (#7214) --- src/script/lua_api/l_storage.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/script/lua_api/l_storage.cpp') diff --git a/src/script/lua_api/l_storage.cpp b/src/script/lua_api/l_storage.cpp index 01810ca8b..280ec7266 100644 --- a/src/script/lua_api/l_storage.cpp +++ b/src/script/lua_api/l_storage.cpp @@ -134,6 +134,8 @@ void StorageRef::clearMeta() const char StorageRef::className[] = "StorageRef"; const luaL_Reg StorageRef::methods[] = { + luamethod(MetaDataRef, contains), + luamethod(MetaDataRef, get), luamethod(MetaDataRef, get_string), luamethod(MetaDataRef, set_string), luamethod(MetaDataRef, get_int), -- cgit v1.2.3