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

Function DoesScriptFunctionExistInModules

Engine/script/script.cpp:314–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314bool DoesScriptFunctionExistInModules(const String &fn_name)
315{
316 for (size_t i = 0; i < numScriptModules; ++i)
317 {
318 if (DoesScriptFunctionExist(scriptModules[i].get(), fn_name))
319 return true;
320 }
321 return DoesScriptFunctionExist(gamescript.get(), fn_name);
322}
323
324bool DoesScriptFunctionExistInModule(const String &script_module, const String &fn_name)
325{

Callers 2

RestoreGameStateFunction · 0.85
PrescanSaveStateFunction · 0.85

Calls 2

DoesScriptFunctionExistFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected