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

Method AddMoveEvent

src/plugin/kernel/src/AFCKernelModule.cpp:560–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560bool AFCKernelModule::AddMoveEvent(const std::string& class_name, MOVE_EVENT_FUNCTOR&& cb, const int32_t prio)
561{
562 auto pClassMeta = m_pClassModule->FindMeta(class_name);
563 ARK_ASSERT_RET_VAL(pClassMeta != nullptr, false);
564
565 auto pCallBack = pClassMeta->GetClassCallBackManager();
566 ARK_ASSERT_RET_VAL(pCallBack != nullptr, false);
567
568 return pCallBack->AddMoveEvent(std::forward<MOVE_EVENT_FUNCTOR>(cb), prio);
569}
570
571void AFCKernelModule::AddSyncCallBack()
572{

Callers

nothing calls this directly

Calls 2

FindMetaMethod · 0.45

Tested by

no test coverage detected