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

◆ Min() [2/2]

override int System.Linq.EnumerableSorter< TElement, TKey >.Min ( int[] map,
int count )
inlineprotected

Definition at line 244 of file EnumerableSorter.cs.

245 {
246 int num = 0;
247 for (int i = 1; i < count; i++)
248 {
249 if (CompareKeys(map[i], map[num]) < 0)
250 {
251 num = i;
252 }
253 }
254 return map[num];
255 }
int CompareKeys(int index1, int index2)

References System.Linq.EnumerableSorter< TElement, TKey >.CompareKeys(), and System.Linq.count.