endstone::CommandExecutor
Represents a class which contains a single method for executing commands.
Functions:
Name | Description |
---|---|
onCommand |
onCommand
bool onCommand(CommandSender &sender, const Command &command,
const std::vector<std::string> &args)
Executes the given command, returning its success.
Parameters:
sender
Source of the commandcommand
Command which was executedargs
Passed command arguments
Returns:
true if the execution is successful, otherwise false
Last updated on