summaryrefslogtreecommitdiffstats
path: root/source/Protocol132.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-30 11:56:59 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-30 11:56:59 +0200
commitf5fe723b2a704da475b24a594fd59f448cf133a3 (patch)
tree6965c6df44d2b042ca62034119466127fd01b5da /source/Protocol132.h
parentcProtocol handles the initial handshake up to player login (diff)
downloadcuberite-f5fe723b2a704da475b24a594fd59f448cf133a3.tar
cuberite-f5fe723b2a704da475b24a594fd59f448cf133a3.tar.gz
cuberite-f5fe723b2a704da475b24a594fd59f448cf133a3.tar.bz2
cuberite-f5fe723b2a704da475b24a594fd59f448cf133a3.tar.lz
cuberite-f5fe723b2a704da475b24a594fd59f448cf133a3.tar.xz
cuberite-f5fe723b2a704da475b24a594fd59f448cf133a3.tar.zst
cuberite-f5fe723b2a704da475b24a594fd59f448cf133a3.zip
Diffstat (limited to 'source/Protocol132.h')
-rw-r--r--source/Protocol132.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/source/Protocol132.h b/source/Protocol132.h
new file mode 100644
index 000000000..af3e78ecc
--- /dev/null
+++ b/source/Protocol132.h
@@ -0,0 +1,35 @@
+
+// Protocol132.h
+
+// Interfaces to the cProtocol132 class representing the release 1.3.2 protocol (#39)
+
+
+
+
+
+#pragma once
+
+#include "Protocol125.h"
+
+
+
+
+
+class cProtocol132 :
+ public cProtocol125
+{
+ typedef cProtocol125 super;
+public:
+
+ cProtocol132(cClientHandle * a_Client);
+
+ /// Called when client sends some data:
+ virtual void DataReceived(const char * a_Data, int a_Size) override;
+
+ // Modified packets:
+ virtual int ParseHandshake(void) override;
+} ;
+
+
+
+