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

Method FindGUID

src/plugin/kernel/src/AFCTable.cpp:267–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267uint32_t AFCTable::FindGUID(const uint32_t index, const AFGUID& value) const
268{
269 for (auto iter : data_)
270 {
271 auto pRowData = iter.second;
272 ARK_ASSERT_RET_VAL(pRowData != nullptr, 0u);
273
274 if (pRowData->GetGUID(index) == value)
275 {
276 return iter.first;
277 }
278 }
279
280 return 0u;
281}
282
283AFIRow* AFCTable::First()
284{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected