Пример #1
0
 public override void OnStart()
 {
     //AdvDia.Update(true);
     if (!ValidActs.Contains(Act))
     {
         Logger.Error("[RunActBounties] Invalid act, valid acts are {0}", string.Join(", ", ValidActs));
         _isDone = true;
     }
     _bounties = BountyCoroutineFactory.GetActBounties(Act).OrderBy(a => a.QuestData.Act).ThenBy(a => a.QuestData.InternalName).ToList();
     _completeActBountiesCoroutine = new CompleteActBountiesCoroutine(Act);
 }
Пример #2
0
 public ActBountiesCoroutine(Act act)
 {
     Act = act;
     _completeActBountiesCoroutine = new CompleteActBountiesCoroutine(act);
     _bountyCoroutines             = BountyCoroutineFactory.GetActBounties(act);
 }