MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / AddSingleTimer

Method AddSingleTimer

src/plugin/utility/src/AFCTimerModule.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50uint64_t AFCTimerModule::AddSingleTimer(
51 const AFGUID& entity_id, const std::chrono::milliseconds interval, const uint32_t count, TIMER_FUNCTOR&& cb)
52{
53 return timer_manager_ptr->AddTimer(entity_id, count, interval, std::forward<TIMER_FUNCTOR>(cb));
54}
55
56uint64_t AFCTimerModule::AddForeverTimer(
57 const AFGUID& entity_id, const std::chrono::milliseconds interval, TIMER_FUNCTOR&& cb)

Callers 1

InitMethod · 0.45

Calls 1

AddTimerMethod · 0.80

Tested by

no test coverage detected