| 876 | |
| 877 | template <typename R, char const * S, typename mapType> |
| 878 | std::unique_ptr<R> GetByName(const std::string& type, const std::string& name, const mapType& map) |
| 879 | { |
| 880 | ScriptAssert(map.find(name) != map.end(), std::string{ type + " name not found: " + name }, ErrorMode::Terminate); |
| 881 | return std::make_unique<R>(map.at(name), false); |
| 882 | } |
| 883 | |
| 884 | void LogicHandler::ResetVariables() |
| 885 | { |
nothing calls this directly
no test coverage detected