MCPcopy Create free account
hub / github.com/defold/defold / DispatchEvent

Function DispatchEvent

engine/extension/src/extension.cpp:363–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 }
362
363 void DispatchEvent(Params* params, const Event* event)
364 {
365 const ExtensionDesc* ed = dmExtension::GetFirstExtension();
366 while (ed) {
367 if (ed->m_OnEvent && ed->m_AppInitialized) {
368 ed->m_OnEvent(params, event);
369 }
370 ed = dmExtension::GetNextExtension(ed);
371 }
372 }
373
374 AppExitCode AppParamsGetAppExitCode(AppParams * app_params)
375 {

Callers 6

OnWindowFocusFunction · 0.85
OnWindowIconifyFunction · 0.85
DeleteFunction · 0.85
engine.cppFile · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls 2

GetNextExtensionFunction · 0.85
GetFirstExtensionFunction · 0.70

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68