mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-10 20:08:01 +00:00
Add decode for ResourcePackClientResponse (fields unknown)
This commit is contained in:
parent
df88e9272e
commit
9497dff3ee
@ -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(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user