#include <nodemetadata.h>
◆ NodeMetadataList()
NodeMetadataList::NodeMetadataList |
( |
bool | is_metadata_owner = true | ) |
|
|
inline |
◆ ~NodeMetadataList()
NodeMetadataList::~NodeMetadataList |
( |
| ) |
|
◆ begin()
NodeMetadataMap::const_iterator NodeMetadataList::begin |
( |
| ) |
|
|
inline |
◆ clear()
void NodeMetadataList::clear |
( |
| ) |
|
◆ countNonEmpty()
int NodeMetadataList::countNonEmpty |
( |
| ) |
const |
|
private |
◆ deSerialize()
void NodeMetadataList::deSerialize |
( |
std::istream & | is, |
|
|
IItemDefManager * | item_def_mgr, |
|
|
bool | absolute_pos = false ) |
References clear(), NodeMetadata::deSerialize(), FUNCTION_NAME, infostream, itos(), m_data, MAP_BLOCKSIZE, p(), readS16(), readU16(), readU8(), and warningstream.
Referenced by MapBlock::deSerialize(), and Client::handleCommand_NodemetaChanged().
◆ end()
NodeMetadataMap::const_iterator NodeMetadataList::end |
( |
| ) |
|
|
inline |
◆ get()
◆ getAllKeys()
std::vector< v3s16 > NodeMetadataList::getAllKeys |
( |
| ) |
|
◆ remove()
void NodeMetadataList::remove |
( |
v3s16 | p | ) |
|
◆ serialize()
void NodeMetadataList::serialize |
( |
std::ostream & | os, |
|
|
u8 | blockver, |
|
|
bool | disk = true, |
|
|
bool | absolute_pos = false, |
|
|
bool | include_empty = false ) const |
References countNonEmpty(), NodeMetadata::empty(), m_data, MAP_BLOCKSIZE, p(), NodeMetadata::serialize(), U16_MAX, writeS16(), writeU16(), and writeU8().
Referenced by Server::sendMetadataChanged(), and MapBlock::serialize().
◆ set()
◆ size()
size_t NodeMetadataList::size |
( |
| ) |
const |
|
inline |
◆ m_data
Referenced by begin(), clear(), countNonEmpty(), deSerialize(), end(), get(), getAllKeys(), remove(), serialize(), set(), and size().
◆ m_is_metadata_owner
bool NodeMetadataList::m_is_metadata_owner |
|
private |
The documentation for this class was generated from the following files: