#include <inventorymanager.h>
◆ IDropAction() [1/2]
IDropAction::IDropAction |
( |
| ) |
|
|
default |
◆ IDropAction() [2/2]
IDropAction::IDropAction |
( |
std::istream & | is | ) |
|
◆ apply()
Implements InventoryAction.
References count, ItemStack::count, InventoryLocation::DETACHED, InventoryLocation::dump(), ItemStack::empty(), errorstream, MoveAction::from_i, MoveAction::from_inv, MoveAction::from_list, ServerActiveObject::getBasePosition(), InventoryManager::getInventory(), InventoryList::getItem(), Inventory::getList(), infostream, InventoryLocation::NODEMETA, InventoryLocation::PLAYER, PLAYER_TO_SA, IRollbackManager::reportAction(), InventoryList::resizeLock(), IGameDef::rollback(), InventoryLocation::serialize(), InventoryManager::setInventoryModified(), InventoryList::setModified(), RollbackAction::setModifyInventoryStack(), InventoryList::takeItem(), and InventoryLocation::type.
◆ clientApply()
◆ getType()
IAction IDropAction::getType |
( |
| ) |
const |
|
inlinevirtual |
◆ serialize()
void IDropAction::serialize |
( |
std::ostream & | os | ) |
const |
|
inlinevirtual |
◆ count
u16 IDropAction::count = 0 |
The documentation for this struct was generated from the following files: