Cuberite
A lightweight, fast and extensible game server for Minecraft
NBTChunkSerializer.h
Go to the documentation of this file.
1 // NBTChunkSerializer.h
2 
3 #pragma once
4 
5 #include "ChunkDef.h"
6 
7 
8 
9 // fwd:
10 class cFastNBTWriter;
11 class cWorld;
12 
13 
14 
15 
16 
21 {
22 public:
23 
25  static void Serialize(const cWorld & aWorld, cChunkCoords aCoords, cFastNBTWriter & aWriter);
26 };
Wraps the chunk coords into a single structure.
Definition: ChunkDef.h:57
Definition: World.h:53
Saves the chunk data into a NBT format, used by the Anvil storage.
static void Serialize(const cWorld &aWorld, cChunkCoords aCoords, cFastNBTWriter &aWriter)
Serializes the chunk into the specified writer.