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); }
public IList <AugmentationItem> Search(Search query) { return(ThreadExecuter.Execute( () => _repo.Search(query) )); }