1.8 Protocol Update

Adds the new 1.8 protocol.
But <1.7 is getting removed.





From: Mattes D
Sent: ‎Wednesday‎, ‎17‎ ‎September‎ ‎2014 ‎20‎:‎34
To: mc-server/MCServer
Cc: Tiger Wang





In src/Protocol/ProtocolRecognizer.h:
> @@ -51,6 +51,7 @@ class cProtocolRecognizer :
>  		// 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,
> +		PROTO_VERSION_1_8_0 = 47,


No, it just makes it impossible to store the protocol version as the number that the protocol reports - you wouldn't know whether the client is 1.8 or 1.4.2. This is mainly an API concern - if there was a cClientHandle->GetProtocolVersion(), it would have to mangle the versions somehow (and fear of this happening was my main reason for not implementing such a function in the first place).

—
Reply to this email directly or view it on GitHub.