MCPcopy Create free account
hub / github.com/axmolengine/axmol / commandConfig

Method commandConfig

core/base/Console.cpp:978–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

976}
977
978void Console::commandConfig(socket_native_type fd, std::string_view /*args*/)
979{
980 Scheduler* sched = Director::getInstance()->getScheduler();
981 sched->runOnAxmolThread([=]() {
982 Console::Utility::mydprintf(fd, "%s", Configuration::getInstance()->getInfo().c_str());
983 Console::Utility::sendPrompt(fd);
984 });
985}
986
987void Console::commandDebugMsg(socket_native_type fd, std::string_view /*args*/)
988{

Callers

nothing calls this directly

Calls 4

getInstanceFunction · 0.85
runOnAxmolThreadMethod · 0.80
c_strMethod · 0.45
getInfoMethod · 0.45

Tested by

no test coverage detected