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

Function GetObjectType

scripts/AIGame.cpp:10791–10797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10789}
10790
10791int GetObjectType(int object) {
10792 msafe_struct ms;
10793 ms.objhandle = object;
10794 MSafe_GetValue(MSAFE_OBJECT_TYPE, &ms);
10795
10796 return ms.type;
10797}
10798
10799void ObjectDamage(int object, float amount, int killer = OBJECT_HANDLE_NONE);
10800void ObjectDamage(int object, float amount, int killer) {

Callers 2

DoInitMethod · 0.70
CallEventMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected