summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-06-28 14:06:34 +0000
committerPilzAdam <pilzadam@minetest.net>2013-06-28 14:15:48 +0000
commit280946ba836cde9516f9344f47561f3356bdf869 (patch)
treefb238ce650df6cf6df0545b90f4ebe2859fcbe41 /src/inventory.h
parent9e100bc42b5275299020ea8619e64f2e4aa76192 (diff)
downloadminetest-280946ba836cde9516f9344f47561f3356bdf869.tar.gz
minetest-280946ba836cde9516f9344f47561f3356bdf869.tar.bz2
minetest-280946ba836cde9516f9344f47561f3356bdf869.zip
Dont write player files all the time
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 676088b94..1a66a13a4 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -183,6 +183,7 @@ public:
InventoryList(const InventoryList &other);
InventoryList & operator = (const InventoryList &other);
+ bool operator == (const InventoryList &other);
const std::string &getName() const;
u32 getSize() const;
@@ -258,6 +259,7 @@ public:
Inventory(IItemDefManager *itemdef);
Inventory(const Inventory &other);
Inventory & operator = (const Inventory &other);
+ bool operator == (const Inventory &other);
void serialize(std::ostream &os) const;
void deSerialize(std::istream &is);