PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\event\level\ChunkEvent Class Reference
+ Inheritance diagram for pocketmine\event\level\ChunkEvent:
+ Collaboration diagram for pocketmine\event\level\ChunkEvent:

Public Member Functions

 __construct (FullChunk $chunk)
 
 getChunk ()
 
 getLevel ()
 
 getEventName ()
 
 getHandlers ()
 

Protected Attributes

 $eventName = null
 

Detailed Description

Definition at line 29 of file ChunkEvent.php.

Constructor & Destructor Documentation

pocketmine\event\level\ChunkEvent::__construct ( FullChunk  $chunk)
Parameters
FullChunk$chunk

Definition at line 36 of file ChunkEvent.php.

References pocketmine\level\format\FullChunk\getProvider().

+ Here is the call graph for this function:

Member Function Documentation

pocketmine\event\level\ChunkEvent::getChunk ( )
Returns
FullChunk

Definition at line 44 of file ChunkEvent.php.

pocketmine\event\Event::getEventName ( )
finalinherited
Returns
string

Definition at line 45 of file Event.php.

References pocketmine\event\Event\$eventName.

Referenced by pocketmine\plugin\PluginManager\callEvent().

+ Here is the caller graph for this function:

pocketmine\event\Event::getHandlers ( )
inherited
Returns
HandlerList

Definition at line 82 of file Event.php.

Referenced by pocketmine\plugin\PluginManager\callEvent().

+ Here is the caller graph for this function:

pocketmine\event\level\LevelEvent::getLevel ( )
inherited
Returns

Definition at line 44 of file LevelEvent.php.

Member Data Documentation

pocketmine\event\Event::$eventName = null
protectedinherited

Any callable event must declare the static variable

public static $handlerList = null; public static $eventPool = []; public static $nextEvent = 0;

Not doing so will deny the proper event initialization

Definition at line 39 of file Event.php.

Referenced by pocketmine\event\Event\getEventName().


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