summaryrefslogtreecommitdiffstats
path: root/AnvilStats/Statistics.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-04 14:32:56 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-04 14:32:56 +0200
commitbb8a19c71a232e74a320b73630bd440bd3504084 (patch)
tree80e355aa9da3906373a05dfdaec667ba0f31793a /AnvilStats/Statistics.h
parentAnvilStats: Added the chunk coord range statistics. (diff)
downloadcuberite-bb8a19c71a232e74a320b73630bd440bd3504084.tar
cuberite-bb8a19c71a232e74a320b73630bd440bd3504084.tar.gz
cuberite-bb8a19c71a232e74a320b73630bd440bd3504084.tar.bz2
cuberite-bb8a19c71a232e74a320b73630bd440bd3504084.tar.lz
cuberite-bb8a19c71a232e74a320b73630bd440bd3504084.tar.xz
cuberite-bb8a19c71a232e74a320b73630bd440bd3504084.tar.zst
cuberite-bb8a19c71a232e74a320b73630bd440bd3504084.zip
Diffstat (limited to 'AnvilStats/Statistics.h')
-rw-r--r--AnvilStats/Statistics.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/AnvilStats/Statistics.h b/AnvilStats/Statistics.h
index 814380b6c..2c0a86cc1 100644
--- a/AnvilStats/Statistics.h
+++ b/AnvilStats/Statistics.h
@@ -23,18 +23,19 @@ public:
class cStats
{
public:
- int m_TotalChunks; // Total number of chunks that go through this callback (OnNewChunk())
- int m_BiomeCounts[256];
- int m_BlockCounts[256][256]; // First dimension is the biome, second dimension is BlockType
- int m_BiomeNumChunks; // Num chunks that have been processed for biome stats
- int m_BlockNumChunks; // Num chunks that have been processed for block stats
- int m_NumEntities;
- int m_NumTileEntities;
- int m_NumTileTicks;
+ UInt64 m_TotalChunks; // Total number of chunks that go through this callback (OnNewChunk())
+ UInt64 m_BiomeCounts[256];
+ UInt64 m_BlockCounts[256][256]; // First dimension is the biome, second dimension is BlockType
+ UInt64 m_BiomeNumChunks; // Num chunks that have been processed for biome stats
+ UInt64 m_BlockNumChunks; // Num chunks that have been processed for block stats
+ UInt64 m_NumEntities;
+ UInt64 m_NumTileEntities;
+ UInt64 m_NumTileTicks;
int m_MinChunkX, m_MaxChunkX; // X coords range
int m_MinChunkZ, m_MaxChunkZ; // Z coords range
- int m_SpawnerEntity[entMax + 1];
+ Int64 m;
+ UInt64 m_SpawnerEntity[entMax + 1];
cStats(void);
void Add(const cStats & a_Stats);