diff options
Diffstat (limited to 'src/database-leveldb.h')
-rw-r--r-- | src/database-leveldb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/database-leveldb.h b/src/database-leveldb.h index 0c20aeaef..ad165fcf2 100644 --- a/src/database-leveldb.h +++ b/src/database-leveldb.h @@ -36,10 +36,10 @@ public: Database_LevelDB(ServerMap *map, std::string savedir); virtual void beginSave(); virtual void endSave(); - virtual bool saveBlock(MapBlock *block); - virtual MapBlock *loadBlock(v3s16 blockpos); - virtual void listAllLoadableBlocks(std::list<v3s16> &dst); - virtual int Initialized(void); + virtual bool saveBlock(v3s16 blockpos, std::string &data); + virtual std::string loadBlock(v3s16 blockpos); + virtual void listAllLoadableBlocks(std::list<v3s16> &dst); + virtual int Initialized(void); ~Database_LevelDB(); private: ServerMap *srvmap; |