protected void OnRepoint(object sender, RepointEventArgs e) { if (RepointHandler != null) { RepointHandler(this, e); } }
protected void OnRepoint(object sender, RepointEventArgs e) { if (RepointHandler != null) { e.OldID = offsetListBox.SelectedIndex; RepointHandler(this, e); } }
private void OnItemAttributesRepoint(object sender, RepointEventArgs e) { if (fftPatch != null) { PatchUtility.RepointSpecificItemAttributes(fftPatch.Items, fftPatch.ItemAttributes, (byte)e.OldID, (byte)e.NewID); allItemAttributesEditor1.UpdateSelectedEntry(); allItemAttributesEditor1.UpdateListBox(); allItemsEditor1.UpdateSelectedEntry(); allItemsEditor1.UpdateListBox(); } }
private void OnInflictStatusRepoint(object sender, RepointEventArgs e) { if (fftPatch != null) { PatchUtility.RepointSpecificInflictStatus(fftPatch.Items, fftPatch.Abilities, fftPatch.InflictStatuses, (byte)e.OldID, (byte)e.NewID); allInflictStatusesEditor1.UpdateSelectedEntry(); allInflictStatusesEditor1.UpdateListBox(); allItemsEditor1.UpdateSelectedEntry(); allItemsEditor1.UpdateListBox(); allAbilitiesEditor1.UpdateSelectedEntry(); allAbilitiesEditor1.UpdateListBox(); } }