Package com.velocitypowered.api.event
Interface ResultedEvent<R extends ResultedEvent.Result>
-
- All Known Implementing Classes:
CommandExecuteEvent
,KickedFromServerEvent
,LoginEvent
,PlayerChatEvent
,PluginMessageEvent
,PreLoginEvent
,ServerLoginPluginMessageEvent
,ServerPreConnectEvent
,ServerResourcePackSendEvent
public interface ResultedEvent<R extends ResultedEvent.Result>
Indicates an event that has a result attached to it.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ResultedEvent.ComponentResult
Represents an "allowed/denied" result with a reason allowed for denial.static class
ResultedEvent.GenericResult
A generic "allowed/denied" result.static interface
ResultedEvent.Result
Represents a result for an event.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
getResult()
Returns the result associated with this event.void
setResult(R result)
Sets the result of this event.
-