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

Function getPathExpandoKey

Engine/source/console/console.cpp:2034–2045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2032//-----------------------------------------------------------------------------
2033
2034StringTableEntry getPathExpandoKey(U32 expandoIndex)
2035{
2036 // Finish if index is out of range.
2037 if (expandoIndex >= PathExpandos.size())
2038 return NULL;
2039
2040 // Find indexed iterator.
2041 typePathExpandoMap::iterator expandoItr = PathExpandos.begin();
2042 while (expandoIndex > 0) { ++expandoItr; --expandoIndex; }
2043
2044 return expandoItr->key;
2045}
2046
2047//-----------------------------------------------------------------------------
2048

Callers 1

collapsePathFunction · 0.85

Calls 2

sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected