summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ChunkDataSerializer.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-20 22:34:46 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-21 01:53:09 +0200
commit82d251b71be3091575a86e507fa4f587af4d4330 (patch)
treec0d6142859da36f424eef1ddb6aaa350c80ba4c7 /src/Protocol/ChunkDataSerializer.cpp
parentRemove complex templated SendBlockChange (diff)
downloadcuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.gz
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.bz2
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.lz
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.xz
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.zst
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.zip
Diffstat (limited to 'src/Protocol/ChunkDataSerializer.cpp')
-rw-r--r--src/Protocol/ChunkDataSerializer.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/Protocol/ChunkDataSerializer.cpp b/src/Protocol/ChunkDataSerializer.cpp
index 394514f3f..3a89bcd50 100644
--- a/src/Protocol/ChunkDataSerializer.cpp
+++ b/src/Protocol/ChunkDataSerializer.cpp
@@ -70,41 +70,41 @@ void cChunkDataSerializer::SendToClients(const std::unordered_set<cClientHandle
{
switch (Entry.first)
{
- case cProtocol::Version::Version_1_8_0:
+ case cProtocol::Version::v1_8_0:
{
Serialize47(Entry.second);
continue;
}
- case cProtocol::Version::Version_1_9_0:
- case cProtocol::Version::Version_1_9_1:
- case cProtocol::Version::Version_1_9_2:
+ case cProtocol::Version::v1_9_0:
+ case cProtocol::Version::v1_9_1:
+ case cProtocol::Version::v1_9_2:
{
Serialize107(Entry.second);
continue;
}
- case cProtocol::Version::Version_1_9_4:
- case cProtocol::Version::Version_1_10_0:
- case cProtocol::Version::Version_1_11_0:
- case cProtocol::Version::Version_1_11_1:
- case cProtocol::Version::Version_1_12:
- case cProtocol::Version::Version_1_12_1:
- case cProtocol::Version::Version_1_12_2:
+ case cProtocol::Version::v1_9_4:
+ case cProtocol::Version::v1_10_0:
+ case cProtocol::Version::v1_11_0:
+ case cProtocol::Version::v1_11_1:
+ case cProtocol::Version::v1_12:
+ case cProtocol::Version::v1_12_1:
+ case cProtocol::Version::v1_12_2:
{
Serialize110(Entry.second);
continue;
}
- case cProtocol::Version::Version_1_13:
+ case cProtocol::Version::v1_13:
{
Serialize393<&Palette_1_13::FromBlock>(Entry.second); // This version didn't last very long xD
continue;
}
- case cProtocol::Version::Version_1_13_1:
- case cProtocol::Version::Version_1_13_2:
+ case cProtocol::Version::v1_13_1:
+ case cProtocol::Version::v1_13_2:
{
Serialize393<&Palette_1_13_1::FromBlock>(Entry.second);
continue;
}
- case cProtocol::Version::Version_1_14:
+ case cProtocol::Version::v1_14:
{
Serialize477(Entry.second);
continue;