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

Method commandDirectorSubCommandPause

core/base/Console.cpp:997–1002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995}
996
997void Console::commandDirectorSubCommandPause(socket_native_type /*fd*/, std::string_view /*args*/)
998{
999 auto director = Director::getInstance();
1000 Scheduler* sched = director->getScheduler();
1001 sched->runOnAxmolThread([]() { Director::getInstance()->pause(); });
1002}
1003
1004void Console::commandDirectorSubCommandResume(socket_native_type /*fd*/, std::string_view /*args*/)
1005{

Callers

nothing calls this directly

Calls 3

getInstanceFunction · 0.85
runOnAxmolThreadMethod · 0.80
pauseMethod · 0.45

Tested by

no test coverage detected