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

Method findDynamicField

Engine/source/console/simFieldDictionary.cpp:143–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143SimFieldDictionary::Entry *SimFieldDictionary::findDynamicField(const String &fieldName) const
144{
145 U32 bucket = getHashValue( fieldName );
146
147 for( Entry *walk = mHashTable[bucket]; walk; walk = walk->next )
148 {
149 if( fieldName.equal(walk->slotName, String::NoCase) )
150 return walk;
151 }
152
153 return NULL;
154}
155
156SimFieldDictionary::Entry *SimFieldDictionary::findDynamicField( StringTableEntry fieldName) const
157{

Callers 4

isFieldMethod · 0.80
onAddMethod · 0.80
renameFieldMethod · 0.80

Calls 1

equalMethod · 0.45

Tested by

no test coverage detected