Package com.velocitypowered.api.event
Interface ResultedEvent<R extends ResultedEvent.Result>
-
- All Superinterfaces:
Event
- All Known Subinterfaces:
CommandExecuteEvent,ConnectionHandshakeEvent,KickedFromServerEvent,LoginEvent,PlayerChatEvent,PluginMessageEvent,PreLoginEvent,ServerPreConnectEvent
- All Known Implementing Classes:
CommandExecuteEventImpl,ConnectionHandshakeEventImpl,KickedFromServerEventImpl,LoginEventImpl,PlayerChatEventImpl,PluginMessageEventImpl,PreLoginEventImpl,ServerPreConnectEventImpl
public interface ResultedEvent<R extends ResultedEvent.Result> extends Event
Indicates an event that has a result attached to it.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResultedEvent.ComponentResultRepresents an "allowed/denied" result with a reason allowed for denial.static classResultedEvent.GenericResultA generic "allowed/denied" result.static interfaceResultedEvent.ResultRepresents a result for an event.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rresult()Returns the result associated with this event.voidsetResult(R result)Sets the result of this event.
-