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

Function GetObjectType

scripts/clutter.cpp:277–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275int STDCALL SaveRestoreState(void *file_ptr, uint8_t saving_state) { return 0; }
276
277int GetObjectType(int object) {
278 msafe_struct ms;
279 ms.objhandle = object;
280 MSafe_GetValue(MSAFE_OBJECT_TYPE, &ms);
281
282 return ms.type;
283}
284
285int GetObjectID(int object) {
286 msafe_struct ms;

Callers 1

CallEventMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected