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

Function getPathExpandoKey

Engine/source/console/console.cpp:2114–2125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2112//-----------------------------------------------------------------------------
2113
2114StringTableEntry getPathExpandoKey(U32 expandoIndex)
2115{
2116 // Finish if index is out of range.
2117 if (expandoIndex >= PathExpandos.size())
2118 return NULL;
2119
2120 // Find indexed iterator.
2121 typePathExpandoMap::iterator expandoItr = PathExpandos.begin();
2122 while (expandoIndex > 0) { ++expandoItr; --expandoIndex; }
2123
2124 return expandoItr->key;
2125}
2126
2127//-----------------------------------------------------------------------------
2128

Callers 1

collapsePathFunction · 0.85

Calls 2

sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected