diff options
author | Mattes D <github@xoft.cz> | 2016-12-16 00:28:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-16 00:28:12 +0100 |
commit | 71e14ee358e59314498e9b46484eff7e34ae6442 (patch) | |
tree | 56ca5369d83504ac063dbc3139f72dc2cdf42610 /src/Protocol/ProtocolRecognizer.h | |
parent | APIDump: Load the official undocumented from alternate location. (diff) | |
parent | CompositeChat: Use shorter JSON format. (diff) | |
download | cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar.gz cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar.bz2 cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar.lz cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar.xz cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar.zst cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Protocol/ProtocolRecognizer.h b/src/Protocol/ProtocolRecognizer.h index 560819705..081b2136e 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.8.x, 1.9.x, 1.10.x" -#define MCS_PROTOCOL_VERSIONS "47, 107, 108, 109, 110, 210" +#define MCS_CLIENT_VERSIONS "1.8.x, 1.9.x, 1.10.x, 1.11" +#define MCS_PROTOCOL_VERSIONS "47, 107, 108, 109, 110, 210, 315" @@ -39,6 +39,7 @@ public: PROTO_VERSION_1_9_2 = 109, PROTO_VERSION_1_9_4 = 110, PROTO_VERSION_1_10_0 = 210, + PROTO_VERSION_1_11_0 = 315, } ; cProtocolRecognizer(cClientHandle * a_Client); @@ -61,7 +62,7 @@ public: virtual void SendChat (const cCompositeChat & a_Message, eChatType a_Type, bool a_ShouldUseChatPrefixes) override; virtual void SendChatRaw (const AString & a_MessageRaw, eChatType a_Type) override; virtual void SendChunkData (int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer) override; - virtual void SendCollectEntity (const cEntity & a_Entity, const cPlayer & a_Player) override; + virtual void SendCollectEntity (const cEntity & a_Entity, const cPlayer & a_Player, int a_Count) override; virtual void SendDestroyEntity (const cEntity & a_Entity) override; virtual void SendDetachEntity (const cEntity & a_Entity, const cEntity & a_PreviousVehicle) override; virtual void SendDisconnect (const AString & a_Reason) override; |