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

Method GetCustomInt32

src/plugin/kernel/src/AFCEntity.cpp:930–936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

928}
929
930int32_t AFCEntity::GetCustomInt32(const std::string& name) const
931{
932 auto pData = custom_data_list_.find_value(name);
933 ARK_ASSERT_RET_VAL(pData != nullptr, NULL_INT);
934
935 return pData->GetInt();
936}
937
938uint32_t AFCEntity::GetCustomUInt32(const std::string& name) const
939{

Callers 1

CustomDataTestMethod · 0.80

Calls 2

GetIntMethod · 0.80
find_valueMethod · 0.45

Tested by

no test coverage detected