PocketMine-MP 5.15.1 git-08c6e63aac45a450fe3b437616ee8aa2500e04e2
pocketmine\world\format\io\FastChunkSerializer Class Reference
+ Collaboration diagram for pocketmine\world\format\io\FastChunkSerializer:

Static Public Member Functions

static deserializeTerrain (string $data)
static serializeTerrain (Chunk $chunk)

Detailed Description

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.

Member Function Documentation

◆ deserializeTerrain()

static pocketmine\world\format\io\FastChunkSerializer::deserializeTerrain ( string  $data)

Deserializes a fast-serialized chunk

Definition at line 102 of file FastChunkSerializer.php.

◆ serializeTerrain()

static pocketmine\world\format\io\FastChunkSerializer::serializeTerrain ( Chunk  $chunk)

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().

+ Here is the caller graph for this function:

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