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

Method _destroySelf

Engine/source/console/simObject.cpp:712–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710//-----------------------------------------------------------------------------
711
712void SimObject::_destroySelf()
713{
714 AssertFatal( !isDeleted(), "SimObject::destroySelf - Object has already been deleted" );
715 AssertFatal( !isRemoved(), "SimObject::destroySelf - Object in the process of being removed" );
716
717 mFlags.set( Deleted );
718
719 if( mFlags.test( Added ) )
720 unregisterObject();
721
722 Parent::_destroySelf();
723}
724
725//-----------------------------------------------------------------------------
726

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
testMethod · 0.45

Tested by

no test coverage detected