public void CopyTo(QuestMonitorCondition dst)
 {
     this.Clear();
     for (int index = 0; index < this.actions.Count; ++index)
     {
         dst.actions.Add(this.actions[index]);
     }
     for (int index = 0; index < this.goals.Count; ++index)
     {
         dst.goals.Add(this.goals[index]);
     }
 }
Example #2
0
 public void CopyTo(QuestMonitorCondition dst)
 {
     dst.Clear();
     if (this.actions != null && this.actions.Length > 0)
     {
         dst.actions = new List <UnitMonitorCondition>((IEnumerable <UnitMonitorCondition>) this.actions);
     }
     if (this.goals == null || this.goals.Length <= 0)
     {
         return;
     }
     dst.goals = new List <UnitMonitorCondition>((IEnumerable <UnitMonitorCondition>) this.goals);
 }