diff options
author | Mattes D <github@xoft.cz> | 2014-01-25 22:55:33 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-01-25 22:55:33 +0100 |
commit | f78a62a5e3243a04b6c5544b851e0ee076ddb390 (patch) | |
tree | 1876409ce6146bbedd4db51b911cc96009288e5e /src/ForEachChunkProvider.h | |
parent | Merge pull request #588 from mc-server/Sheep_Eating (diff) | |
parent | Stupid Mistake fixed (diff) | |
download | cuberite-f78a62a5e3243a04b6c5544b851e0ee076ddb390.tar cuberite-f78a62a5e3243a04b6c5544b851e0ee076ddb390.tar.gz cuberite-f78a62a5e3243a04b6c5544b851e0ee076ddb390.tar.bz2 cuberite-f78a62a5e3243a04b6c5544b851e0ee076ddb390.tar.lz cuberite-f78a62a5e3243a04b6c5544b851e0ee076ddb390.tar.xz cuberite-f78a62a5e3243a04b6c5544b851e0ee076ddb390.tar.zst cuberite-f78a62a5e3243a04b6c5544b851e0ee076ddb390.zip |
Diffstat (limited to 'src/ForEachChunkProvider.h')
-rw-r--r-- | src/ForEachChunkProvider.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ForEachChunkProvider.h b/src/ForEachChunkProvider.h new file mode 100644 index 000000000..70cd2196a --- /dev/null +++ b/src/ForEachChunkProvider.h @@ -0,0 +1,14 @@ + +#pragma once + +class cChunkDataCallback; + +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; +}; |