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

Method GetCustomString

src/plugin/kernel/src/AFCEntity.cpp:970–976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

968}
969
970const char* AFCEntity::GetCustomString(const std::string& name) const
971{
972 auto pData = custom_data_list_.find_value(name);
973 ARK_ASSERT_RET_VAL(pData != nullptr, NULL_STR.c_str());
974
975 return pData->GetString();
976}
977
978const std::wstring& AFCEntity::GetCustomWString(const std::string& name) const
979{

Callers

nothing calls this directly

Calls 3

find_valueMethod · 0.45
c_strMethod · 0.45
GetStringMethod · 0.45

Tested by

no test coverage detected