◆ getEventName()
- Returns
- string
47 return $this->eventName === null ? get_class($this) : $this->eventName;
◆ getHandlers()
- Returns
- HandlerList
82 if(static::$handlerList === null){
83 static::$handlerList =
new HandlerList();
86 return static::$handlerList;
◆ $eventName
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
The documentation for this class was generated from the following file:
- src/pocketmine/event/Event.php