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

◆ DeleteRecord() [2/2]

void System.Data.Index.DeleteRecord ( int recordIndex,
bool fireEvent )
inlineprivate

Definition at line 351 of file Index.cs.

352 {
353 DataCommonEventSource.Log.Trace("<ds.Index.DeleteRecord|INFO> {0}, recordIndex={1}, fireEvent={2}", ObjectID, recordIndex, fireEvent);
354 if (recordIndex >= 0)
355 {
356 _recordCount--;
359 if (fireEvent)
360 {
362 }
363 }
364 }
void OnListChanged(ListChangedType changedType, int newIndex, int oldIndex)
Definition Index.cs:731
void MaintainDataView(ListChangedType changedType, int record, bool trackAddRemove)
Definition Index.cs:756
IndexTree _records
Definition Index.cs:42
K DeleteByIndex(int i)
Definition RBTree.cs:746

References System.Data.Index._recordCount, System.Data.Index._records, System.Data.RBTree< K >.DeleteByIndex(), System.Data.DataCommonEventSource.Log, System.Data.Index.MaintainDataView(), System.Data.Index.ObjectID, and System.Data.Index.OnListChanged().