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

◆ GetRows() [2/2]

DataRow[] System.Data.Index.GetRows ( Range range)
inline

Definition at line 616 of file Index.cs.

617 {
618 DataRow[] array = _table.NewRowArray(range.Count);
619 if (array.Length != 0)
620 {
621 RBTree<int>.RBTreeEnumerator enumerator = GetEnumerator(range.Min);
622 for (int i = 0; i < array.Length; i++)
623 {
624 if (!enumerator.MoveNext())
625 {
626 break;
627 }
629 }
630 }
631 return array;
632 }
DataRow[] NewRowArray(int size)
readonly RecordManager _recordManager
Definition DataTable.cs:74
RBTree< int >.RBTreeEnumerator GetEnumerator(int startIndex)
Definition Index.cs:366
readonly DataTable _table
Definition Index.cs:32

References System.Data.DataTable._recordManager, System.Data.Index._table, System.array, System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Data.Index.GetEnumerator(), and System.Data.DataTable.NewRowArray().