Package top.focess.qq.api.command
Interface SpecialArgumentComplexHandler
-
- All Known Subinterfaces:
SpecialArgumentHandler
public interface SpecialArgumentComplexHandlerThis class is used to handle special arguments, which start with "@"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NonNull Stringhandle(String name, CommandSender sender, Command command, String[] args, int i)Handle the special argumentdefault voidunregister()
-
-
-
Method Detail
-
handle
@NonNull String handle(String name, CommandSender sender, Command command, String[] args, int i)
Handle the special argument- Parameters:
name- the name of the special argumentsender- the sender of the commandcommand- the commandargs- the argumentsi- the index of the argument- Returns:
- the argument after handle
-
unregister
default void unregister()
-
-