PHP Class pocketmine\event\Event

Show file Open project: ClearSkyTeam/ClearSky Class Usage Examples

Protected Properties

Property Type Description
$eventName public static $handlerList = null; public static $eventPool = []; public static $nextEvent = 0; Not doing so will deny the proper event initialization

Public Methods

Method Description
getEventName ( ) : string
getHandlers ( ) : HandlerList
isCancelled ( ) : boolean
setCancelled ( boolean $value = true ) : boolean

Method Details

getEventName() final public method

final public getEventName ( ) : string
return string

getHandlers() public method

public getHandlers ( ) : HandlerList
return HandlerList

isCancelled() public method

public isCancelled ( ) : boolean
return boolean

setCancelled() public method

public setCancelled ( boolean $value = true ) : boolean
$value boolean
return boolean

Property Details

$eventName protected property

public static $handlerList = null; public static $eventPool = []; public static $nextEvent = 0; Not doing so will deny the proper event initialization
protected $eventName