Package | Description |
---|---|
net.tridentsdk.event |
The event framework, used to call events extremely quickly and efficiently
|
net.tridentsdk.plugin |
Plugin handlers, and related API
|
net.tridentsdk.server.event |
Implementation specific classes relating to
net.tridentsdk.event .* |
Modifier and Type | Method and Description |
---|---|
Listener |
EventNotifier.listener()
Obtains the instance of the listener which was registered
|
Modifier and Type | Method and Description |
---|---|
void |
Events.registerListener(Plugin plugin,
Listener listener)
Normally not needed to be used.
|
Modifier and Type | Method and Description |
---|---|
void |
Events.unregister(Class<? extends Listener> cls)
Removes the listener from the caller queue, preventing it from being invoked
|
Modifier and Type | Method and Description |
---|---|
<T extends Listener> |
Plugin.listenerBy(Class<T> c)
Obtains the listener instance with the class specified
|
Modifier and Type | Method and Description |
---|---|
Listener |
ReflectNotifier.listener() |
Modifier and Type | Method and Description |
---|---|
void |
EventHandler.registerListener(Plugin plugin,
Listener listener) |
Modifier and Type | Method and Description |
---|---|
void |
EventHandler.unregister(Class<? extends Listener> cls) |
Copyright © 2016. All rights reserved.