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

Method setCopySource

Engine/source/console/simObject.cpp:2207–2214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2205//-----------------------------------------------------------------------------
2206
2207void SimObject::setCopySource( SimObject* object )
2208{
2209 if( mCopySource )
2210 mCopySource->unregisterReference( &mCopySource );
2211 mCopySource = object;
2212 if( mCopySource )
2213 mCopySource->registerReference( &mCopySource );
2214}
2215
2216//---------------------------------------------------------------------------
2217

Callers 3

setInheritFromMethod · 0.80
execMethod · 0.80
DefineNewEngineMethodFunction · 0.80

Calls 2

unregisterReferenceMethod · 0.80
registerReferenceMethod · 0.80

Tested by

no test coverage detected