summaryrefslogtreecommitdiffstats
path: root/source/Protocol/ProtocolRecognizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Protocol/ProtocolRecognizer.h')
-rw-r--r--source/Protocol/ProtocolRecognizer.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/Protocol/ProtocolRecognizer.h b/source/Protocol/ProtocolRecognizer.h
index a4cec69f8..682e6fcf3 100644
--- a/source/Protocol/ProtocolRecognizer.h
+++ b/source/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"
-#define MCS_PROTOCOL_VERSIONS "29, 39, 47, 49, 51"
+#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"
+#define MCS_PROTOCOL_VERSIONS "29, 39, 47, 49, 51, 60"
@@ -38,8 +38,10 @@ public:
PROTO_VERSION_1_4_2 = 47,
PROTO_VERSION_1_4_4 = 49,
PROTO_VERSION_1_4_6 = 51,
+ PROTO_VERSION_1_5_0 = 60,
- PROTO_VERSION_LATEST = PROTO_VERSION_1_4_6, // Keep this up to date, this serves as the default for PrimaryServerVersion
+ PROTO_VERSION_NEXT,
+ PROTO_VERSION_LATEST = PROTO_VERSION_NEXT - 1, ///< Automatically assigned to the last protocol version, this serves as the default for PrimaryServerVersion
} ;
cProtocolRecognizer(cClientHandle * a_Client);