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

Method GetCustomFloat

src/plugin/kernel/src/AFCEntity.cpp:954–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

952}
953
954float AFCEntity::GetCustomFloat(const std::string& name) const
955{
956 auto pData = custom_data_list_.find_value(name);
957 ARK_ASSERT_RET_VAL(pData != nullptr, NULL_FLOAT);
958
959 return pData->GetFloat();
960}
961
962double AFCEntity::GetCustomDouble(const std::string& name) const
963{

Callers

nothing calls this directly

Calls 2

find_valueMethod · 0.45
GetFloatMethod · 0.45

Tested by

no test coverage detected