MCPcopy Create free account
hub / github.com/adventuregamestudio/ags / RunScriptFunctionInModules

Function RunScriptFunctionInModules

Engine/script/script.cpp:475–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473}
474
475bool RunScriptFunctionInModules(const String &tsname, size_t param_count, const RuntimeScriptValue *params)
476{
477 bool result = false;
478 for (size_t i = 0; i < numScriptModules; ++i)
479 result |= RunScriptFunction(scriptModules[i].get(), tsname, param_count, params) == kScFnRes_Done;
480 result |= RunScriptFunction(gamescript.get(), tsname, param_count, params) == kScFnRes_Done;
481 return result;
482}
483
484bool RunScriptFunctionInRoom(const String &tsname, size_t param_count, const RuntimeScriptValue *params)
485{

Callers 2

ValidateRestoredSaveFunction · 0.85
start_gameFunction · 0.85

Calls 2

RunScriptFunctionFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected