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

Method FindWString

src/plugin/kernel/src/AFCTable.cpp:251–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251uint32_t AFCTable::FindWString(const uint32_t index, const std::wstring& value) const
252{
253 for (auto iter : data_)
254 {
255 auto pRowData = iter.second;
256 ARK_ASSERT_RET_VAL(pRowData != nullptr, 0u);
257
258 if (pRowData->GetWString(index) == value)
259 {
260 return iter.first;
261 }
262 }
263
264 return 0u;
265}
266
267uint32_t AFCTable::FindGUID(const uint32_t index, const AFGUID& value) const
268{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected