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

Method onAdd

Engine/source/T3D/aiClient.cpp:402–412  ·  view source on GitHub ↗

* What gets called when this gets created, different from constructor */

Source from the content-addressed store, hash-verified

400 * What gets called when this gets created, different from constructor
401 */
402void AIClient::onAdd( const char *nameSpace ) {
403
404 // This doesn't work...
405 //
406 if( String::compare( nameSpace, mNameSpace->mName ) ) {
407 Con::linkNamespaces( mNameSpace->mName, nameSpace );
408 mNameSpace = Con::lookupNamespace( nameSpace );
409 }
410
411 throwCallback( "onAdd" );
412}
413
414// --------------------------------------------------------------------------------------------
415// Console Functions

Callers 1

aiClient.cppFile · 0.45

Calls 3

compareFunction · 0.85
linkNamespacesFunction · 0.85
lookupNamespaceFunction · 0.85

Tested by

no test coverage detected