Cuberite
A lightweight, fast and extensible game server for Minecraft
src
WorldStorage
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
20
class
NBTChunkSerializer
21
{
22
public
:
23
25
static
void
Serialize
(
const
cWorld
& aWorld,
cChunkCoords
aCoords,
cFastNBTWriter
& aWriter);
26
};
ChunkDef.h
cChunkCoords
Wraps the chunk coords into a single structure.
Definition:
ChunkDef.h:57
cWorld
Definition:
World.h:53
cFastNBTWriter
Definition:
FastNBT.h:325
NBTChunkSerializer
Saves the chunk data into a NBT format, used by the Anvil storage.
Definition:
NBTChunkSerializer.h:21
NBTChunkSerializer::Serialize
static void Serialize(const cWorld &aWorld, cChunkCoords aCoords, cFastNBTWriter &aWriter)
Serializes the chunk into the specified writer.
Definition:
NBTChunkSerializer.cpp:1192
Generated on Fri Oct 25 2024 05:01:18 for Cuberite by
1.9.1