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

Method removeField

Engine/source/console/consoleObject.cpp:656–666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

654
655
656bool ConsoleObject::removeField(const char* in_pFieldname)
657{
658 for (U32 i = 0; i < sg_tempFieldList.size(); i++) {
659 if (dStricmp(in_pFieldname, sg_tempFieldList[i].pFieldname) == 0) {
660 sg_tempFieldList.erase(i);
661 return true;
662 }
663 }
664
665 return false;
666}
667
668//--------------------------------------
669void ConsoleObject::initPersistFields()

Callers 4

TestPManagerFunction · 0.45
TestPManagerFunction · 0.45

Calls 3

dStricmpFunction · 0.85
sizeMethod · 0.45
eraseMethod · 0.45

Tested by 2

TestPManagerFunction · 0.36
TestPManagerFunction · 0.36