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

Function DispatchAllSockets

engine/gameobject/src/gameobject/gameobject.cpp:2884–2896  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2882 }
2883
2884 static bool DispatchAllSockets(Collection* collection) {
2885 bool result = true;
2886 dmMessage::HSocket sockets[] =
2887 {
2888 // Some components might have sent messages in their final()
2889 collection->m_ComponentSocket,
2890 // Frame dispatch, handle e.g. spawning
2891 collection->m_FrameSocket
2892 };
2893 if (!DispatchMessages(collection, sockets, 2))
2894 result = false;
2895 return result;
2896 }
2897
2898 static bool PostUpdate(Collection* collection)
2899 {

Callers 1

PostUpdateFunction · 0.85

Calls 1

DispatchMessagesFunction · 0.85

Tested by

no test coverage detected