1
0

Started implementing of the 1.8 protocol.

This commit is contained in:
Howaner
2014-09-04 00:29:36 +02:00
parent 44c1d9c248
commit 157f1c6688
7 changed files with 502 additions and 7 deletions

View File

@@ -1,10 +1,12 @@
// Protocol17x.cpp
/*
Implements the 1.7.x protocol classes:
- cProtocol172
- release 1.7.2 protocol (#4)
(others may be added later in the future for the 1.7 release series)
- cProtocol176
- release 1.7.6 protocol (#5)
*/
#include "Globals.h"
@@ -1710,7 +1712,7 @@ bool cProtocol172::HandlePacket(cByteBuffer & a_ByteBuffer, UInt32 a_PacketType)
void cProtocol172::HandlePacketStatusPing(cByteBuffer & a_ByteBuffer)
{
HANDLE_READ(a_ByteBuffer, ReadBEInt64, Int64, Timestamp);
cPacketizer Pkt(*this, 0x01); // Ping packet
Pkt.WriteInt64(Timestamp);
}