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

Method kill

3rdparty/yasio/yasio/bindings/yasio_axlua.cpp:109–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109static void kill(TIMER_ID timerId)
110{
111 std::string key = StringUtils::format("LSTMR#%p", timerId);
112 Director::getInstance()->getScheduler()->unschedule(key, STIMER_TARGET_VALUE);
113}
114YASIO_LUA_API void clear()
115{
116 Director::getInstance()->getScheduler()->unscheduleAllForTarget(STIMER_TARGET_VALUE);

Callers

nothing calls this directly

Calls 3

getInstanceFunction · 0.85
formatEnum · 0.50
unscheduleMethod · 0.45

Tested by

no test coverage detected