| 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 | { |
no test coverage detected