MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / execute

Method execute

radiantcore/commandsystem/CommandSystem.cpp:357–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357void CommandSystem::execute(const std::string& input)
358{
359 // Parse the string into statement(s)
360 auto statements = parseCommandString(input);
361
362 // Now execute the statements
363 for (const auto& statement : statements) {
364 // Attempt ordinary command execution
365 executeCommand(statement.command, statement.args);
366 }
367}
368
369void CommandSystem::executeCommand(const std::string& name, const ArgumentList& args)
370{

Callers 1

executeCommandMethod · 0.45

Calls 1

parseCommandStringFunction · 0.85

Tested by

no test coverage detected