diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-23 23:37:46 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-23 23:37:46 +0200 |
commit | 96bc0a2c792220923ce8c57a3bf7f88b203d8fea (patch) | |
tree | fc1664d206ed7c54f6afa75e1d37a63fd9c88c05 /source/ChunkDataSerializer.h | |
parent | Source files cleanup: OSSupport-related files in a separate subfolder, renamed. (diff) | |
download | cuberite-96bc0a2c792220923ce8c57a3bf7f88b203d8fea.tar cuberite-96bc0a2c792220923ce8c57a3bf7f88b203d8fea.tar.gz cuberite-96bc0a2c792220923ce8c57a3bf7f88b203d8fea.tar.bz2 cuberite-96bc0a2c792220923ce8c57a3bf7f88b203d8fea.tar.lz cuberite-96bc0a2c792220923ce8c57a3bf7f88b203d8fea.tar.xz cuberite-96bc0a2c792220923ce8c57a3bf7f88b203d8fea.tar.zst cuberite-96bc0a2c792220923ce8c57a3bf7f88b203d8fea.zip |
Diffstat (limited to 'source/ChunkDataSerializer.h')
-rw-r--r-- | source/ChunkDataSerializer.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/source/ChunkDataSerializer.h b/source/ChunkDataSerializer.h deleted file mode 100644 index 513a232b9..000000000 --- a/source/ChunkDataSerializer.h +++ /dev/null @@ -1,48 +0,0 @@ -
-// ChunkDataSerializer.h
-
-// Interfaces to the cChunkDataSerializer class representing the object that can:
-// - serialize chunk data to different protocol versions
-// - cache such serialized data for multiple clients
-
-
-
-
-
-class cChunkDataSerializer
-{
-protected:
- const cChunkDef::BlockTypes & m_BlockTypes;
- const cChunkDef::BlockNibbles & m_BlockMetas;
- const cChunkDef::BlockNibbles & m_BlockLight;
- const cChunkDef::BlockNibbles & m_BlockSkyLight;
- const unsigned char * m_BiomeData;
-
- typedef std::map<int, AString> Serializations;
-
- Serializations m_Serializations;
-
- void Serialize29(AString & a_Data); // Release 1.2.4 and 1.2.5
- void Serialize39(AString & a_Data); // Release 1.3.1 and 1.3.2
-
-public:
- enum
- {
- RELEASE_1_2_5 = 29,
- RELEASE_1_3_2 = 39,
- } ;
-
- cChunkDataSerializer(
- const cChunkDef::BlockTypes & a_BlockTypes,
- const cChunkDef::BlockNibbles & a_BlockMetas,
- const cChunkDef::BlockNibbles & a_BlockLight,
- const cChunkDef::BlockNibbles & a_BlockSkyLight,
- const unsigned char * a_BiomeData
- );
-
- const AString & Serialize(int a_Version); // Returns one of the internal m_Serializations[]
-} ;
-
-
-
-
|