protected override ItemID[] GetItemIDs() { return(ItemRegistry.GetAllItemIDs() .Where(id => categoryFilter.Contains(id.Category) && UIParent.Data.ItemIsUnlocked(id)) .ToArray()); }
protected virtual ItemID[] GetItemIDs() => ItemRegistry.GetAllItemIDs().Where(i => UIParent.Data.ItemIsUnlocked(i)).ToArray();