| 1493 | } |
| 1494 | |
| 1495 | int32_t ConfigManager::getSpellConfigInt32(const std::string& param) const |
| 1496 | { |
| 1497 | auto it = mSpellConfig.find(param); |
| 1498 | if(it == mSpellConfig.end()) |
| 1499 | { |
| 1500 | OD_LOG_ERR("Unknown parameter param=" + param); |
| 1501 | return 0; |
| 1502 | } |
| 1503 | |
| 1504 | return Helper::toInt(it->second); |
| 1505 | } |
| 1506 | |
| 1507 | double ConfigManager::getSpellConfigDouble(const std::string& param) const |
| 1508 | { |
no test coverage detected