summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ChunkDataSerializer.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-12-15 20:21:43 +0100
committerMattes D <github@xoft.cz>2016-12-16 00:07:22 +0100
commit0e3b3be7662f03b7487408f70548eaca1188da3d (patch)
tree3751d17812c46e5847684d8f968f24c4a4e268d2 /src/Protocol/ChunkDataSerializer.cpp
parentAPIDump: Load the official undocumented from alternate location. (diff)
downloadcuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.gz
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.bz2
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.lz
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.xz
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.zst
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.zip
Diffstat (limited to 'src/Protocol/ChunkDataSerializer.cpp')
-rw-r--r--src/Protocol/ChunkDataSerializer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Protocol/ChunkDataSerializer.cpp b/src/Protocol/ChunkDataSerializer.cpp
index c7fd504a1..bbedb3c59 100644
--- a/src/Protocol/ChunkDataSerializer.cpp
+++ b/src/Protocol/ChunkDataSerializer.cpp
@@ -9,8 +9,8 @@
#include "ChunkDataSerializer.h"
#include "zlib/zlib.h"
#include "ByteBuffer.h"
-#include "Protocol18x.h"
-#include "Protocol19x.h"
+#include "Protocol_1_8.h"
+#include "Protocol_1_9.h"
@@ -111,7 +111,7 @@ void cChunkDataSerializer::Serialize47(AString & a_Data, int a_ChunkX, int a_Chu
cByteBuffer Buffer(20);
if (PacketData.size() >= 256)
{
- if (!cProtocol180::CompressPacket(PacketData, a_Data))
+ if (!cProtocol_1_8_0::CompressPacket(PacketData, a_Data))
{
ASSERT(!"Packet compression failed.");
a_Data.clear();
@@ -254,7 +254,7 @@ void cChunkDataSerializer::Serialize107(AString & a_Data, int a_ChunkX, int a_Ch
cByteBuffer Buffer(20);
if (PacketData.size() >= 256)
{
- if (!cProtocol190::CompressPacket(PacketData, a_Data))
+ if (!cProtocol_1_9_0::CompressPacket(PacketData, a_Data))
{
ASSERT(!"Packet compression failed.");
a_Data.clear();
@@ -400,7 +400,7 @@ void cChunkDataSerializer::Serialize110(AString & a_Data, int a_ChunkX, int a_Ch
cByteBuffer Buffer(20);
if (PacketData.size() >= 256)
{
- if (!cProtocol190::CompressPacket(PacketData, a_Data))
+ if (!cProtocol_1_9_0::CompressPacket(PacketData, a_Data))
{
ASSERT(!"Packet compression failed.");
a_Data.clear();