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

Method isField

Engine/source/console/simObject.cpp:814–825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812//-----------------------------------------------------------------------------
813
814bool SimObject::isField( const char* fieldName, bool includeStatic, bool includeDynamic )
815{
816 const char* strFieldName = StringTable->insert( fieldName );
817
818 if( includeStatic && getClassRep()->findField( strFieldName ) )
819 return true;
820
821 if( includeDynamic && getFieldDictionary() && getFieldDictionary()->findDynamicField( strFieldName ) )
822 return true;
823
824 return false;
825}
826
827//-----------------------------------------------------------------------------
828

Callers 6

WeaponImageFunction · 0.80
AmmoClipFunction · 0.80
ShapeBaseFunction · 0.80
player.csFile · 0.80
simObject.cppFile · 0.80
renameFieldMethod · 0.80

Calls 3

findDynamicFieldMethod · 0.80
insertMethod · 0.45
findFieldMethod · 0.45

Tested by

no test coverage detected