Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adventuregamestudio/ags
/ DoesScriptFunctionExist
Function
DoesScriptFunctionExist
Engine/script/script.cpp:309–312 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
307
}
308
309
bool DoesScriptFunctionExist(const RuntimeScript *script, const String &fn_name)
310
{
311
return script->GetSymbolAddress(fn_name).Type == kScValCodePtr;
312
}
313
314
bool DoesScriptFunctionExistInModules(const String &fn_name)
315
{
Callers
4
test_interaction_handler
Function · 0.85
DoesScriptFunctionExistInModules
Function · 0.85
DoesScriptFunctionExistInModule
Function · 0.85
PrepareTextScript
Function · 0.85
Calls
1
GetSymbolAddress
Method · 0.80
Tested by
1
test_interaction_handler
Function · 0.68