|
PocketMine-MP 5.39.3 git-9a46a8bd745880ddf8eebaf28cda326bb97d2efa
|
Inheritance diagram for pocketmine\world\generator\executor\AsyncGeneratorExecutor:
Collaboration diagram for pocketmine\world\generator\executor\AsyncGeneratorExecutor:Public Member Functions | |
| __construct (\Logger $logger, private readonly AsyncPool $workerPool, private readonly GeneratorExecutorSetupParameters $setupParameters, ?int $asyncContextId=null) | |
| populate (int $chunkX, int $chunkZ, ?Chunk $centerChunk, array $adjacentChunks, \Closure $onCompletion) | |
| shutdown () | |
Definition at line 31 of file AsyncGeneratorExecutor.php.
| pocketmine\world\generator\executor\AsyncGeneratorExecutor::__construct | ( | \Logger | $logger, |
| private readonly AsyncPool | $workerPool, | ||
| private readonly GeneratorExecutorSetupParameters | $setupParameters, | ||
| ?int | $asyncContextId = null ) |
Definition at line 47 of file AsyncGeneratorExecutor.php.
| pocketmine\world\generator\executor\AsyncGeneratorExecutor::populate | ( | int | $chunkX, |
| int | $chunkZ, | ||
| ?Chunk | $centerChunk, | ||
| array | $adjacentChunks, | ||
| \Closure | $onCompletion ) |
| Chunk[] | null[] | $adjacentChunks | @phpstan-param array<int, Chunk|null> $adjacentChunks @phpstan-param \Closure(Chunk $centerChunk, array<int, Chunk> $adjacentChunks) : void $onCompletion |
Implements pocketmine\world\generator\executor\GeneratorExecutor.
Definition at line 82 of file AsyncGeneratorExecutor.php.
| pocketmine\world\generator\executor\AsyncGeneratorExecutor::shutdown | ( | ) |
Implements pocketmine\world\generator\executor\GeneratorExecutor.
Definition at line 102 of file AsyncGeneratorExecutor.php.