Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WolfireGames/overgrowth
/ ASGetParent
Function
ASGetParent
Source/Scripting/angelscript/asfuncs.cpp:2780–2782 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2778
}
2779
2780
static int ASGetParent(Object* obj) {
2781
return obj->parent ? obj->parent->GetID() : -1;
2782
}
2783
2784
CScriptArray* ASGetChildren(Object* obj) {
2785
if (obj->GetType() != _group) {
Callers
nothing calls this directly
Calls
1
GetID
Method · 0.45
Tested by
no test coverage detected