#include <inventorymanager.h>
◆ Type
Enumerator |
---|
UNDEFINED | |
CURRENT_PLAYER | |
PLAYER | |
NODEMETA | |
DETACHED | |
◆ InventoryLocation()
InventoryLocation::InventoryLocation |
( |
| ) |
|
|
inline |
◆ applyCurrentPlayer()
void InventoryLocation::applyCurrentPlayer |
( |
const std::string & | name_ | ) |
|
|
inline |
◆ deSerialize() [1/2]
void InventoryLocation::deSerialize |
( |
const std::string & | s | ) |
|
◆ deSerialize() [2/2]
void InventoryLocation::deSerialize |
( |
std::istream & | is | ) |
|
References CURRENT_PLAYER, DETACHED, infostream, name, BasicStrfnd< T >::next(), NODEMETA, p, PLAYER, stoi, type, and UNDEFINED.
Referenced by ICraftAction::ICraftAction(), IDropAction::IDropAction(), IMoveAction::IMoveAction(), RollbackAction::applyRevert(), deSerialize(), RollbackAction::getPosition(), GUIFormSpecMenu::parseList(), and GUIFormSpecMenu::parseListRing().
◆ dump()
std::string InventoryLocation::dump |
( |
| ) |
const |
◆ operator!=()
◆ operator==()
◆ serialize()
void InventoryLocation::serialize |
( |
std::ostream & | os | ) |
const |
References CURRENT_PLAYER, DETACHED, FATAL_ERROR, name, NODEMETA, p, PLAYER, type, and UNDEFINED.
Referenced by IDropAction::apply(), IMoveAction::apply(), and dump().
◆ setCurrentPlayer()
void InventoryLocation::setCurrentPlayer |
( |
| ) |
|
|
inline |
◆ setDetached()
void InventoryLocation::setDetached |
( |
const std::string & | name_ | ) |
|
|
inline |
◆ setNodeMeta()
void InventoryLocation::setNodeMeta |
( |
const v3s16 & | p_ | ) |
|
|
inline |
◆ setPlayer()
void InventoryLocation::setPlayer |
( |
const std::string & | name_ | ) |
|
|
inline |
◆ setUndefined()
void InventoryLocation::setUndefined |
( |
| ) |
|
|
inline |
◆ name
std::string InventoryLocation::name |
Referenced by ServerInventoryManager::checkDetachedInventoryAccess(), deSerialize(), ScriptApiDetached::detached_inventory_AllowMove(), ScriptApiDetached::detached_inventory_AllowPut(), ScriptApiDetached::detached_inventory_AllowTake(), ScriptApiDetached::detached_inventory_OnMove(), ScriptApiDetached::detached_inventory_OnPut(), ScriptApiDetached::detached_inventory_OnTake(), Client::getInventory(), MockInventoryManager::getInventory(), ServerInventoryManager::getInventory(), InvRef::l_get_location(), operator==(), serialize(), setDetached(), ServerInventoryManager::setInventoryModified(), and setPlayer().
v3s16 InventoryLocation::p |
Referenced by deSerialize(), Client::getInventory(), ServerInventoryManager::getInventory(), RollbackAction::getPosition(), InvRef::l_get_location(), ScriptApiNodemeta::nodemeta_inventory_AllowMove(), ScriptApiNodemeta::nodemeta_inventory_AllowPut(), ScriptApiNodemeta::nodemeta_inventory_AllowTake(), ScriptApiNodemeta::nodemeta_inventory_OnMove(), ScriptApiNodemeta::nodemeta_inventory_OnPut(), ScriptApiNodemeta::nodemeta_inventory_OnTake(), operator==(), serialize(), ServerInventoryManager::setInventoryModified(), and setNodeMeta().
◆ type
Referenced by IMoveAction::allowMove(), IMoveAction::allowPut(), IMoveAction::allowTake(), IDropAction::apply(), IMoveAction::apply(), applyCurrentPlayer(), ServerInventoryManager::checkDetachedInventoryAccess(), deSerialize(), Client::getInventory(), MockInventoryManager::getInventory(), ServerInventoryManager::getInventory(), RollbackAction::getPosition(), InvRef::l_get_location(), IMoveAction::onMove(), IMoveAction::onPut(), IMoveAction::onTake(), operator==(), serialize(), setCurrentPlayer(), setDetached(), ServerInventoryManager::setInventoryModified(), setNodeMeta(), setPlayer(), and setUndefined().
The documentation for this struct was generated from the following files: