1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Private nodemeta (#5702)

* Private node metadata that isn't sent to the client
This commit is contained in:
sfan5 2017-05-10 15:29:21 +02:00 committed by Loïc Blot
parent 6945f807ab
commit 071e114ffa
10 changed files with 114 additions and 27 deletions

View file

@ -73,6 +73,9 @@ private:
// get_inventory(self)
static int l_get_inventory(lua_State *L);
// mark_as_private(self, <string> or {<string>, <string>, ...})
static int l_mark_as_private(lua_State *L);
public:
NodeMetaRef(v3s16 p, ServerEnvironment *env);
NodeMetaRef(Metadata *meta);