#include <database-dummy.h>
|
bool | saveBlock (const v3s16 &pos, std::string_view data) |
|
void | loadBlock (const v3s16 &pos, std::string *block) |
|
bool | deleteBlock (const v3s16 &pos) |
|
void | listAllLoadableBlocks (std::vector< v3s16 > &dst) |
|
void | savePlayer (RemotePlayer *player) |
|
bool | loadPlayer (RemotePlayer *player, PlayerSAO *sao) |
|
bool | removePlayer (const std::string &name) |
|
void | listPlayers (std::vector< std::string > &res) |
|
void | getModEntries (const std::string &modname, StringMap *storage) |
|
void | getModKeys (const std::string &modname, std::vector< std::string > *storage) |
|
bool | getModEntry (const std::string &modname, const std::string &key, std::string *value) |
|
bool | hasModEntry (const std::string &modname, const std::string &key) |
|
bool | setModEntry (const std::string &modname, const std::string &key, std::string_view value) |
|
bool | removeModEntry (const std::string &modname, const std::string &key) |
|
bool | removeModEntries (const std::string &modname) |
|
void | listMods (std::vector< std::string > *res) |
|
void | beginSave () |
|
void | endSave () |
|
virtual | ~MapDatabase ()=default |
|
virtual bool | initialized () const |
|
virtual | ~PlayerDatabase ()=default |
|
virtual | ~ModStorageDatabase ()=default |
|
◆ beginSave()
void Database_Dummy::beginSave |
( |
| ) |
|
|
inlinevirtual |
◆ deleteBlock()
bool Database_Dummy::deleteBlock |
( |
const v3s16 & | pos | ) |
|
|
virtual |
◆ endSave()
void Database_Dummy::endSave |
( |
| ) |
|
|
inlinevirtual |
◆ getModEntries()
void Database_Dummy::getModEntries |
( |
const std::string & | modname, |
|
|
StringMap * | storage ) |
|
virtual |
◆ getModEntry()
bool Database_Dummy::getModEntry |
( |
const std::string & | modname, |
|
|
const std::string & | key, |
|
|
std::string * | value ) |
|
virtual |
◆ getModKeys()
void Database_Dummy::getModKeys |
( |
const std::string & | modname, |
|
|
std::vector< std::string > * | storage ) |
|
virtual |
◆ hasModEntry()
bool Database_Dummy::hasModEntry |
( |
const std::string & | modname, |
|
|
const std::string & | key ) |
|
virtual |
◆ listAllLoadableBlocks()
void Database_Dummy::listAllLoadableBlocks |
( |
std::vector< v3s16 > & | dst | ) |
|
|
virtual |
◆ listMods()
void Database_Dummy::listMods |
( |
std::vector< std::string > * | res | ) |
|
|
virtual |
◆ listPlayers()
void Database_Dummy::listPlayers |
( |
std::vector< std::string > & | res | ) |
|
|
virtual |
◆ loadBlock()
void Database_Dummy::loadBlock |
( |
const v3s16 & | pos, |
|
|
std::string * | block ) |
|
virtual |
◆ loadPlayer()
◆ removeModEntries()
bool Database_Dummy::removeModEntries |
( |
const std::string & | modname | ) |
|
|
virtual |
◆ removeModEntry()
bool Database_Dummy::removeModEntry |
( |
const std::string & | modname, |
|
|
const std::string & | key ) |
|
virtual |
◆ removePlayer()
bool Database_Dummy::removePlayer |
( |
const std::string & | name | ) |
|
|
virtual |
◆ saveBlock()
bool Database_Dummy::saveBlock |
( |
const v3s16 & | pos, |
|
|
std::string_view | data ) |
|
virtual |
◆ savePlayer()
◆ setModEntry()
bool Database_Dummy::setModEntry |
( |
const std::string & | modname, |
|
|
const std::string & | key, |
|
|
std::string_view | value ) |
|
virtual |
◆ m_database
std::map<s64, std::string> Database_Dummy::m_database |
|
private |
◆ m_mod_storage_database
std::unordered_map<std::string, StringMap> Database_Dummy::m_mod_storage_database |
|
private |
◆ m_player_database
std::set<std::string> Database_Dummy::m_player_database |
|
private |
The documentation for this class was generated from the following files: