summaryrefslogtreecommitdiffstats
path: root/AnvilStats/Processor.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-28 14:44:06 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-28 14:44:06 +0200
commit19a3981eb955a12176fc3c8dec5f92ba6827d2a8 (patch)
tree6e6412c9f0dcba389f69753ef89dbda6af2573e4 /AnvilStats/Processor.h
parentAnvilStats: initial project import, can do block and biome statistics (diff)
downloadcuberite-19a3981eb955a12176fc3c8dec5f92ba6827d2a8.tar
cuberite-19a3981eb955a12176fc3c8dec5f92ba6827d2a8.tar.gz
cuberite-19a3981eb955a12176fc3c8dec5f92ba6827d2a8.tar.bz2
cuberite-19a3981eb955a12176fc3c8dec5f92ba6827d2a8.tar.lz
cuberite-19a3981eb955a12176fc3c8dec5f92ba6827d2a8.tar.xz
cuberite-19a3981eb955a12176fc3c8dec5f92ba6827d2a8.tar.zst
cuberite-19a3981eb955a12176fc3c8dec5f92ba6827d2a8.zip
Diffstat (limited to 'AnvilStats/Processor.h')
-rw-r--r--AnvilStats/Processor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/AnvilStats/Processor.h b/AnvilStats/Processor.h
index 300185e67..09dc980ec 100644
--- a/AnvilStats/Processor.h
+++ b/AnvilStats/Processor.h
@@ -35,7 +35,8 @@ class cProcessor
virtual void Execute(void) override;
void ProcessFile(const AString & a_FileName);
- void ProcessChunk(cFile & a_File, int a_ChunkX, int a_ChunkZ, unsigned a_SectorStart, unsigned a_SectorSize, unsigned a_TimeStamp);
+ void ProcessFileData(const char * a_FileData, size_t a_Size, int a_ChunkBaseX, int a_ChunkBaseZ);
+ 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);
bool ProcessChunkSections(int a_ChunkX, int a_ChunkZ, cParsedNBT & a_NBT, int a_LevelTag);