Class SuggestionCommandRouteEvent
java.lang.Object
dev.rollczi.litecommands.suggestion.event.SuggestionCommandRouteEvent
- All Implemented Interfaces:
Event,SuggestionNodeEvent
@Experimental
public class SuggestionCommandRouteEvent
extends Object
implements SuggestionNodeEvent
-
Constructor Summary
ConstructorsConstructorDescriptionSuggestionCommandRouteEvent(Invocation<?> invocation, CommandRoute<?> commandRoute) -
Method Summary
Modifier and TypeMethodDescriptionCommandRoute<?> Invocation<?> CommandNode<?> getNode()booleanvoidsetCancelled(boolean cancelled)
-
Constructor Details
-
SuggestionCommandRouteEvent
-
-
Method Details
-
getCommandRoute
-
getInvocation
- Specified by:
getInvocationin interfaceSuggestionNodeEvent
-
getNode
- Specified by:
getNodein interfaceSuggestionNodeEvent
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelledin interfaceSuggestionNodeEvent
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceSuggestionNodeEvent
-