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

Method addNodeList

Engine/source/environment/nodeListManager.cpp:172–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

processMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected