mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Protect per-player detached inventory actions
This commit is contained in:
@@ -43,6 +43,7 @@ public:
|
||||
Inventory *createDetachedInventory(const std::string &name, IItemDefManager *idef,
|
||||
const std::string &player = "");
|
||||
bool removeDetachedInventory(const std::string &name);
|
||||
bool checkDetachedInventoryAccess(const InventoryLocation &loc, const std::string &player) const;
|
||||
|
||||
void sendDetachedInventories(const std::string &peer_name, bool incremental,
|
||||
std::function<void(const std::string &, Inventory *)> apply_cb);
|
||||
|
Reference in New Issue
Block a user