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 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 RgetResult()Returns the result associated with this event.voidsetResult(R result)Sets the result of this event.
-