Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TryGetElementAt()

int System.Linq.Enumerable.RangeIterator.TryGetElementAt ( int index,
out bool found )
inline

Definition at line 1314 of file Enumerable.cs.

1315 {
1316 if ((uint)index < (uint)(_end - _start))
1317 {
1318 found = true;
1319 return _start + index;
1320 }
1321 found = false;
1322 return 0;
1323 }

References System.Linq.Enumerable.RangeIterator._end, System.Linq.Enumerable.RangeIterator._start, and System.Linq.index.