static */
| 17 | #include "../../safeguards.h" |
| 18 | |
| 19 | /* static */ bool ScriptGameSettings::IsValid(const std::string &setting) |
| 20 | { |
| 21 | const SettingDesc *sd = GetSettingFromName(setting); |
| 22 | return sd != nullptr && sd->IsIntSetting(); |
| 23 | } |
| 24 | |
| 25 | /* static */ SQInteger ScriptGameSettings::GetValue(const std::string &setting) |
| 26 | { |
nothing calls this directly
no test coverage detected