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

◆ RecordChanged() [2/2]

void System.Data.Index.RecordChanged ( int record)
inline

Definition at line 772 of file Index.cs.

773 {
774 DataCommonEventSource.Log.Trace("<ds.Index.RecordChanged|API> {0}, record={1}", ObjectID, record);
775 if (DoListChanged)
776 {
777 int index = GetIndex(record);
778 if (index >= 0)
779 {
780 OnListChanged(ListChangedType.ItemChanged, index);
781 }
782 }
783 }
void OnListChanged(ListChangedType changedType, int newIndex, int oldIndex)
Definition Index.cs:731
int GetIndex(int record)
Definition Index.cs:371
bool DoListChanged
Definition Index.cs:77

References System.Data.Index.DoListChanged, System.Data.Index.GetIndex(), System.index, System.Data.DataCommonEventSource.Log, System.Data.Index.ObjectID, and System.Data.Index.OnListChanged().