示例#1
0
        private void RelicCommand()
        {
            ArrJobs tempJob = ArrWeapon.JobList[ArrInfo.JobListString.IndexOf(CurrentRelic)];

            ArrStageCompleter.ProgressClass(selectedCharacter, tempJob.Relic, true);

            AvailableRelicJobs.Remove(CurrentRelic);
        }
示例#2
0
 public void LoadAvailableJobs()
 {
     if (AvailableRelicJobs == null)
     {
         AvailableRelicJobs = new ObservableCollection <string>();
     }
     foreach (ArrJobs job in arrWeapon.JobList)
     {
         if (job.Relic.Progress != ArrProgress.States.Completed & !AvailableRelicJobs.Contains(job.Name))
         {
             AvailableRelicJobs.Add(job.Name);
         }
         if (job.Relic.Progress == ArrProgress.States.Completed & AvailableRelicJobs.Contains(job.Name))
         {
             AvailableRelicJobs.Remove(job.Name);
         }
     }
 }