Minetest  5.4.0
InventoryManager Class Reference

#include <inventorymanager.h>

+ Inheritance diagram for InventoryManager:

Public Member Functions

 InventoryManager ()=default
 
virtual ~InventoryManager ()=default
 
virtual InventorygetInventory (const InventoryLocation &loc)
 
virtual void setInventoryModified (const InventoryLocation &loc)
 
virtual void inventoryAction (InventoryAction *a)
 

Constructor & Destructor Documentation

◆ InventoryManager()

InventoryManager::InventoryManager ( )
default

◆ ~InventoryManager()

virtual InventoryManager::~InventoryManager ( )
virtualdefault

Member Function Documentation

◆ getInventory()

virtual Inventory* InventoryManager::getInventory ( const InventoryLocation loc)
inlinevirtual

◆ inventoryAction()

virtual void InventoryManager::inventoryAction ( InventoryAction a)
inlinevirtual

Reimplemented in Client.

Referenced by GUIFormSpecMenu::OnEvent().

+ Here is the caller graph for this function:

◆ setInventoryModified()

virtual void InventoryManager::setInventoryModified ( const InventoryLocation loc)
inlinevirtual

Reimplemented in ServerInventoryManager.

Referenced by IMoveAction::apply(), IDropAction::apply(), ICraftAction::apply(), RollbackAction::applyRevert(), IMoveAction::clientApply(), and IDropAction::clientApply().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: