lua: inventory.clone

This commit is contained in:
MihailRis 2024-02-19 03:51:09 +03:00
parent 60902e69ba
commit cac963bd7b
5 changed files with 29 additions and 0 deletions

View file

@ -36,6 +36,8 @@ public:
/* Get inventory by id (works with both real and virtual)*/
std::shared_ptr<Inventory> get(int64_t id);
std::shared_ptr<Inventory> clone(int64_t id);
const inventories_map& getMap() const;
};