9 ScopedCommand (
const std::string& scopeEnterCommand,
const std::string& scopeLeaveCommand) :
10 _scopeLeaveCommand(scopeLeaveCommand)
15 ScopedCommand (
const std::string& command,
const std::string& scopeEnterParameter,
const std::string& scopeLeaveParameter) :
16 _scopeLeaveCommand(command +
" " + scopeLeaveParameter)
18 const std::string enter = command +
" " + scopeEnterParameter;
void Cmd_ExecuteString(const char *text,...)
A complete command line has been parsed, so try to execute it.
const std::string _scopeLeaveCommand
ScopedCommand(const std::string &command, const std::string &scopeEnterParameter, const std::string &scopeLeaveParameter)
ScopedCommand(const std::string &scopeEnterCommand, const std::string &scopeLeaveCommand)