Package net.tnemc.plugincore.core.api
Class CallbackEntry
java.lang.Object
net.tnemc.plugincore.core.api.CallbackEntry
CallbackEntry represents a class that serves as an entry for a specific callback.
- Since:
- 0.1.2.0
- Author:
- creatorfromhell
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CallbackEntry
-
-
Method Details
-
addConsumer
Used to add a consumer for this callback. -
call
Used to call all the consumers for this callback.- Parameters:
callback
- The callback class for this consumer.- Returns:
- This returns a boolean value, which equates to whether this event is cancelled or not.
-