PocketMine-MP 5.17.1 git-df4ada81e5d74a14046f27cf44a37dcee69d657e
|
Static Public Member Functions | |
static | deserializeTerrain (string $data) |
static | serializeTerrain (Chunk $chunk) |
This class provides a serializer used for transmitting chunks between threads. The serialization format is not intended for permanent storage and may change without warning.
Definition at line 41 of file FastChunkSerializer.php.
|
static |
Deserializes a fast-serialized chunk
Definition at line 102 of file FastChunkSerializer.php.
|
static |
Fast-serializes the chunk for passing between threads TODO: tiles and entities
Definition at line 63 of file FastChunkSerializer.php.
Referenced by pocketmine\world\light\LightPopulationTask\__construct(), pocketmine\network\mcpe\ChunkRequestTask\__construct(), and pocketmine\world\generator\PopulationTask\__construct().