MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / getSkillPoints

Method getSkillPoints

source/utils/ConfigManager.cpp:1519–1529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1517}
1518
1519int32_t ConfigManager::getSkillPoints(const std::string& res) const
1520{
1521 auto it = mSkillPoints.find(res);
1522 if(it == mSkillPoints.end())
1523 {
1524 OD_LOG_ERR("Unknown parameter res=" + res);
1525 return 0;
1526 }
1527
1528 return it->second;
1529}
1530
1531const CreatureDefinition* ConfigManager::getCreatureDefinition(const std::string& name) const
1532{

Callers 2

SkillManagerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected