| 1457 | } |
| 1458 | |
| 1459 | double ConfigManager::getTrapConfigDouble(const std::string& param) const |
| 1460 | { |
| 1461 | auto it = mTrapsConfig.find(param); |
| 1462 | if(it == mTrapsConfig.end()) |
| 1463 | { |
| 1464 | OD_LOG_ERR("Unknown parameter param=" + param); |
| 1465 | return 0.0; |
| 1466 | } |
| 1467 | |
| 1468 | return Helper::toDouble(it->second); |
| 1469 | } |
| 1470 | |
| 1471 | const std::string& ConfigManager::getSpellConfigString(const std::string& param) const |
| 1472 | { |
no test coverage detected