MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / getPathExpandoValue

Function getPathExpandoValue

engine/source/console/console.cc:1386–1397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1384//-----------------------------------------------------------------------------
1385
1386StringTableEntry getPathExpandoValue( U32 expandoIndex )
1387{
1388 // Finish if index is out of range.
1389 if ( expandoIndex >= PathExpandos.size() )
1390 return NULL;
1391
1392 // Find indexed iterator.
1393 typePathExpandoMap::iterator expandoItr = PathExpandos.begin();
1394 while( expandoIndex > 0 ) { ++expandoItr; --expandoIndex; }
1395
1396 return expandoItr->value;
1397}
1398
1399//-----------------------------------------------------------------------------
1400

Callers 2

collapsePathFunction · 0.85

Calls 2

sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected