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:
parent
9e100bc42b
commit
280946ba83
5 changed files with 71 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue