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

Method kill

core/base/SimpleTimer.cpp:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void kill(TIMER_ID timerId, bool bNative)
86{
87 std::string key = fmt::format("STMR#{}", fmt::ptr(timerId));
88 Director::getInstance()->getScheduler()->unschedule(key, STIMER_TARGET(bNative));
89}
90
91void killAll(bool bNative)
92{

Callers 1

onTouchBeginMethod · 0.45

Calls 4

getInstanceFunction · 0.85
formatFunction · 0.70
ptrFunction · 0.50
unscheduleMethod · 0.45

Tested by

no test coverage detected