예제 #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());
        }
예제 #2
0
 public IList <string> GetStackableComponentsPotionsMisc()
 {
     return(ThreadExecuter.Execute(
                () => _repo.GetStackableComponentsPotionsMisc()
                ));
 }
예제 #3
0
 public void Refresh()
 {
     SpecialRecords   = _databaseItemDao.GetSpecialStackableRecords();
     AllRecords       = new HashSet <string>(_databaseItemDao.ListAllRecords());
     StackableRecords = new HashSet <string>(_databaseItemDao.GetStackableComponentsPotionsMisc());
 }