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

Function getPathExpandoKey

engine/source/console/console.cc:1371–1382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1369//-----------------------------------------------------------------------------
1370
1371StringTableEntry getPathExpandoKey( U32 expandoIndex )
1372{
1373 // Finish if index is out of range.
1374 if ( expandoIndex >= PathExpandos.size() )
1375 return NULL;
1376
1377 // Find indexed iterator.
1378 typePathExpandoMap::iterator expandoItr = PathExpandos.begin();
1379 while( expandoIndex > 0 ) { ++expandoItr; --expandoIndex; }
1380
1381 return expandoItr->key;
1382}
1383
1384//-----------------------------------------------------------------------------
1385

Callers 2

collapsePathFunction · 0.85

Calls 2

sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected