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

◆ RecordChanged() [1/2]

void System.Data.Index.RecordChanged ( int oldIndex,
int newIndex )
inline

Definition at line 785 of file Index.cs.

786 {
787 DataCommonEventSource.Log.Trace("<ds.Index.RecordChanged|API> {0}, oldIndex={1}, newIndex={2}", ObjectID, oldIndex, newIndex);
788 if (oldIndex > -1 || newIndex > -1)
789 {
790 if (oldIndex == newIndex)
791 {
793 }
794 else if (oldIndex == -1)
795 {
797 }
798 else if (newIndex == -1)
799 {
801 }
802 else
803 {
805 }
806 }
807 }
void OnListChanged(ListChangedType changedType, int newIndex, int oldIndex)
Definition Index.cs:731

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