MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / removeFromSet

Method removeFromSet

Engine/source/console/simObject.cpp:1432–1444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1430//-----------------------------------------------------------------------------
1431
1432bool SimObject::removeFromSet(SimObjectId sid)
1433{
1434 if (mFlags.test(Added) == false)
1435 return false;
1436
1437 SimSet *set;
1438 if(Sim::findObject(sid, set))
1439 {
1440 set->removeObject(this);
1441 return true;
1442 }
1443 return false;
1444}
1445
1446//-----------------------------------------------------------------------------
1447

Callers

nothing calls this directly

Calls 3

findObjectFunction · 0.70
testMethod · 0.45
removeObjectMethod · 0.45

Tested by

no test coverage detected