Class CommandContext
java.lang.Object
com.kamikazejam.kamicommon.command.CommandContext
The state of a single command invocation, handed to
KamiCommand.perform(CommandContext). It carries
the sender, the alias actually typed, the raw arguments, and the read cursor that
KamiCommand.readArg() advances. The framework builds one per execution and clears it once
execution ends, so it is valid only inside perform and must not be retained or read from another
thread.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommandContext(@NotNull CommandSender sender, @NotNull String label, @NotNull List<String> args) -
Method Summary
-
Constructor Details
-
CommandContext
public CommandContext(@NotNull @NotNull CommandSender sender, @NotNull @NotNull String label, @NotNull @NotNull List<String> args)
-