diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-07 10:24:06 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-07 10:24:06 +0200 |
commit | 8aa88e7815125f2d74e9c7bc2ccebf96a7b4f67a (patch) | |
tree | f465b61e911b8c11b6adf7a341c691c7e5e03365 /source/Protocol/Protocol132.cpp | |
parent | made the permission page more manageable. (diff) | |
download | cuberite-8aa88e7815125f2d74e9c7bc2ccebf96a7b4f67a.tar cuberite-8aa88e7815125f2d74e9c7bc2ccebf96a7b4f67a.tar.gz cuberite-8aa88e7815125f2d74e9c7bc2ccebf96a7b4f67a.tar.bz2 cuberite-8aa88e7815125f2d74e9c7bc2ccebf96a7b4f67a.tar.lz cuberite-8aa88e7815125f2d74e9c7bc2ccebf96a7b4f67a.tar.xz cuberite-8aa88e7815125f2d74e9c7bc2ccebf96a7b4f67a.tar.zst cuberite-8aa88e7815125f2d74e9c7bc2ccebf96a7b4f67a.zip |
Diffstat (limited to 'source/Protocol/Protocol132.cpp')
-rw-r--r-- | source/Protocol/Protocol132.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/source/Protocol/Protocol132.cpp b/source/Protocol/Protocol132.cpp index eb73fde96..c10338f54 100644 --- a/source/Protocol/Protocol132.cpp +++ b/source/Protocol/Protocol132.cpp @@ -67,7 +67,10 @@ enum PACKET_BLOCK_ACTION = 0x36,
PACKET_BLOCK_BREAK_ANIM = 0x37,
PACKET_SOUND_EFFECT = 0x3e,
- PACKET_SOUND_PARTICLE_EFFECT = 0x3d
+ PACKET_SOUND_PARTICLE_EFFECT = 0x3d,
+ PACKET_LOCALE_VIEW_DISTANCE = 0xcc,
+ PACKET_CLIENT_STATUSES = 0xcd,
+ PACKET_ENCRYPTION_KEY_RESP = 0xfc,
} ;
@@ -468,10 +471,10 @@ int cProtocol132::ParsePacket(unsigned char a_PacketType) {
switch (a_PacketType)
{
- default: return super::ParsePacket(a_PacketType); // off-load previously known packets into cProtocol125
- case 0xcc: return ParseLocaleViewDistance();
- case 0xcd: return ParseClientStatuses();
- case 0xfc: return ParseEncryptionKeyResponse();
+ default: return super::ParsePacket(a_PacketType); // off-load previously known packets into cProtocol125
+ case PACKET_LOCALE_VIEW_DISTANCE: return ParseLocaleViewDistance();
+ case PACKET_CLIENT_STATUSES: return ParseClientStatuses();
+ case PACKET_ENCRYPTION_KEY_RESP: return ParseEncryptionKeyResponse();
}
}
|