Exemplo n.º 1
0
 public QQ_Task(QQ_Task template)
 {
     ID          = template.ID;
     Name        = template.Name;
     Description = template.Description;
     NextTasks   = new List <int>(template.NextTasks);
     MaxProgress = template.MaxProgress;
     Optional    = template.Optional;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sets a task with the given id.
 /// </summary>
 /// <param name="id"></param>
 /// <param name="task"></param>
 /// <returns></returns>
 public void SetTask(int id, QQ_Task task)
 {
     Quest.Tasks[GetTaskIndex(id)] = task;
 }