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

Method GetCustomBool

src/plugin/kernel/src/AFCEntity.cpp:922–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

920}
921
922bool AFCEntity::GetCustomBool(const std::string& name) const
923{
924 auto pData = custom_data_list_.find_value(name);
925 ARK_ASSERT_RET_VAL(pData != nullptr, false);
926
927 return pData->GetBool();
928}
929
930int32_t AFCEntity::GetCustomInt32(const std::string& name) const
931{

Callers

nothing calls this directly

Calls 2

find_valueMethod · 0.45
GetBoolMethod · 0.45

Tested by

no test coverage detected