pocketmine\network\protocol\LevelSoundEventPacket::decode PHP Метод

decode() публичный Метод

public decode ( )
    public function decode()
    {
        $this->sound = $this->getByte();
        $this->getVector3f($this->x, $this->y, $this->z);
        $this->type = $this->getVarInt();
        $this->pitch = $this->getVarInt();
        $this->unknownBool = $this->getBool();
        $this->unknownBool2 = $this->getBool();
        print $this->sound;
        print $this->unknownBool;
        print $this->unknownBool2;
    }