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

Function getPathExpandoValue

Engine/source/console/console.cpp:2049–2060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2047//-----------------------------------------------------------------------------
2048
2049StringTableEntry getPathExpandoValue(U32 expandoIndex)
2050{
2051 // Finish if index is out of range.
2052 if (expandoIndex >= PathExpandos.size())
2053 return NULL;
2054
2055 // Find indexed iterator.
2056 typePathExpandoMap::iterator expandoItr = PathExpandos.begin();
2057 while (expandoIndex > 0) { ++expandoItr; --expandoIndex; }
2058
2059 return expandoItr->value;
2060}
2061
2062//-----------------------------------------------------------------------------
2063

Callers 1

collapsePathFunction · 0.85

Calls 2

sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected