diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-06-02 11:01:28 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-03 22:31:01 +0300 |
commit | 3899f83da879e11cf531c88514772b890d060721 (patch) | |
tree | 2fa3533bf454568f6cdd2560b24ade78776a3837 /src/inventory.h | |
parent | 5f3c70061deea330a23be33164a34f675721d452 (diff) | |
download | minetest-3899f83da879e11cf531c88514772b890d060721.tar.gz minetest-3899f83da879e11cf531c88514772b890d060721.tar.bz2 minetest-3899f83da879e11cf531c88514772b890d060721.zip |
NodeMetaRef:{to,from}_table and lua_api.txt additions
Diffstat (limited to 'src/inventory.h')
-rw-r--r-- | src/inventory.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<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) |