コード例 #1
0
        public static List <BaseNpc> Find(FilterTeamType Type, FilterArgs Args)
        {
            var NpcList = FuncList_[Type].Invoke(Args);
            var Result  = new List <BaseNpc>();

            foreach (var Npc in NpcList)
            {
                if (Npc.IsValid())
                {
                    Result.Add(Npc);
                }
            }

            return(Result);
        }
コード例 #2
0
 public FilterRule(FilterTeamType TeamType, FilterRangeType RangeType, FilterNpcType NpcType)
 {
     this.TeamType  = TeamType;
     this.RangeType = RangeType;
     this.NpcType   = NpcType;
 }