slib
1.2.0
jvm
api-common
/
su.plo.slib.api.event
/
GlobalEvent
Global
Event
abstract
class
GlobalEvent
<
T
>
(
invokerSupplier
:
Function
<
Collection
<
T
>
,
T
>
)
Inheritors
McCommandsRegisterEvent
McPlayerJoinEvent
McPlayerQuitEvent
Members
Constructors
Global
Event
Link copied to clipboard
constructor
(
invokerSupplier
:
Function
<
Collection
<
T
>
,
T
>
)
Properties
invoker
Link copied to clipboard
val
invoker
:
T
Functions
clear
Listeners
Link copied to clipboard
fun
clearListeners
(
)
register
Listener
Link copied to clipboard
fun
registerListener
(
listener
:
T
)
unregister
Listener
Link copied to clipboard
fun
unregisterListener
(
listener
:
T
)