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

Function getPathExpandoValue

Engine/source/console/console.cpp:2129–2140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2127//-----------------------------------------------------------------------------
2128
2129StringTableEntry getPathExpandoValue(U32 expandoIndex)
2130{
2131 // Finish if index is out of range.
2132 if (expandoIndex >= PathExpandos.size())
2133 return NULL;
2134
2135 // Find indexed iterator.
2136 typePathExpandoMap::iterator expandoItr = PathExpandos.begin();
2137 while (expandoIndex > 0) { ++expandoItr; --expandoIndex; }
2138
2139 return expandoItr->value;
2140}
2141
2142//-----------------------------------------------------------------------------
2143

Callers 1

collapsePathFunction · 0.85

Calls 2

sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected