diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-01-20 18:37:31 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-01-20 18:37:31 +0100 |
commit | 613f238ab630d1cfb86e2dbdccb1e9cbf93539dd (patch) | |
tree | 304260643ecc3c99939c34621d7908fa3031dc33 /src/ForEachChunkProvider.h | |
parent | Merge branch 'master' into GeneratingBenchmark (diff) | |
parent | Seperated BlockArea From World (diff) | |
download | cuberite-613f238ab630d1cfb86e2dbdccb1e9cbf93539dd.tar cuberite-613f238ab630d1cfb86e2dbdccb1e9cbf93539dd.tar.gz cuberite-613f238ab630d1cfb86e2dbdccb1e9cbf93539dd.tar.bz2 cuberite-613f238ab630d1cfb86e2dbdccb1e9cbf93539dd.tar.lz cuberite-613f238ab630d1cfb86e2dbdccb1e9cbf93539dd.tar.xz cuberite-613f238ab630d1cfb86e2dbdccb1e9cbf93539dd.tar.zst cuberite-613f238ab630d1cfb86e2dbdccb1e9cbf93539dd.zip |
Diffstat (limited to 'src/ForEachChunkProvider.h')
-rw-r--r-- | src/ForEachChunkProvider.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ForEachChunkProvider.h b/src/ForEachChunkProvider.h new file mode 100644 index 000000000..9092fcb0a --- /dev/null +++ b/src/ForEachChunkProvider.h @@ -0,0 +1,10 @@ + +class cBlockArea; + +class cForEachChunkProvider +{ +public: + virtual bool ForEachChunkInRect(int a_MinChunkX, int a_MaxChunkX, int a_MinChunkZ, int a_MaxChunkZ, cChunkDataCallback & a_Callback) = 0; + + virtual bool WriteBlockArea(cBlockArea & a_Area, int a_MinBlockX, int a_MinBlockY, int a_MinBlockZ, int a_DataTypes) = 0; +}; |