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