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

Method DataTest

samples/sample3/Sample3Module.cpp:107–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void Sample3Module::DataTest()
108{
109 std::cout << GET_CLASS_NAME(Sample3Module) << ", DataTest" << std::endl;
110
111 // create player
112 auto pEntity = CreateAnPlayerAndInit();
113 ARK_ASSERT_RET_NONE(pEntity != nullptr);
114
115 const AFGUID& id = pEntity->GetID();
116 const size_t count = 5000000;
117
118 QueryStringTest(id, count, 1);
119 //QueryStringTest(id, count, 2);
120 //QueryStringTest(id, count, 3);
121
122 QueryIntTest(id, count, 1);
123 //QueryIntTest(id, count, 2);
124 //QueryIntTest(id, count, 3);
125
126 SetDataTest(id, count, 1);
127 //SetDataTest(id, count, 2);
128 //SetDataTest(id, count, 3);
129
130 CustomDataTest(id, count, 1);
131}
132
133void Sample3Module::TableTest()
134{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected