| 162 | } |
| 163 | |
| 164 | void Sample3Module::CalssCallBackTest() |
| 165 | { |
| 166 | std::cout << GET_CLASS_NAME(Sample3Module) << ", TableTest" << std::endl; |
| 167 | |
| 168 | m_pKernelModule->AddClassCallBack(AFEntityMetaPlayer::self_name(), this, &Sample3Module::OnClassCallBackEvent); |
| 169 | |
| 170 | auto pEntity = CreateAnPlayerAndInit(); |
| 171 | ARK_ASSERT_RET_NONE(pEntity != nullptr); |
| 172 | |
| 173 | m_pKernelModule->DestroyEntity(pEntity->GetID()); |
| 174 | } |
| 175 | |
| 176 | void Sample3Module::DataCallBackTest() |
| 177 | { |
nothing calls this directly
no test coverage detected