toggle menu
core
git-2534f55
jvm
switch theme
search in API
core
/
com.github.spigotbasics.core.event
/
PriorityEventBus
Priority
Event
Bus
class
PriorityEventBus
(
plugin
:
Plugin
,
priority
:
EventPriority
)
:
Listener
Members
Constructors
Priority
Event
Bus
Link copied to clipboard
constructor
(
plugin
:
Plugin
,
priority
:
EventPriority
)
Functions
dispose
Link copied to clipboard
fun
dispose
(
)
subscribe
Link copied to clipboard
fun
<
T
:
Event
>
subscribe
(
eventClass
:
Class
<
T
>
,
action
:
(
T
)
->
Unit
)
:
SubscribedListener
<
T
>
unsubscribe
Link copied to clipboard
fun
unsubscribe
(
listener
:
SubscribedListener
<
*
>
)