Manages thread-local caches for generators and the things needed to support them
Definition at line 29 of file ThreadLocalGeneratorContext.php.
◆ __construct()
pocketmine\world\generator\ThreadLocalGeneratorContext::__construct |
( |
private Generator | $generator, |
|
|
private int | $worldMinY, |
|
|
private int | $worldMaxY ) |
◆ fetch()
static pocketmine\world\generator\ThreadLocalGeneratorContext::fetch |
( |
int | $worldId | ) |
|
|
static |
◆ getGenerator()
pocketmine\world\generator\ThreadLocalGeneratorContext::getGenerator |
( |
| ) |
|
◆ getWorldMaxY()
pocketmine\world\generator\ThreadLocalGeneratorContext::getWorldMaxY |
( |
| ) |
|
◆ getWorldMinY()
pocketmine\world\generator\ThreadLocalGeneratorContext::getWorldMinY |
( |
| ) |
|
◆ register()
static pocketmine\world\generator\ThreadLocalGeneratorContext::register |
( |
self | $context, |
|
|
int | $worldId ) |
|
static |
◆ unregister()
static pocketmine\world\generator\ThreadLocalGeneratorContext::unregister |
( |
int | $worldId | ) |
|
|
static |
The documentation for this class was generated from the following file: