diff options
author | madmaxoft <github@xoft.cz> | 2014-04-12 22:35:04 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-12 22:35:04 +0200 |
commit | 34cf058b0257587456632536a54db0d4e119dae1 (patch) | |
tree | 4bad77edfc6c1c7302df9bf218c65567dd348fb8 /src/ChunkStay.h | |
parent | Fixed chunkstays not being removed on auto-delete. (diff) | |
download | cuberite-ProtoProxy_1.7.2_001.tar cuberite-ProtoProxy_1.7.2_001.tar.gz cuberite-ProtoProxy_1.7.2_001.tar.bz2 cuberite-ProtoProxy_1.7.2_001.tar.lz cuberite-ProtoProxy_1.7.2_001.tar.xz cuberite-ProtoProxy_1.7.2_001.tar.zst cuberite-ProtoProxy_1.7.2_001.zip |
Diffstat (limited to 'src/ChunkStay.h')
-rw-r--r-- | src/ChunkStay.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ChunkStay.h b/src/ChunkStay.h index 2510cb490..29893befc 100644 --- a/src/ChunkStay.h +++ b/src/ChunkStay.h @@ -36,8 +36,12 @@ class cChunkStay { public: cChunkStay(void); + + /** Deletes the object. Note that this calls Clear(), which means that the ChunkStay needs to be disabled. */ virtual ~cChunkStay(); + /** Clears all the chunks that have been added. + To be used only while the ChunkStay object is not enabled. */ void Clear(void); /** Adds a chunk to be locked from unloading. |