summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/MapSerializer.h
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-02-23 14:03:40 +0100
committerandrew <xdotftw@gmail.com>2014-02-23 14:05:03 +0100
commitf47187394572027cbfa07884cba2f54eaa6972ec (patch)
tree1f87d8d3f350b1d0c3faf5963c2ad74482ac3174 /src/WorldStorage/MapSerializer.h
parentManually exported DoWithMap (diff)
downloadcuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.gz
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.bz2
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.lz
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.xz
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.zst
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.zip
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/MapSerializer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/WorldStorage/MapSerializer.h b/src/WorldStorage/MapSerializer.h
index 85fe917f5..eb7678a08 100644
--- a/src/WorldStorage/MapSerializer.h
+++ b/src/WorldStorage/MapSerializer.h
@@ -51,7 +51,11 @@ private:
-/** Utility class used to serialize item ID counts. */
+/** Utility class used to serialize item ID counts.
+ *
+ * In order to perform bounds checking (while loading),
+ * the last registered ID of each item is serialized to an NBT file.
+ */
class cIDCountSerializer
{
public: