/// <summary> /// </summary> /// <param name="other"></param> public BioQuestPlotItem(BioQuestPlotItem other) : base(other) { Conditional = other.Conditional; IconIndex = other.IconIndex; Name = other.Name; State = other.State; TargetItems = other.TargetItems; }
public void AddQuestPlotItem(BioQuestPlotItem questPlotItem) { if (Quests == null || SelectedQuest.Value == null) { return; } if (SelectedQuest.Value.PlotItems == null) { SelectedQuest.Value.PlotItems = InitCollection <BioQuestPlotItem>(); } if (questPlotItem == null) { questPlotItem = new BioQuestPlotItem(); } SelectedQuest.Value.PlotItems.Add(questPlotItem); SelectedQuestPlotItem = questPlotItem; }