ChunkRequestTask
Extends AsyncTask
Properties
$chunk protected
php
protected string $chunk$chunkX protected
php
protected int $chunkX$chunkZ protected
php
protected int $chunkZ$compressor protected
php
protected \pocketmine\thread\NonThreadSafeValue $compressorMethods
__construct()
php
public function __construct(int $chunkX, int $chunkZ, int $dimensionId, \pocketmine\world\format\Chunk $chunk, \pocketmine\network\mcpe\compression\CompressBatchPromise $promise, \pocketmine\network\mcpe\compression\Compressor $compressor)onCompletion()
php
public function onCompletion() : voidonRun()
php
public function onRun() : void