11 #ifndef RECAST_SERVER_ICOMMAND_H
12 #define RECAST_SERVER_ICOMMAND_H
34 virtual bool isValid(
const std::string &cmd,
35 const std::vector<std::string> &args)
const = 0;
47 virtual void onCommand(
ICommandSender &sender,
const std::string &cmd,
const std::vector<std::string> &args) = 0;
51 #endif //RECAST_SERVER_ICOMMAND_H
ICommand()
Definition: ICommand.hpp:28
virtual bool isOnlyUICommand()
Definition: ICommand.hpp:32
virtual bool isValid(const std::string &cmd, const std::vector< std::string > &args) const =0
virtual void onCommand(ICommandSender &sender, const std::string &cmd, const std::vector< std::string > &args)=0
ICommand(const ICommand &other)
Definition: ICommand.hpp:30
Definition: ICommandSender.hpp:12
Superclass for Command object.
Definition: ICommand.hpp:26