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

◆ DeleteByIndex()

K System.Data.RBTree< K >.DeleteByIndex ( int i)
inline

Definition at line 746 of file RBTree.cs.

747 {
748 NodePath nodeByIndex = GetNodeByIndex(i);
749 K result = Key(nodeByIndex._nodeID);
750 RBDeleteX(0, nodeByIndex._nodeID, nodeByIndex._mainTreeNodeID);
751 return result;
752 }
K Key(int nodeId)
Definition RBTree.cs:1407
int RBDeleteX(int root_id, int z_id, int mainTreeNodeID)
Definition RBTree.cs:759
NodePath GetNodeByIndex(int userIndex)
Definition RBTree.cs:1148

References System.Data.RBTree< K >.GetNodeByIndex(), System.Data.RBTree< K >.Key(), and System.Data.RBTree< K >.RBDeleteX().

Referenced by System.Data.Index.DeleteRecord(), System.Data.Index.RecordStateChanged(), and System.Data.RBTree< K >.RemoveAt().