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

Method GetCustomDouble

src/plugin/kernel/src/AFCEntity.cpp:962–968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960}
961
962double AFCEntity::GetCustomDouble(const std::string& name) const
963{
964 auto pData = custom_data_list_.find_value(name);
965 ARK_ASSERT_RET_VAL(pData != nullptr, NULL_DOUBLE);
966
967 return pData->GetDouble();
968}
969
970const char* AFCEntity::GetCustomString(const std::string& name) const
971{

Callers

nothing calls this directly

Calls 2

find_valueMethod · 0.45
GetDoubleMethod · 0.45

Tested by

no test coverage detected