public bool IsItemExist(ItemType _type) { return(ItemList.Any(x => db_Items.GameItems[x.ItemId].Type == _type)); }
public bool IsItemExist(ItemType _type, string Value_2) { return(ItemList.Any(x => db_Items.GameItems[x.ItemId].Type == _type && db_Items.GameItems[x.ItemId].Value_2 == Value_2)); }
public bool IsItemExist(int itemId) { return(ItemList.Any(x => x.ItemId == itemId)); }