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

Method setDataBlock

Engine/source/T3D/gameBase/gameBase.cpp:494–503  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

492
493//----------------------------------------------------------------------------
494bool GameBase::setDataBlock(GameBaseData* dptr)
495{
496 if (isGhost() || isProperlyAdded()) {
497 if (mDataBlock != dptr)
498 return onNewDataBlock(dptr,false);
499 }
500 else
501 mDataBlock = dptr;
502 return true;
503}
504
505
506//--------------------------------------------------------------------------

Callers 13

init_missile_sMethod · 0.80
init_missile_cMethod · 0.80
cast_spellMethod · 0.80
start_effectMethod · 0.80
start_selectronMethod · 0.80
ea_startMethod · 0.80
setDataBlockPropertyMethod · 0.80
gameBase.cppFile · 0.80
launchDebrisMethod · 0.80
spawnSubExplosionsMethod · 0.80
explodeMethod · 0.80
destroyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected