#include "content_nodemeta.h"#include "nodemetadata.h"#include "nodetimer.h"#include "inventory.h"#include "log.h"#include "debug.h"#include "serialization.h"#include "util/serialize.h"#include "util/string.h"#include "constants.h"#include <sstream>
Include dependency graph for content_nodemeta.cpp:Macros | |
| #define | NODEMETA_GENERIC 1 |
| #define | NODEMETA_SIGN 14 |
| #define | NODEMETA_CHEST 15 |
| #define | NODEMETA_FURNACE 16 |
| #define | NODEMETA_LOCKABLE_CHEST 17 |
Functions | |
| static bool | content_nodemeta_deserialize_legacy_body (std::istream &is, s16 id, NodeMetadata *meta) |
| static bool | content_nodemeta_deserialize_legacy_meta (std::istream &is, NodeMetadata *meta) |
| void | content_nodemeta_deserialize_legacy (std::istream &is, NodeMetadataList *meta, NodeTimerList *timers, IItemDefManager *item_def_mgr) |
| #define NODEMETA_CHEST 15 |
Referenced by content_nodemeta_deserialize_legacy_body().
| #define NODEMETA_FURNACE 16 |
Referenced by content_nodemeta_deserialize_legacy_body().
| #define NODEMETA_GENERIC 1 |
Referenced by content_nodemeta_deserialize_legacy_body().
| #define NODEMETA_LOCKABLE_CHEST 17 |
Referenced by content_nodemeta_deserialize_legacy_body().
| #define NODEMETA_SIGN 14 |
Referenced by content_nodemeta_deserialize_legacy_body().
| void content_nodemeta_deserialize_legacy | ( | std::istream & | is, |
| NodeMetadataList * | meta, | ||
| NodeTimerList * | timers, | ||
| IItemDefManager * | item_def_mgr ) |
References NodeMetadataList::clear(), NodeTimerList::clear(), content_nodemeta_deserialize_legacy_meta(), FUNCTION_NAME, NodeMetadataList::get(), infostream, MAP_BLOCKSIZE, p(), readU16(), NodeMetadataList::set(), NodeTimerList::set(), and warningstream.
Referenced by MapBlock::deSerialize(), and MapBlock::deSerialize_pre22().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References NodeMetadata::clear(), Inventory::deSerialize(), deSerializeString16(), deSerializeString32(), ftos(), NodeMetadata::getInventory(), Inventory::getList(), SimpleMetadata::getString(), NODEMETA_CHEST, NODEMETA_FURNACE, NODEMETA_GENERIC, NODEMETA_LOCKABLE_CHEST, NODEMETA_SIGN, readU32(), readU8(), InventoryList::setName(), and SimpleMetadata::setString().
Referenced by content_nodemeta_deserialize_legacy_meta().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References content_nodemeta_deserialize_legacy_body(), deSerializeString16(), and readS16().
Referenced by content_nodemeta_deserialize_legacy().
Here is the call graph for this function:
Here is the caller graph for this function: