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); }
public FilterRule(FilterTeamType TeamType, FilterRangeType RangeType, FilterNpcType NpcType) { this.TeamType = TeamType; this.RangeType = RangeType; this.NpcType = NpcType; }