MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetObjectParent

Function GetObjectParent

scripts/AIGame.cpp:10782–10789  ·  view source on GitHub ↗

Old Osiris functions converted to make porting easier

Source from the content-addressed store, hash-verified

10780
10781// Old Osiris functions converted to make porting easier
10782int GetObjectParent(int object) {
10783 msafe_struct ms;
10784 ms.objhandle = object;
10785
10786 MSafe_GetValue(MSAFE_OBJECT_PARENT, &ms);
10787
10788 return ms.objhandle;
10789}
10790
10791int GetObjectType(int object) {
10792 msafe_struct ms;

Callers 4

DoInitMethod · 0.85
CallEventMethod · 0.85
DoIntervalMethod · 0.85
DoCollideMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected