mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Protocol changes for 1.6.0.5, minus Entity->Actor rename
This commit is contained in:
parent
566f3c6262
commit
424c50e1e9
@ -39,15 +39,15 @@ interface ProtocolInfo{
|
|||||||
/**
|
/**
|
||||||
* Actual Minecraft: PE protocol version
|
* 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.
|
* 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.
|
* 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 LOGIN_PACKET = 0x01;
|
||||||
public const PLAY_STATUS_PACKET = 0x02;
|
public const PLAY_STATUS_PACKET = 0x02;
|
||||||
|
@ -70,6 +70,7 @@ class ResourcePacksInfoPacket extends DataPacket{
|
|||||||
$this->putLLong($entry->getPackSize());
|
$this->putLLong($entry->getPackSize());
|
||||||
$this->putString(""); //TODO: encryption key
|
$this->putString(""); //TODO: encryption key
|
||||||
$this->putString(""); //TODO: subpack name
|
$this->putString(""); //TODO: subpack name
|
||||||
|
$this->putString(""); //TODO: content identity
|
||||||
}
|
}
|
||||||
$this->putLShort(count($this->resourcePackEntries));
|
$this->putLShort(count($this->resourcePackEntries));
|
||||||
foreach($this->resourcePackEntries as $entry){
|
foreach($this->resourcePackEntries as $entry){
|
||||||
@ -78,6 +79,7 @@ class ResourcePacksInfoPacket extends DataPacket{
|
|||||||
$this->putLLong($entry->getPackSize());
|
$this->putLLong($entry->getPackSize());
|
||||||
$this->putString(""); //TODO: encryption key
|
$this->putString(""); //TODO: encryption key
|
||||||
$this->putString(""); //TODO: subpack name
|
$this->putString(""); //TODO: subpack name
|
||||||
|
$this->putString(""); //TODO: content identity
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user