コード例 #1
0
        public override FilterHolder CreateFilterHolder()
        {
            var holder = new FilterHolder();

            holder.Filters.Add(new UpgradesFilter(this));
            holder.Filters.Add(new SourcesFilter(this));
            holder.Filters.Add(new ItemTypesFilter(this));
            holder.Filters.Add(new TargetsFilter(this));
            holder.Filters.Add(new ExpeditionAttributeFilter(this));
            holder.Filters.Add(new ItemSetFilter(this));
            holder.Filters.Add(new ReleaseVersionsFilter(this));
            holder.Filters.Add(new RaritiesFilter(this));
            holder.Filters.Add(new EquippedFilter(this));
            holder.Filters.Add(new SearchTextFilter(this));
            holder.Filters.Add(new TargetBuildingFilter(this));
            if (AssetProvider.CountMode)
            {
                holder.Filters.Add(new AvailableFilter(this)
                {
                    SelectedValue = true
                });
            }
            else
            {
                holder.Filters.Add(new RollableFilter(this)
                {
                    SelectedValue = true
                });
            }
            return(holder);
        }
コード例 #2
0
        public override FilterHolder CreateFilterHolder()
        {
            var holder = new FilterHolder();

            holder.Filters.Add(new UpgradesFilter(this));
            holder.Filters.Add(new ReleaseVersionsFilter(this));
            holder.Filters.Add(new SearchTextFilter(this));
            holder.Filters.Add(new BuildableFilter(this));
            return(holder);
        }
コード例 #3
0
        public override FilterHolder CreateFilterHolder()
        {
            var holder = new FilterHolder();

            holder.Filters.Add(new UpgradesFilter(this));
            holder.Filters.Add(new TargetsFilter(this));
            holder.Filters.Add(new ReleaseVersionsFilter(this));
            holder.Filters.Add(new EquippedFilter(this));
            holder.Filters.Add(new SearchTextFilter(this));
            holder.Filters.Add(new TargetBuildingFilter(this));
            return(holder);
        }
コード例 #4
0
        public override FilterHolder CreateFilterHolder()
        {
            var holder = new FilterHolder();

            holder.Filters.Add(new UpgradesFilter(this));
            holder.Filters.Add(new SourcesFilter(this));
            holder.Filters.Add(new ItemTypesFilter(this));
            holder.Filters.Add(new TargetsFilter(this));
            holder.Filters.Add(new ExpeditionAttributeFilter(this));
            holder.Filters.Add(new ItemSetFilter(this));
            holder.Filters.Add(new ReleaseVersionsFilter(this));
            holder.Filters.Add(new RaritiesFilter(this));
            holder.Filters.Add(new EquippedFilter(this));
            holder.Filters.Add(new SearchTextFilter(this));
            holder.Filters.Add(new TargetBuildingFilter(this));
            return(holder);
        }