summaryrefslogtreecommitdiffstats
path: root/ProtoProxy/Connection.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-18 13:59:41 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-18 13:59:41 +0200
commit184d7269c111144a0f640923d9f34528290fcc29 (patch)
tree024714f104330221548f7e6e4c8c27cf86bfea30 /ProtoProxy/Connection.h
parentProtoProxy: Added the PACKET_MAP_CHUNK_BULK packet handling (diff)
downloadcuberite-184d7269c111144a0f640923d9f34528290fcc29.tar
cuberite-184d7269c111144a0f640923d9f34528290fcc29.tar.gz
cuberite-184d7269c111144a0f640923d9f34528290fcc29.tar.bz2
cuberite-184d7269c111144a0f640923d9f34528290fcc29.tar.lz
cuberite-184d7269c111144a0f640923d9f34528290fcc29.tar.xz
cuberite-184d7269c111144a0f640923d9f34528290fcc29.tar.zst
cuberite-184d7269c111144a0f640923d9f34528290fcc29.zip
Diffstat (limited to '')
-rw-r--r--ProtoProxy/Connection.h11
1 files changed, 11 insertions, 0 deletions
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);