#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(), ServerActiveObject::getDescription(), InventoryManager::getInventory(), InventoryList::getItem(), Inventory::getList(), InventoryList::getSize(), infostream, InventoryLocation::NODEMETA, InventoryLocation::PLAYER, PLAYER_TO_SA, IRollbackManager::reportAction(), InventoryList::resizeLock(), IGameDef::rollback(), InventoryLocation::serialize(), InventoryManager::setInventoryModified(), InventoryList::setModified(), RollbackAction::setModifyInventoryStack(), InventoryList::takeItem(), InventoryLocation::type, and warningstream.
◆ clientApply()
Implements InventoryAction.
References ItemStack::ItemStack(), InventoryList::changeItem(), count, MoveAction::from_i, MoveAction::from_inv, MoveAction::from_list, InventoryManager::getInventory(), Inventory::getList(), InventoryLocation::setCurrentPlayer(), InventoryManager::setInventoryModified(), and InventoryList::takeItem().
◆ 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: