Event Listener
Interface for event listeners. Implementations can register event handlers using the on function.
Functions
Link copied to clipboard
inline fun <E : Event> EventListener.on(priority: Event.Priority = Event.Priority.MID, noinline block: (E) -> Unit)
Registers an event listener for the specified event class.