Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Saves the chunk data into a NBT format, used by the Anvil storage. More...
#include <NBTChunkSerializer.h>
Static Public Member Functions | |
static void | Serialize (const cWorld &aWorld, cChunkCoords aCoords, cFastNBTWriter &aWriter) |
Serializes the chunk into the specified writer. More... | |
Saves the chunk data into a NBT format, used by the Anvil storage.
The Writer is expected to be set up so that the serializer can write the chunk's top level "Level" NBT tag immediately. Provides a single static entry point that does all the work, through a hidden worker class in the CPP file.
Definition at line 20 of file NBTChunkSerializer.h.
|
static |
Serializes the chunk into the specified writer.
The chunk must be present.
Definition at line 1192 of file NBTChunkSerializer.cpp.