From 184d7269c111144a0f640923d9f34528290fcc29 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 18 Sep 2012 11:59:41 +0000 Subject: ProtoProxy: Added the ENTITY-class packets handling git-svn-id: http://mc-server.googlecode.com/svn/trunk@863 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- ProtoProxy/Connection.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ProtoProxy/Connection.h') diff --git a/ProtoProxy/Connection.h b/ProtoProxy/Connection.h index 65f916077..d45ef5d4e 100644 --- a/ProtoProxy/Connection.h +++ b/ProtoProxy/Connection.h @@ -124,7 +124,15 @@ protected: bool HandleServerCompass(void); bool HandleServerEncryptionKeyRequest(void); bool HandleServerEncryptionKeyResponse(void); + bool HandleServerEntity(void); + bool HandleServerEntityHeadLook(void); + bool HandleServerEntityMetadata(void); bool HandleServerEntityEquipment(void); + bool HandleServerEntityLook(void); + bool HandleServerEntityRelativeMove(void); + bool HandleServerEntityRelativeMoveLook(void); + bool HandleServerEntityStatus(void); + bool HandleServerEntityTeleport(void); bool HandleServerKeepAlive(void); bool HandleServerKick(void); bool HandleServerLogin(void); @@ -145,6 +153,9 @@ protected: /// 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); + /// Parses the metadata in a_Buffer into raw metadata in an AString; returns true if successful, false if not enough data + bool ParseMetadata(cByteBuffer & a_Buffer, AString & a_Metadata); + /// Send EKResp to the server: void SendEncryptionKeyResponse(const AString & a_ServerPublicKey, const AString & a_Nonce); -- cgit v1.2.3