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

Method onRemove

Engine/source/gui/utility/messageVector.cpp:442–452  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

440
441//--------------------------------------------------------------------------
442void MessageVector::onRemove()
443{
444 // Delete all the lines from the observers, and then forcibly detatch ourselves
445 //
446 for (S32 i = mMessageLines.size() - 1; i >= 0; i--)
447 spectatorMessage(LineDeleted, i);
448 spectatorMessage(VectorDeletion, 0);
449 mSpectators.clear();
450
451 Parent::onRemove();
452}
453
454
455//--------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected