PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
pocketmine\world\format\io\LoadedChunkData Class Reference
+ Collaboration diagram for pocketmine\world\format\io\LoadedChunkData:

Public Member Functions

 __construct (private ChunkData $data, private bool $upgraded, private int $fixerFlags)
 
 getData ()
 
 getFixerFlags ()
 
 isUpgraded ()
 

Public Attributes

const FIXER_FLAG_ALL = ~0
 
const FIXER_FLAG_NONE = 0
 

Detailed Description

Encapsulates information returned when loading a chunk. This includes more information than saving a chunk, since the data might have been upgraded or need post-processing.

Definition at line 30 of file LoadedChunkData.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\format\io\LoadedChunkData::__construct ( private ChunkData  $data,
private bool  $upgraded,
private int  $fixerFlags 
)

Definition at line 34 of file LoadedChunkData.php.

Member Function Documentation

◆ getData()

pocketmine\world\format\io\LoadedChunkData::getData ( )

Definition at line 40 of file LoadedChunkData.php.

◆ getFixerFlags()

pocketmine\world\format\io\LoadedChunkData::getFixerFlags ( )

Definition at line 44 of file LoadedChunkData.php.

◆ isUpgraded()

pocketmine\world\format\io\LoadedChunkData::isUpgraded ( )

Definition at line 42 of file LoadedChunkData.php.

Member Data Documentation

◆ FIXER_FLAG_ALL

const pocketmine\world\format\io\LoadedChunkData::FIXER_FLAG_ALL = ~0

Definition at line 32 of file LoadedChunkData.php.

◆ FIXER_FLAG_NONE

const pocketmine\world\format\io\LoadedChunkData::FIXER_FLAG_NONE = 0

Definition at line 31 of file LoadedChunkData.php.


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