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

Function Osiris_IsEventEnabled

Descent3/OsirisLoadandBind.cpp:2102–2113  ·  view source on GitHub ↗

Osiris_IsEventEnabled Purpose: Returns true if the event is allowed to be called

Source from the content-addressed store, hash-verified

2100// Purpose:
2101// Returns true if the event is allowed to be called
2102bool Osiris_IsEventEnabled(int event) {
2103 switch (event) {
2104 case EVT_CREATED:
2105 case EVT_AI_INIT:
2106 return !Osiris_create_events_disabled;
2107 break;
2108 default:
2109 return true;
2110 break;
2111 }
2112 return true;
2113}
2114
2115// Osiris_CallEvent
2116// Purpose:

Callers 3

Osiris_CallLevelEventFunction · 0.85
Osiris_CallTriggerEventFunction · 0.85
Osiris_CallEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected