Refactor a bunch of network-related things for easier auto-generation of protocol stuff

This commit is contained in:
Dylan K. Taylor
2017-07-12 16:32:39 +01:00
parent e485999218
commit 30df0c2418
16 changed files with 818 additions and 1115 deletions

View File

@ -43,11 +43,11 @@ interface ProtocolInfo{
/**
* Current Minecraft PE version reported by the server. This is usually the earliest currently supported version.
*/
const MINECRAFT_VERSION = 'v1.1.0.55';
const MINECRAFT_VERSION = 'v1.1.3.1 beta';
/**
* Version number sent to clients in ping responses.
*/
const MINECRAFT_VERSION_NETWORK = '1.1.0.55';
const MINECRAFT_VERSION_NETWORK = '1.1.3.1';
const LOGIN_PACKET = 0x01;
const PLAY_STATUS_PACKET = 0x02;