summaryrefslogtreecommitdiffstats
path: root/AnvilStats/Processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'AnvilStats/Processor.h')
-rw-r--r--AnvilStats/Processor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/AnvilStats/Processor.h b/AnvilStats/Processor.h
index 4f5496bc6..b7d3f392e 100644
--- a/AnvilStats/Processor.h
+++ b/AnvilStats/Processor.h
@@ -39,7 +39,12 @@ class cProcessor
void ProcessChunk(const char * a_FileData, int a_ChunkX, int a_ChunkZ, unsigned a_SectorStart, unsigned a_SectorSize, unsigned a_TimeStamp);
void ProcessCompressedChunkData(int a_ChunkX, int a_ChunkZ, const char * a_CompressedData, int a_CompressedSize);
void ProcessParsedChunkData(int a_ChunkX, int a_ChunkZ, cParsedNBT & a_NBT);
+
+ // The following processing parts return true if they were interrupted by the callback, causing the processing of current chunk to abort
bool ProcessChunkSections(int a_ChunkX, int a_ChunkZ, cParsedNBT & a_NBT, int a_LevelTag);
+ bool ProcessChunkEntities(int a_ChunkX, int a_ChunkZ, cParsedNBT & a_NBT, int a_LevelTag);
+ bool ProcessChunkTileEntities(int a_ChunkX, int a_ChunkZ, cParsedNBT & a_NBT, int a_LevelTag);
+ bool ProcessChunkTileTicks(int a_ChunkX, int a_ChunkZ, cParsedNBT & a_NBT, int a_LevelTag);
public:
cThread(cCallback & a_Callback, cProcessor & a_ParentProcessor);