Exemple #1
0
        void StartAbortMining(VideoCard card, LocalCurrency lc, bool flag)
        {
            GlobalCurrency activeCur = Currencies.FirstOrDefault(curr => curr.Id == lc.Id);

            if (activeCur == null)
            {
                return;
            }
            activeCur.Mining(card, lc, flag);
        }
Exemple #2
0
 public void AddCurr(GlobalCurrency gc)
 {
     Currencies.Add(new LocalCurrency(gc.Id, gc.Title, AddRemTask));
 }