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

◆ FindRecord()

int System.Data.Index.FindRecord ( int record)
inline

Definition at line 419 of file Index.cs.

420 {
421 int num = _records.Search(record);
422 if (num != 0)
423 {
424 return _records.GetIndexByNode(num);
425 }
426 return -1;
427 }
IndexTree _records
Definition Index.cs:42
int Search(K key)
Definition RBTree.cs:1047
int GetIndexByNode(int node)
Definition RBTree.cs:1087

References System.Data.Index._records, System.Data.RBTree< K >.GetIndexByNode(), and System.Data.RBTree< K >.Search().

Referenced by System.Data.DataTable.LoadDataRow().