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

Method onNewDataBlock

Engine/source/T3D/fx/splash.cpp:451–459  ·  view source on GitHub ↗

-------------------------------------------------------------------------- On New Data Block --------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

449// On New Data Block
450//--------------------------------------------------------------------------
451bool Splash::onNewDataBlock( GameBaseData *dptr, bool reload )
452{
453 mDataBlock = dynamic_cast<SplashData*>(dptr);
454 if (!mDataBlock || !Parent::onNewDataBlock(dptr, reload))
455 return false;
456
457 scriptOnNewDataBlock();
458 return true;
459}
460
461
462//--------------------------------------------------------------------------

Callers 2

onAddMethod · 0.45
spawnExplosionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected