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

Method PostInit

samples/sample3/Sample3Module.cpp:43–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43bool Sample3Module::PostInit()
44{
45 std::cout << GET_CLASS_NAME(Sample3Module) << ", PostInit" << std::endl;
46
47 m_pKernelModule = FindModule<AFIKernelModule>();
48 m_pLogModule = FindModule<AFILogModule>();
49 m_pMapModule = FindModule<AFIMapModule>();
50
51 ARK_LOG_INFO("Init finished...");
52
53 // Create scene, all entity need in scene
54 m_pMapModule->CreateMap(MPA_ID);
55
56 //DestroyTest();
57 //CalssCallBackTest();
58 //DataCallBackTest();
59 //TableCallBackTest();
60 //EventTest();
61 ContainerCallBackTest();
62
63 CreateEntityTest();
64 DataTest();
65 TableTest();
66
67 // m_pKernelModule->DestroyAll();
68
69 return true;
70}
71
72bool Sample3Module::PreShut()
73{

Callers

nothing calls this directly

Calls 1

CreateMapMethod · 0.80

Tested by

no test coverage detected