◆ __construct()
__construct |
( |
Level |
$level | ) |
|
LevelTimings constructor.
- Parameters
-
91 $name = $level->getFolderName() .
" - ";
93 $this->setBlock =
new TimingsHandler(
"** " . $name .
"setBlock");
94 $this->doBlockLightUpdates =
new TimingsHandler(
"** " . $name .
"doBlockLightUpdates");
95 $this->doBlockSkyLightUpdates =
new TimingsHandler(
"** " . $name .
"doBlockSkyLightUpdates");
97 $this->mobSpawn =
new TimingsHandler(
"** " . $name .
"mobSpawn");
98 $this->doChunkUnload =
new TimingsHandler(
"** " . $name .
"doChunkUnload");
99 $this->doTickPending =
new TimingsHandler(
"** " . $name .
"doTickPending");
100 $this->doTickTiles =
new TimingsHandler(
"** " . $name .
"doTickTiles");
101 $this->doVillages =
new TimingsHandler(
"** " . $name .
"doVillages");
102 $this->doChunkMap =
new TimingsHandler(
"** " . $name .
"doChunkMap");
103 $this->doSounds =
new TimingsHandler(
"** " . $name .
"doSounds");
104 $this->doChunkGC =
new TimingsHandler(
"** " . $name .
"doChunkGC");
105 $this->doPortalForcer =
new TimingsHandler(
"** " . $name .
"doPortalForcer");
106 $this->entityTick =
new TimingsHandler(
"** " . $name .
"entityTick");
107 $this->tileEntityTick =
new TimingsHandler(
"** " . $name .
"tileEntityTick");
108 $this->tileEntityPending =
new TimingsHandler(
"** " . $name .
"tileEntityPending");
110 $this->syncChunkSendTimer =
new TimingsHandler(
"** " . $name .
"syncChunkSend");
111 $this->syncChunkSendPrepareTimer =
new TimingsHandler(
"** " . $name .
"syncChunkSendPrepare");
113 $this->syncChunkLoadTimer =
new TimingsHandler(
"** " . $name .
"syncChunkLoad");
114 $this->syncChunkLoadDataTimer =
new TimingsHandler(
"** " . $name .
"syncChunkLoad - Data");
115 $this->syncChunkLoadStructuresTimer =
new TimingsHandler(
"** " . $name .
"syncChunkLoad - Structures");
116 $this->syncChunkLoadEntitiesTimer =
new TimingsHandler(
"** " . $name .
"syncChunkLoad - Entities");
117 $this->syncChunkLoadTileEntitiesTimer =
new TimingsHandler(
"** " . $name .
"syncChunkLoad - TileEntities");
118 $this->syncChunkLoadTileTicksTimer =
new TimingsHandler(
"** " . $name .
"syncChunkLoad - TileTicks");
119 $this->syncChunkLoadPostTimer =
new TimingsHandler(
"** " . $name .
"syncChunkLoad - Post");
121 $this->tracker =
new TimingsHandler($name .
"tracker");
122 $this->doTick =
new TimingsHandler($name .
"doTick");
123 $this->tickEntities =
new TimingsHandler($name .
"tickEntities");
◆ $doBlockLightUpdates
◆ $doBlockSkyLightUpdates
◆ $doChunkGC
◆ $doChunkMap
◆ $doChunkUnload
◆ $doPortalForcer
◆ $doSounds
◆ $doTick
◆ $doTickPending
◆ $doTickTiles
◆ $doVillages
◆ $entityTick
◆ $mobSpawn
◆ $setBlock
◆ $syncChunkLoadDataTimer
◆ $syncChunkLoadEntitiesTimer
$syncChunkLoadEntitiesTimer |
◆ $syncChunkLoadPostTimer
◆ $syncChunkLoadStructuresTimer
$syncChunkLoadStructuresTimer |
◆ $syncChunkLoadTileEntitiesTimer
$syncChunkLoadTileEntitiesTimer |
◆ $syncChunkLoadTileTicksTimer
$syncChunkLoadTileTicksTimer |
◆ $syncChunkLoadTimer
◆ $syncChunkSendPrepareTimer
$syncChunkSendPrepareTimer |
◆ $syncChunkSendTimer
◆ $tickEntities
◆ $tileEntityPending
◆ $tileEntityTick
◆ $tracker
The documentation for this class was generated from the following file:
- src/pocketmine/event/LevelTimings.php