| 406 | } |
| 407 | |
| 408 | bool cScriptingEngine::scriptCall(const std::string& pFilename) { |
| 409 | |
| 410 | auto path = g_ResourceMan->GetScriptPath(pFilename); |
| 411 | |
| 412 | if (path.size()) { |
| 413 | auto script = g_ResourceMan->FileReadStr(path); |
| 414 | return scriptRun(script, pFilename); |
| 415 | } |
| 416 | |
| 417 | return false; |
| 418 | } |
| 419 | |
| 420 | bool cScriptingEngine::scriptsLoadFolder(const std::string& pFolder) { |
| 421 |
nothing calls this directly
no test coverage detected