MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Handler_Attach

Method Handler_Attach

ogsr_engine/xr_3da/EventAPI.cpp:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94EVENT CEventAPI::Handler_Attach(const char* N, IEventReceiver* H)
95{
96 CS.Enter();
97 EVENT E = Create(N);
98 E->Attach(H);
99 CS.Leave();
100 return E;
101}
102
103void CEventAPI::Handler_Detach(EVENT& E, IEventReceiver* H)
104{

Callers 3

CLevelMethod · 0.80
CGamePersistentMethod · 0.80
CApplicationMethod · 0.80

Calls 4

CreateFunction · 0.85
LeaveMethod · 0.80
EnterMethod · 0.45
AttachMethod · 0.45

Tested by

no test coverage detected