IEvent Handler
interface IEventHandler
Interface representing an event handler.
Functions
Link copied to clipboard
Returns the list of child event handlers.
Link copied to clipboard
Handles events for this handler.
Link copied to clipboard
Link copied to clipboard
Please write a handler initialization code.
Link copied to clipboard
Returns the parent event handler.
Link copied to clipboard
inline fun <T : ReturnableEvent<R>, R> IEventHandler.returnableHandler(noinline condition: () -> Boolean = { true }, ignoresCondition: Boolean = false, priority: Priority = Priority.NORMAL, timeout: Long? = null, noinline returnableHandler: (T) -> R)
Registers a returnable event handler for a specific event type.
Link copied to clipboard
Unregisters this event handler and all its children.