Esempio n. 1
0
        public void Refresh()
        {
            var special = new List <string>();

            special.AddRange(StashTab.HardcodedRecords);
            special.AddRange(_databaseItemDao.GetSpecialStackableRecords());
            SpecialRecords   = special;
            AllRecords       = new HashSet <string>(_databaseItemDao.ListAllRecords());
            StackableRecords = new HashSet <string>(_databaseItemDao.GetStackableComponentsPotionsMisc());
        }
Esempio n. 2
0
 public IList <string> GetSpecialStackableRecords()
 {
     return(ThreadExecuter.Execute(
                () => _repo.GetSpecialStackableRecords()
                ));
 }
 public void Refresh()
 {
     SpecialRecords   = _databaseItemDao.GetSpecialStackableRecords();
     AllRecords       = new HashSet <string>(_databaseItemDao.ListAllRecords());
     StackableRecords = new HashSet <string>(_databaseItemDao.GetStackableComponentsPotionsMisc());
 }