mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-27 13:23:44 +00:00
Added some type docs to RegionLoader
This commit is contained in:
parent
18448cbcb8
commit
7f5fe137d1
@ -39,16 +39,22 @@ class RegionLoader{
|
||||
|
||||
public static $COMPRESSION_LEVEL = 7;
|
||||
|
||||
/** @var int */
|
||||
protected $x;
|
||||
/** @var int */
|
||||
protected $z;
|
||||
/** @var string */
|
||||
protected $filePath;
|
||||
/** @var resource */
|
||||
protected $filePointer;
|
||||
/** @var int */
|
||||
protected $lastSector;
|
||||
/** @var McRegion */
|
||||
protected $levelProvider;
|
||||
/** @var int[][] */
|
||||
protected $locationTable = [];
|
||||
|
||||
public $lastUsed;
|
||||
/** @var int */
|
||||
public $lastUsed = 0;
|
||||
|
||||
public function __construct(McRegion $level, int $regionX, int $regionZ, string $fileExtension = McRegion::REGION_FILE_EXTENSION){
|
||||
$this->x = $regionX;
|
||||
|
Loading…
x
Reference in New Issue
Block a user