summaryrefslogtreecommitdiffstats
path: root/Tools/ProtoProxy/Connection.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-28 23:05:53 +0100
committermadmaxoft <github@xoft.cz>2013-10-28 23:05:53 +0100
commitfe82ada08459578556adb3b304ea548d8a2db936 (patch)
tree9b34e3576d91829a0c696f57e7ef0717ea746a38 /Tools/ProtoProxy/Connection.h
parentProtoProxy: Fixed compilation after the previous cByteBuffer changes. (diff)
downloadcuberite-fe82ada08459578556adb3b304ea548d8a2db936.tar
cuberite-fe82ada08459578556adb3b304ea548d8a2db936.tar.gz
cuberite-fe82ada08459578556adb3b304ea548d8a2db936.tar.bz2
cuberite-fe82ada08459578556adb3b304ea548d8a2db936.tar.lz
cuberite-fe82ada08459578556adb3b304ea548d8a2db936.tar.xz
cuberite-fe82ada08459578556adb3b304ea548d8a2db936.tar.zst
cuberite-fe82ada08459578556adb3b304ea548d8a2db936.zip
Diffstat (limited to '')
-rw-r--r--Tools/ProtoProxy/Connection.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tools/ProtoProxy/Connection.h b/Tools/ProtoProxy/Connection.h
index 6093408d6..d1006c95a 100644
--- a/Tools/ProtoProxy/Connection.h
+++ b/Tools/ProtoProxy/Connection.h
@@ -79,6 +79,9 @@ protected:
/// Set to true when PACKET_PING is received from the client; will cause special parsing for server kick
bool m_HasClientPinged;
+
+ /// State the protocol is in (as defined by the initial handshake), -1 if no initial handshake received yet
+ int m_ProtocolState;
bool ConnectToServer(void);
@@ -130,6 +133,8 @@ protected:
bool HandleClientPlayerPositionLook(void);
bool HandleClientPluginMessage(void);
bool HandleClientSlotSelect(void);
+ bool HandleClientStatusPing(void);
+ bool HandleClientStatusRequest(void);
bool HandleClientTabCompletion(void);
bool HandleClientUpdateSign(void);
bool HandleClientUseEntity(void);
@@ -181,6 +186,8 @@ protected:
bool HandleServerSpawnObjectVehicle(void);
bool HandleServerSpawnPainting(void);
bool HandleServerSpawnPickup(void);
+ bool HandleServerStatusPing(void);
+ bool HandleServerStatusResponse(void);
bool HandleServerTabCompletion(void);
bool HandleServerTimeUpdate(void);
bool HandleServerUpdateHealth(void);