virtual void saveBlock(MapBlock *block)=0;
virtual MapBlock* loadBlock(v3s16 blockpos)=0;
- s64 getBlockAsInteger(const v3s16 pos);
- v3s16 getIntegerAsBlock(s64 i);
+ s64 getBlockAsInteger(const v3s16 pos) const;
+ v3s16 getIntegerAsBlock(const s64 i) const;
virtual void listAllLoadableBlocks(std::list<v3s16> &dst)=0;
virtual int Initialized(void)=0;
virtual ~Database() {};