summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-04-15 08:16:16 +0200
committerMattes D <github@xoft.cz>2014-04-15 08:16:16 +0200
commit112dd2c5ec60b55807f73ada7057488a98e769a5 (patch)
tree7fe960574b01b1bc1b76327a3f163fd2f69d06ce /src/Protocol/ProtocolRecognizer.h
parentProtoProxy: Fixed weird gcc compilation errors. (diff)
parentImplemented the 1.7.6 protocol and authenticator. (diff)
downloadcuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar.gz
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar.bz2
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar.lz
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar.xz
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar.zst
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/ProtocolRecognizer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Protocol/ProtocolRecognizer.h b/src/Protocol/ProtocolRecognizer.h
index 072d7c2d2..408109ef4 100644
--- a/src/Protocol/ProtocolRecognizer.h
+++ b/src/Protocol/ProtocolRecognizer.h
@@ -18,8 +18,8 @@
// Adjust these if a new protocol is added or an old one is removed:
-#define MCS_CLIENT_VERSIONS "1.2.4, 1.2.5, 1.3.1, 1.3.2, 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.7.2, 1.7.4"
-#define MCS_PROTOCOL_VERSIONS "29, 39, 47, 49, 51, 60, 61, 73, 74, 77, 78, 4"
+#define MCS_CLIENT_VERSIONS "1.2.4, 1.2.5, 1.3.1, 1.3.2, 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.7.2, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9"
+#define MCS_PROTOCOL_VERSIONS "29, 39, 47, 49, 51, 60, 61, 73, 74, 77, 78, 4, 5"
@@ -50,6 +50,7 @@ public:
// These will be kept "under" the next / latest, because the next and latest are only needed for previous protocols
PROTO_VERSION_1_7_2 = 4,
+ PROTO_VERSION_1_7_6 = 5,
} ;
cProtocolRecognizer(cClientHandle * a_Client);
@@ -90,6 +91,7 @@ public:
virtual void SendInventorySlot (char a_WindowID, short a_SlotNum, const cItem & a_Item) override;
virtual void SendKeepAlive (int a_PingID) override;
virtual void SendLogin (const cPlayer & a_Player, const cWorld & a_World) override;
+ virtual void SendLoginSuccess (void) override;
virtual void SendMapColumn (int a_ID, int a_X, int a_Y, const Byte * a_Colors, unsigned int a_Length) override;
virtual void SendMapDecorators (int a_ID, const cMapDecoratorList & a_Decorators) override;
virtual void SendMapInfo (int a_ID, unsigned int a_Scale) override;