Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ThingFilter.cs
Go to the documentation of this file.
1using System;
2
3public class ThingFilter : CardFilter
4{
5 public Func<SourceThing.Row, bool> ShouldPass;
6
7 protected override bool _ShouldPass(CardRow source)
8 {
9 if (ShouldPass != null)
10 {
11 return ShouldPass(source as SourceThing.Row);
12 }
13 return true;
14 }
15}
Func< SourceThing.Row, bool > ShouldPass
Definition: ThingFilter.cs:5
override bool _ShouldPass(CardRow source)
Definition: ThingFilter.cs:7