Package net.citizensnpcs.api.command
Class CommandManager.CommandInfo
java.lang.Object
net.citizensnpcs.api.command.CommandManager.CommandInfo
- Enclosing class:
CommandManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addArgAnnotation
(int idx, Class<?> paramType, Arg arg) void
addFlagAnnotation
(int idx, Class<?> paramType, Flag flag) boolean
Collection
<? extends String> getArgTabCompletions
(CommandContext args, CommandSender sender, int index) getFlagTabCompletions
(CommandContext args, CommandSender sender, String flag) int
hashCode()
-
Field Details
-
instance
-
serverCommand
public boolean serverCommand
-
-
Constructor Details
-
CommandInfo
-
-
Method Details
-
addArgAnnotation
-
addFlagAnnotation
-
equals
-
getArgTabCompletions
public Collection<? extends String> getArgTabCompletions(CommandContext args, CommandSender sender, int index) -
getCommandAnnotation
-
getFlagTabCompletions
public Collection<String> getFlagTabCompletions(CommandContext args, CommandSender sender, String flag) -
hashCode
public int hashCode() -
valueFlags
-