14#include "leveldb/db.h"
58 virtual bool deleteAuth(
const std::string &name);
59 virtual void listNames(std::vector<std::string> &res);
Definition database-leveldb.h:50
virtual bool getAuth(const std::string &name, AuthEntry &res)
Definition database-leveldb.cpp:203
virtual bool saveAuth(const AuthEntry &authEntry)
Definition database-leveldb.cpp:239
virtual void reload()
Definition database-leveldb.cpp:279
virtual bool deleteAuth(const std::string &name)
Definition database-leveldb.cpp:264
virtual void listNames(std::vector< std::string > &res)
Definition database-leveldb.cpp:270
virtual ~AuthDatabaseLevelDB()=default
std::unique_ptr< leveldb::DB > m_database
Definition database-leveldb.h:63
virtual bool createAuth(AuthEntry &authEntry)
Definition database-leveldb.cpp:259
AuthDatabaseLevelDB(const std::string &savedir)
Definition database-leveldb.cpp:192
Definition database-leveldb.h:17
void endSave()
Definition database-leveldb.h:28
bool deleteBlock(const v3s16 &pos)
Definition database-leveldb.cpp:64
~Database_LevelDB()=default
Database_LevelDB(const std::string &savedir)
Definition database-leveldb.cpp:30
void loadBlock(const v3s16 &pos, std::string *block)
Definition database-leveldb.cpp:55
bool saveBlock(const v3s16 &pos, std::string_view data)
Definition database-leveldb.cpp:41
std::unique_ptr< leveldb::DB > m_database
Definition database-leveldb.h:31
void beginSave()
Definition database-leveldb.h:27
void listAllLoadableBlocks(std::vector< v3s16 > &dst)
Definition database-leveldb.cpp:77
Definition database-leveldb.h:35
bool removePlayer(const std::string &name)
Definition database-leveldb.cpp:140
void listPlayers(std::vector< std::string > &res)
Definition database-leveldb.cpp:183
std::unique_ptr< leveldb::DB > m_database
Definition database-leveldb.h:46
PlayerDatabaseLevelDB(const std::string &savedir)
Definition database-leveldb.cpp:86
~PlayerDatabaseLevelDB()=default
void savePlayer(RemotePlayer *player)
Definition database-leveldb.cpp:97
bool loadPlayer(RemotePlayer *player, PlayerSAO *sao)
Definition database-leveldb.cpp:146
Definition player_sao.h:56
Definition remoteplayer.h:26
core::vector3d< s16 > v3s16
Definition irr_v3d.h:13