MCPcopy Create free account
hub / github.com/ZDoom/gzdoom / isActor

Function isActor

src/scripting/backend/codegen_doom.cpp:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71//==========================================================================
72
73bool isActor(PContainerType *type)
74{
75 auto cls = PType::toClass(type);
76 return cls ? cls->Descriptor->IsDescendantOf(RUNTIME_CLASS(AActor)) : false;
77}
78
79//==========================================================================
80//

Callers 4

CheckForDefaultFunction · 0.85
ResolveForDefaultFunction · 0.85
CheckActionKeywordMethod · 0.85

Calls 1

IsDescendantOfMethod · 0.80

Tested by

no test coverage detected