GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
Event Class Reference

Public Member Functions

 getEventName ()
 
 getHandlers ()
 

Protected Attributes

 $eventName = null
 

Member Function Documentation

◆ getEventName()

getEventName ( )
final
Returns
string
46  {
47  return $this->eventName === null ? get_class($this) : $this->eventName;
48  }

◆ getHandlers()

getHandlers ( )
Returns
HandlerList
81  {
82  if(static::$handlerList === null){
83  static::$handlerList = new HandlerList();
84  }
85 
86  return static::$handlerList;
87  }

Field Documentation

◆ $eventName

$eventName = null
protected

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: