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

Function osipf_CallObjectEvent

Descent3/osiris_predefs.cpp:480–486  ·  view source on GitHub ↗

osipf_CallObjectEvent Sends an event to an object. Returns true if the default action should continue to process.

Source from the content-addressed store, hash-verified

478// Sends an event to an object. Returns true if the default action should
479// continue to process.
480bool osipf_CallObjectEvent(int objhandle, int event, tOSIRISEventInfo *ei) {
481 object *objp = ObjGet(objhandle);
482 if (!objp)
483 return false;
484
485 return Osiris_CallEvent(objp, event, ei);
486}
487
488// osipf_CallTriggerEvent
489// Sends an event to a trigger. Returns true if the default action should

Callers

nothing calls this directly

Calls 2

ObjGetFunction · 0.85
Osiris_CallEventFunction · 0.85

Tested by

no test coverage detected