PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\world\format\io\region\RegionLocationTableEntry Class Reference
+ Collaboration diagram for pocketmine\world\format\io\region\RegionLocationTableEntry:

Public Member Functions

 __construct (int $firstSector, int $sectorCount, int $timestamp)
 
 getFirstSector ()
 
 getLastSector ()
 
 getSectorCount ()
 
 getTimestamp ()
 
 getUsedSectors ()
 
 overlaps (RegionLocationTableEntry $other)
 

Detailed Description

Definition at line 28 of file RegionLocationTableEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\format\io\region\RegionLocationTableEntry::__construct ( int $firstSector,
int $sectorCount,
int $timestamp )
Exceptions

InvalidArgumentException

Definition at line 37 of file RegionLocationTableEntry.php.

Member Function Documentation

◆ getFirstSector()

pocketmine\world\format\io\region\RegionLocationTableEntry::getFirstSector ( )

Definition at line 49 of file RegionLocationTableEntry.php.

◆ getLastSector()

pocketmine\world\format\io\region\RegionLocationTableEntry::getLastSector ( )

Definition at line 53 of file RegionLocationTableEntry.php.

◆ getSectorCount()

pocketmine\world\format\io\region\RegionLocationTableEntry::getSectorCount ( )

@phpstan-return positive-int

Definition at line 68 of file RegionLocationTableEntry.php.

◆ getTimestamp()

pocketmine\world\format\io\region\RegionLocationTableEntry::getTimestamp ( )

Definition at line 72 of file RegionLocationTableEntry.php.

◆ getUsedSectors()

pocketmine\world\format\io\region\RegionLocationTableEntry::getUsedSectors ( )

Returns an array of sector offsets reserved by this chunk.

Returns
int[]

Definition at line 61 of file RegionLocationTableEntry.php.

◆ overlaps()

pocketmine\world\format\io\region\RegionLocationTableEntry::overlaps ( RegionLocationTableEntry $other)

Definition at line 76 of file RegionLocationTableEntry.php.


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