| 48 | } |
| 49 | |
| 50 | uint64_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 | |
| 56 | uint64_t AFCTimerModule::AddForeverTimer( |
| 57 | const AFGUID& entity_id, const std::chrono::milliseconds interval, TIMER_FUNCTOR&& cb) |