Пример #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();