コード例 #1
0
ファイル: ResearchPanel.xaml.cs プロジェクト: update88/mtb
        private void researchDataDelete_Click(object sender, RoutedEventArgs e)
        {
            capital_city_research_data data = researchList.SelectedItem as capital_city_research_data;

            if (data == null)
            {
                return;
            }
            int s = data.ResearchSet;
            int r = data.Rank;

            LegacyToolBox.Data.ResearchData.Remove(data);
            WorldWorker.DeleteResearchData(s, r);
            LegacyToolBox.AppendMessage("Research Data For Set " + s + " Rank " + r + " Deleted.");
        }