예제 #1
0
        private void AddAugmentItems(List <PlayerHeldItem> items, ItemSearchRequest query)
        {
            var augments         = _augmentationItemRepo.Search(query);
            var remainingRecipes = augments.Where(recipe => items.All(item => item.BaseRecord != recipe.BaseRecord));

            items.AddRange(remainingRecipes);
        }
예제 #2
0
 public IList <AugmentationItem> Search(Search query)
 {
     return(ThreadExecuter.Execute(
                () => _repo.Search(query)
                ));
 }