Beispiel #1
0
 private void Save()
 {
     if (_SelectedResearchSet != null)
     {
         WorldWorker.SaveResearchSet(_SelectedResearchSet);
     }
     else
     {
         return;
     }
     if (_SelectedResearchData != null)
     {
         WorldWorker.SaveResearchData(_SelectedResearchData);
     }
     else
     {
         return;
     }
     if (_SelectedResearchSpell != null)
     {
         WorldWorker.SaveResearchSpell(_SelectedResearchSpell);
     }
     if (_SelectedResearchItem != null)
     {
         WorldWorker.SaveResearchItem(_SelectedResearchItem);
     }
     if (_SelectedNpcText != null)
     {
         WorldWorker.SaveNpcText(_SelectedNpcText);
     }
     if (_SelectedBroadcastText != null)
     {
         _SelectedBroadcastText.FemaleText = _SelectedBroadcastText.MaleText;
         WorldWorker.SaveBroadCastText(_SelectedBroadcastText);
     }
     WorldWorker.SaveResearchQuests(_ResearchQuest, _SelectedResearchData.QuestSet);
     LegacyToolBox.AppendMessage("Research Set " + _SelectedResearchSet.ID + " Saved.");
 }