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

Function RunScriptFunctionAuto

Engine/script/script.cpp:564–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564bool RunScriptFunctionAuto(ScriptType sc_type, const String &fn_name, size_t param_count,
565 const RuntimeScriptValue *params)
566{
567 return RunScriptFunctionAuto(sc_type, ScriptFunctionRef(fn_name), param_count, params);
568}
569
570bool RunScriptFunctionAuto(ScriptType sc_type, const ScriptFunctionRef &fn_ref, size_t param_count, const RuntimeScriptValue *params)
571{

Callers 8

run_event_scriptFunction · 0.85
run_event_script_alwaysFunction · 0.85
TryRunScriptHandlerFunction · 0.85
run_unhandled_eventFunction · 0.85
run_control_eventFunction · 0.85
run_on_eventFunction · 0.85
process_eventFunction · 0.85
CallRoomScriptFunction · 0.85

Calls 7

ScriptFunctionRefClass · 0.85
RunScriptFunctionInRoomFunction · 0.85
RunUnclaimableEventFunction · 0.85
RunClaimableEventFunction · 0.85
RunEventInModuleFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected