Protocol changes for 1.6.0.5, minus Entity->Actor rename

This commit is contained in:
Dylan K. Taylor 2018-08-21 17:36:29 +01:00
parent 566f3c6262
commit 424c50e1e9
2 changed files with 5 additions and 3 deletions

View File

@ -39,15 +39,15 @@ interface ProtocolInfo{
/**
* Actual Minecraft: PE protocol version
*/
public const CURRENT_PROTOCOL = 280;
public const CURRENT_PROTOCOL = 281;
/**
* Current Minecraft PE version reported by the server. This is usually the earliest currently supported version.
*/
public const MINECRAFT_VERSION = 'v1.6.0.1 beta';
public const MINECRAFT_VERSION = 'v1.6.0.5 beta';
/**
* Version number sent to clients in ping responses.
*/
public const MINECRAFT_VERSION_NETWORK = '1.6.0.1';
public const MINECRAFT_VERSION_NETWORK = '1.6.0.5';
public const LOGIN_PACKET = 0x01;
public const PLAY_STATUS_PACKET = 0x02;

View File

@ -70,6 +70,7 @@ class ResourcePacksInfoPacket extends DataPacket{
$this->putLLong($entry->getPackSize());
$this->putString(""); //TODO: encryption key
$this->putString(""); //TODO: subpack name
$this->putString(""); //TODO: content identity
}
$this->putLShort(count($this->resourcePackEntries));
foreach($this->resourcePackEntries as $entry){
@ -78,6 +79,7 @@ class ResourcePacksInfoPacket extends DataPacket{
$this->putLLong($entry->getPackSize());
$this->putString(""); //TODO: encryption key
$this->putString(""); //TODO: subpack name
$this->putString(""); //TODO: content identity
}
}