summaryrefslogtreecommitdiffstats
path: root/src/ForEachChunkProvider.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-01-20 18:17:24 +0100
committerTycho <work.tycho+git@gmail.com>2014-01-20 18:17:24 +0100
commit9bb61e6e2e23fc8a66dbc95d918f23b89ba60314 (patch)
tree363bbabcda11cc99018d983bcad240f34bf77bf4 /src/ForEachChunkProvider.h
parentAdded Inifile and OSSupport Linking (diff)
downloadcuberite-9bb61e6e2e23fc8a66dbc95d918f23b89ba60314.tar
cuberite-9bb61e6e2e23fc8a66dbc95d918f23b89ba60314.tar.gz
cuberite-9bb61e6e2e23fc8a66dbc95d918f23b89ba60314.tar.bz2
cuberite-9bb61e6e2e23fc8a66dbc95d918f23b89ba60314.tar.lz
cuberite-9bb61e6e2e23fc8a66dbc95d918f23b89ba60314.tar.xz
cuberite-9bb61e6e2e23fc8a66dbc95d918f23b89ba60314.tar.zst
cuberite-9bb61e6e2e23fc8a66dbc95d918f23b89ba60314.zip
Diffstat (limited to '')
-rw-r--r--src/ForEachChunkProvider.h10
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;
+};