summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-09-03 17:38:29 +0200
committerGitHub <noreply@github.com>2016-09-03 17:38:29 +0200
commit7e9e7f79110e398a4d2b07de3093eaccd551f013 (patch)
tree96098b99f146a40f42c4322d96fcd061b9548d8a /src/ChunkMap.h
parentEntities now bail out of ticks if destroyed (#3363) (diff)
downloadcuberite-7e9e7f79110e398a4d2b07de3093eaccd551f013.tar
cuberite-7e9e7f79110e398a4d2b07de3093eaccd551f013.tar.gz
cuberite-7e9e7f79110e398a4d2b07de3093eaccd551f013.tar.bz2
cuberite-7e9e7f79110e398a4d2b07de3093eaccd551f013.tar.lz
cuberite-7e9e7f79110e398a4d2b07de3093eaccd551f013.tar.xz
cuberite-7e9e7f79110e398a4d2b07de3093eaccd551f013.tar.zst
cuberite-7e9e7f79110e398a4d2b07de3093eaccd551f013.zip
Diffstat (limited to 'src/ChunkMap.h')
-rw-r--r--src/ChunkMap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ChunkMap.h b/src/ChunkMap.h
index 328b0f74c..ff8f82f91 100644
--- a/src/ChunkMap.h
+++ b/src/ChunkMap.h
@@ -388,7 +388,10 @@ public:
cWorld * GetWorld(void) { return m_World; }
- int GetNumChunks(void);
+ size_t GetNumChunks(void);
+
+ /** Returns the number of unused dirty chunks. Those are chunks that we can save and then unload */
+ size_t GetNumUnusedDirtyChunks(void);
void ChunkValidated(void); // Called by chunks that have become valid