コード例 #1
0
		/// <summary>
		/// </summary>
		/// <param name="other"></param>
		public BioQuestGoal(BioQuestGoal other)
			: base(other)
		{
			Conditional = other.Conditional;
			Description = other.Description;
			Name = other.Name;
			State = other.State;
		}
コード例 #2
0
 /// <summary>
 /// </summary>
 /// <param name="other"></param>
 public BioQuestGoal(BioQuestGoal other)
     : base(other)
 {
     Conditional = other.Conditional;
     Description = other.Description;
     Name        = other.Name;
     State       = other.State;
 }
コード例 #3
0
        public void AddQuestGoal(BioQuestGoal questGoal)
        {
            if (Quests == null || SelectedQuest.Value == null)
            {
                return;
            }

            if (SelectedQuest.Value.Goals == null)
            {
                SelectedQuest.Value.Goals = InitCollection <BioQuestGoal>();
            }

            if (questGoal == null)
            {
                questGoal = new BioQuestGoal();
            }

            SelectedQuest.Value.Goals.Add(questGoal);

            SelectedQuestGoal = questGoal;
        }