![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <SchematicFileSerializer.h>
Static Public Member Functions | |
static void | LoadFromSchematicFile (cBlockArea &a_BlockArea, const std::string &a_FileName) |
Loads an area from a .schematic file. More... | |
static void | LoadFromSchematicString (cBlockArea &a_BlockArea, ContiguousByteBufferView a_SchematicData) |
Loads an area from a string containing the .schematic file data. More... | |
static void | SaveToSchematicFile (const cBlockArea &a_BlockArea, const std::string &a_FileName) |
Saves the area into a .schematic file. More... | |
static Compression::Result | SaveToSchematicString (const cBlockArea &a_BlockArea) |
Saves the area into a string containing the .schematic file data. More... | |
Static Private Member Functions | |
static void | LoadFromSchematicNBT (cBlockArea &a_BlockArea, const cParsedNBT &a_NBT) |
Loads the area from a schematic file uncompressed and parsed into a NBT tree. More... | |
static ContiguousByteBuffer | SaveToSchematicNBT (const cBlockArea &a_BlockArea) |
Saves the area into a NBT representation and returns the NBT data as a string. More... | |
Definition at line 26 of file SchematicFileSerializer.h.
|
static |
Loads an area from a .schematic file.
Definition at line 19 of file SchematicFileSerializer.cpp.
|
staticprivate |
Loads the area from a schematic file uncompressed and parsed into a NBT tree.
Definition at line 71 of file SchematicFileSerializer.cpp.
|
static |
Loads an area from a string containing the .schematic file data.
Definition at line 36 of file SchematicFileSerializer.cpp.
|
static |
Saves the area into a .schematic file.
Definition at line 53 of file SchematicFileSerializer.cpp.
|
staticprivate |
Saves the area into a NBT representation and returns the NBT data as a string.
Definition at line 168 of file SchematicFileSerializer.cpp.
|
static |
Saves the area into a string containing the .schematic file data.
Definition at line 62 of file SchematicFileSerializer.cpp.