summaryrefslogtreecommitdiffstats
path: root/Tools/ProtoProxy/Connection.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-29 22:55:00 +0100
committermadmaxoft <github@xoft.cz>2013-10-29 22:55:16 +0100
commite4906b302705796c0e2e7e7df217f67563f23572 (patch)
tree9c1da0ea8a024eb2ec389d6b306f9d70ca00f2d9 /Tools/ProtoProxy/Connection.h
parentMerge pull request #301 from SamJBarney/master (diff)
downloadcuberite-e4906b302705796c0e2e7e7df217f67563f23572.tar
cuberite-e4906b302705796c0e2e7e7df217f67563f23572.tar.gz
cuberite-e4906b302705796c0e2e7e7df217f67563f23572.tar.bz2
cuberite-e4906b302705796c0e2e7e7df217f67563f23572.tar.lz
cuberite-e4906b302705796c0e2e7e7df217f67563f23572.tar.xz
cuberite-e4906b302705796c0e2e7e7df217f67563f23572.tar.zst
cuberite-e4906b302705796c0e2e7e7df217f67563f23572.zip
Diffstat (limited to 'Tools/ProtoProxy/Connection.h')
-rw-r--r--Tools/ProtoProxy/Connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/ProtoProxy/Connection.h b/Tools/ProtoProxy/Connection.h
index 56d443b86..c2bce30fb 100644
--- a/Tools/ProtoProxy/Connection.h
+++ b/Tools/ProtoProxy/Connection.h
@@ -157,6 +157,8 @@ protected:
bool HandleClientUseEntity(void);
bool HandleClientWindowClick(void);
bool HandleClientWindowClose(void);
+
+ bool HandleClientUnknownPacket(UInt32 a_PacketType, UInt32 a_PacketLen, UInt32 a_PacketReadSoFar);
// Packet handling, server-side, login:
bool HandleServerLoginDisconnect(void);
@@ -222,6 +224,8 @@ protected:
bool HandleServerWindowContents(void);
bool HandleServerWindowOpen(void);
+ bool HandleServerUnknownPacket(UInt32 a_PacketType, UInt32 a_PacketLen, UInt32 a_PacketReadSoFar);
+
/// Parses the slot data in a_Buffer into item description; returns true if successful, false if not enough data
bool ParseSlot(cByteBuffer & a_Buffer, AString & a_ItemDesc);