PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\level\generator\GenerationRequestManager Class Reference
+ Inheritance diagram for pocketmine\level\generator\GenerationRequestManager:
+ Collaboration diagram for pocketmine\level\generator\GenerationRequestManager:

Public Member Functions

 __construct (Server $server)
 
 openLevel (Level $level, $generator, array $options=[])
 
 closeLevel (Level $level)
 
 addNamespace ($namespace, $path)
 
 requestChunk (Level $level, $chunkX, $chunkZ)
 
 process ()
 
 shutdown ()
 

Protected Member Functions

 sendChunk ($levelID, FullChunk $chunk)
 
 handleRequest ($levelID, $chunkX, $chunkZ)
 
 receiveChunk ($levelID, FullChunk $chunk)
 

Protected Attributes

 $server
 
 $generationThread
 

Detailed Description

Definition at line 30 of file GenerationRequestManager.php.

Constructor & Destructor Documentation

pocketmine\level\generator\GenerationRequestManager::__construct ( Server  $server)
Parameters
Server$server

Definition at line 43 of file GenerationRequestManager.php.

References pocketmine\Server\getLoader(), and pocketmine\Server\getLogger().

+ Here is the call graph for this function:

Member Function Documentation

pocketmine\level\generator\GenerationRequestManager::closeLevel ( Level  $level)
Parameters
Level$level

Definition at line 65 of file GenerationRequestManager.php.

References pocketmine\level\Level\getId().

+ Here is the call graph for this function:

pocketmine\level\generator\GenerationRequestManager::openLevel ( Level  $level,
  $generator,
array  $options = [] 
)
Parameters
Level$level
string$generator
array$options

Definition at line 55 of file GenerationRequestManager.php.

References pocketmine\level\Level\getId(), pocketmine\level\Level\getSeed(), and pocketmine\utils\Binary\writeShort().

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: