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

◆ FindRecordByKey() [2/2]

int System.Data.Index.FindRecordByKey ( object[] key)
inline

Definition at line 439 of file Index.cs.

440 {
441 int num = FindNodeByKeys(key);
442 if (num != 0)
443 {
444 return _records.GetIndexByNode(num);
445 }
446 return -1;
447 }
IndexTree _records
Definition Index.cs:42
int FindNodeByKeys(object[] originalKey)
Definition Index.cs:489
int GetIndexByNode(int node)
Definition RBTree.cs:1087

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