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

Method getCreatureDefinition

source/utils/ConfigManager.cpp:1531–1539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1529}
1530
1531const CreatureDefinition* ConfigManager::getCreatureDefinition(const std::string& name) const
1532{
1533 auto it = mCreatureDefs.find(name);
1534 if(it != mCreatureDefs.end())
1535 {
1536 return it->second;
1537 }
1538 return nullptr;
1539}
1540
1541const Weapon* ConfigManager::getWeapon(const std::string& name) const
1542{

Callers 1

loadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected