mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
NodeMetaRef:{to,from}_table and lua_api.txt additions
This commit is contained in:
parent
5f3c70061d
commit
3899f83da8
6 changed files with 191 additions and 86 deletions
|
@ -262,6 +262,7 @@ public:
|
|||
InventoryList * addList(const std::string &name, u32 size);
|
||||
InventoryList * getList(const std::string &name);
|
||||
const InventoryList * getList(const std::string &name) const;
|
||||
std::vector<const InventoryList*> getLists();
|
||||
bool deleteList(const std::string &name);
|
||||
// A shorthand for adding items. Returns leftover item (possibly empty).
|
||||
ItemStack addItem(const std::string &listname, const ItemStack &newitem)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue