public void UpdateFromRapidCombination(CombinationConsumable5.ResultModel result, long requiredIndex) { var mail = mailBox.First(m => m.id == result.id); mail.requiredBlockIndex = requiredIndex; var item = inventory.Items .Select(i => i.item) .OfType <ItemUsable>() .First(i => i.ItemId == result.itemUsable.ItemId); item.Update(requiredIndex); }