/// <summary> /// get winrate if itemsats present /// </summary> /// <param name="itemStats"></param> /// <returns></returns> private float SafeWinrate(ItemStats itemStats) { if (itemStats == null) return 0; else return itemStats.Winrate; }
private bool IsBiglewater(ItemStats x) { // helper for filetering items after bilgewater return ViewModel.ItemsFiltered[x.Id.ToString()].IsBilgewater; }