Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
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(), and GUIFormSpecMenu::updateSelectedItem().

+ Here is the caller graph for this function:

◆ setInventoryModified()

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

Reimplemented in MockInventoryManager, and ServerInventoryManager.

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

+ Here is the caller graph for this function:

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