| 256 | } |
| 257 | |
| 258 | const ScriptConfigItem *ScriptInfo::GetConfigItem(std::string_view name) const |
| 259 | { |
| 260 | for (const auto &item : this->config_list) { |
| 261 | if (item.name == name) return &item; |
| 262 | } |
| 263 | return nullptr; |
| 264 | } |
| 265 | |
| 266 | int ScriptInfo::GetSettingDefaultValue(const std::string &name) const |
| 267 | { |
no outgoing calls
no test coverage detected