mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 08:56:15 +00:00
Add decode for ResourcePackClientResponse (fields unknown)
This commit is contained in:
@ -27,8 +27,12 @@ namespace pocketmine\network\protocol;
|
|||||||
class ResourcePackClientResponsePacket extends DataPacket{
|
class ResourcePackClientResponsePacket extends DataPacket{
|
||||||
const NETWORK_ID = Info::RESOURCE_PACK_CLIENT_RESPONSE_PACKET;
|
const NETWORK_ID = Info::RESOURCE_PACK_CLIENT_RESPONSE_PACKET;
|
||||||
|
|
||||||
|
public $unknownByte;
|
||||||
|
public $unknownShort;
|
||||||
|
|
||||||
public function decode(){
|
public function decode(){
|
||||||
var_dump($this->buffer);
|
$this->unknownByte = $this->getByte();
|
||||||
|
$this->unknownShort = $this->getShort();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function encode(){
|
public function encode(){
|
||||||
|
Reference in New Issue
Block a user