MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / addNodeList

Method addNodeList

Engine/source/environment/nodeListManager.cpp:173–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void NodeListManager::addNodeList( NodeList* list )
174{
175 // Before we store the node list, we should check if anyone has registered
176 // an interest in it, but only if the list is complete.
177 if (list->mListComplete)
178 {
179 if (dispatchNotification( list ))
180 {
181 delete list;
182 return;
183 }
184 }
185
186 // Nothing is registered or the list is not complete, so store the list for later
187 mNodeLists.push_back( list );
188}
189
190bool NodeListManager::findListById(U32 id, NodeList** list, bool completeOnly)
191{

Callers 1

processMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected