From 3899f83da879e11cf531c88514772b890d060721 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 2 Jun 2012 11:01:28 +0300 Subject: NodeMetaRef:{to,from}_table and lua_api.txt additions --- src/inventory.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/inventory.h') diff --git a/src/inventory.h b/src/inventory.h index 0f620e83c..411eabb09 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -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 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) -- cgit v1.2.3