From 4f052b2650a3b8ada0c6912067b1b8237382184b Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 7 Sep 2012 20:15:06 +0000 Subject: ProtoProxy: fixed a few mis-interpreted packets, added block placement packet parsing. Added leftover dumping for unparsed data (should not happen, if so, parsing is probably wrong) git-svn-id: http://mc-server.googlecode.com/svn/trunk@845 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- ProtoProxy/Connection.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ProtoProxy/Connection.h') diff --git a/ProtoProxy/Connection.h b/ProtoProxy/Connection.h index 3ce2a9c5c..c6417ae41 100644 --- a/ProtoProxy/Connection.h +++ b/ProtoProxy/Connection.h @@ -97,15 +97,20 @@ protected: bool DecodeServersPackets(const char * a_Data, int a_Size); // Packet handling, client-side: + bool HandleClientAnimation(void); + bool HandleClientBlockPlace(void); bool HandleClientClientStatuses(void); bool HandleClientEncryptionKeyResponse(void); bool HandleClientHandshake(void); + bool HandleClientKeepAlive(void); bool HandleClientLocaleAndView(void); bool HandleClientPing(void); bool HandleClientPlayerLook(void); bool HandleClientPlayerOnGround(void); bool HandleClientPlayerPosition(void); bool HandleClientPlayerPositionLook(void); + bool HandleClientSlotSelect(void); + bool HandleClientUpdateSign(void); // Packet handling, server-side: bool HandleServerBlockChange(void); @@ -124,6 +129,7 @@ protected: bool HandleServerPlayerPositionLook(void); bool HandleServerTimeUpdate(void); bool HandleServerUpdateHealth(void); + bool HandleServerUpdateSign(void); bool HandleServerWindowContents(void); /// Parses the slot data in a_Buffer into item description; returns true if successful, false if not enough data -- cgit v1.2.3