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

Dont write player files all the time

This commit is contained in:
PilzAdam 2013-06-28 14:06:34 +00:00
parent 9e100bc42b
commit 280946ba83
5 changed files with 71 additions and 1 deletions

View file

@ -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);