PocketMine
RegionLoader Class Reference
Inheritance diagram for RegionLoader:
RegionLoader

Public Member Functions

 __construct (LevelProvider $level, $regionX, $regionZ)
 
- Public Member Functions inherited from RegionLoader
 __construct (LevelProvider $level, $regionX, $regionZ)
 
 readChunk ($x, $z)
 
 chunkExists ($x, $z)
 
 removeChunk ($x, $z)
 
 writeChunk (FullChunk $chunk)
 
 close ()
 
 doSlowCleanUp ()
 
 getX ()
 
 getZ ()
 

Protected Member Functions

 unserializeChunk ($data)
 
- Protected Member Functions inherited from RegionLoader
 isChunkGenerated ($index)
 
 unserializeChunk ($data)
 
 saveChunk ($x, $z, $chunkData)
 
 loadLocationTable ()
 
 writeLocationIndex ($index)
 
 createBlank ()
 

Additional Inherited Members

- Data Fields inherited from RegionLoader
const VERSION = 1
 
const COMPRESSION_GZIP = 1
 
const COMPRESSION_ZLIB = 2
 
const MAX_SECTOR_LENGTH = 256 << 12
 
 $lastUsed
 
- Static Public Attributes inherited from RegionLoader
static $COMPRESSION_LEVEL = 7
 
- Static Protected Member Functions inherited from RegionLoader
static getChunkOffset ($x, $z)
 
- Protected Attributes inherited from RegionLoader
 $x
 
 $z
 
 $filePath
 
 $filePointer
 
 $lastSector
 
 $levelProvider
 
 $locationTable = []
 

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