#include <servermap.h>
Public Member Functions | |
| void | loadBlock (v3s16 blockpos, std::string &ret) |
| Load a block, taking dbase_ro into account. | |
Public Attributes | |
| std::mutex | mutex |
| Lock, to be taken for any operation. | |
| MapDatabase * | dbase = nullptr |
| Main database. | |
| MapDatabase * | dbase_ro = nullptr |
| Fallback database for read operations. | |
| void MapDatabaseAccessor::loadBlock | ( | v3s16 | blockpos, |
| std::string & | ret ) |
| MapDatabase* MapDatabaseAccessor::dbase = nullptr |
Main database.
Referenced by EmergeManager::initMap(), and loadBlock().
| MapDatabase* MapDatabaseAccessor::dbase_ro = nullptr |
Fallback database for read operations.
Referenced by loadBlock().
| std::mutex MapDatabaseAccessor::mutex |
Lock, to be taken for any operation.