public ItemsHolderItems() : base(() => ProgrammSettings.CurrentSavegame?.GameObjects?.Items)
 {
     StandardFilters.Add("Player", new PlayerFilter(this));
     StandardFilters.Add("Session", new SessionsFilter(this));
     StandardFilters.Add("Area", new AreasFilter(this));
     StandardFilters.Add("Text", new SearchTextFilter(this));
 }
 public ItemsHolderItemSets() : base(AssetProvider.ItemSets.Values.ToList())
 {
     StandardFilters.Add("Upgrades", new UpgradesFilter(this));
     StandardFilters.Add("Equipped", new EquippedFilter(this));
     StandardFilters.Add("SearchText", new SearchTextFilter(this));
     StandardFilters.Add("TargetBuilding", new TargetBuildingFilter(this));
 }
 public ItemsHolderBuildings() : base(AssetProvider.Buildings.Values.ToList())
 {
     StandardFilters.Add("Upgrades", new UpgradesFilter(this));
     StandardFilters.Add("Available", new BuildableFilter(this)
     {
         SelectedValue = true
     });
     StandardFilters.Add("SearchText", new SearchTextFilter(this));
 }
 public ItemsHolderGuildhouse() : base(AssetProvider.Items.Values.ToList())
 {
     StandardFilters.Add("Upgrades", new UpgradesFilter(this));
     StandardFilters.Add("Rarities", new RaritiesFilter(this));
     StandardFilters.Add("Available", new AvailableFilter(this)
     {
         SelectedValue = true
     });
     StandardFilters.Add("Equipped", new EquippedFilter(this));
     StandardFilters.Add("SearchText", new SearchTextFilter(this));
     StandardFilters.Add("TargetBuilding", new TargetBuildingFilter(this));
 }
Beispiel #5
0
        public ItemsHolder()
        {
            StandardFilters.Add("Upgrades", new UpgradesFilter(this));
            StandardFilters.Add("Rarities", new RaritiesFilter(this));
            //StandardFilters.Add("ItemTypes", new ItemTypesFilter(this));
            //StandardFilters.Add("Targets", new TargetsFilter(this));
            StandardFilters.Add("Available", new AvailableFilter(this)
            {
                SelectedValue = true
            });
            //StandardFilters.Add("DetailedSources", new DetailedSourcesFilter(this));
            StandardFilters.Add("Equipped", new EquippedFilter(this));
            //StandardFilters.Add("ReleaseVersions", new ReleaseVersionsFilter(this));
            StandardFilters.Add("SearchText", new SearchTextFilter(this));
            //StandardFilters.Add("Sources", new SourcesFilter(this));
            StandardFilters.Add("TargetBuilding", new TargetBuildingFilter(this));
            StandardFilters.Add("Order", new OrderFilter(this));

            CustomFilters = new ObservableCollection <FilterHolder>(new[] { new FilterHolder(this) });
        }
 public ItemsHolderAllBuffs() : base(AssetProvider.AllBuffs.Values.ToList())
 {
     StandardFilters.Add("Upgrades", new UpgradesFilter(this));
     StandardFilters.Add("SearchText", new SearchTextFilter(this));
     StandardFilters.Add("TargetBuilding", new TargetBuildingFilter(this));
 }