Elin Modding Docs Doc
Loading...
Searching...
No Matches
CharaFilter.cs
1using System;
2
3// Token: 0x020004F3 RID: 1267
4public class CharaFilter : CardFilter
5{
6 // Token: 0x060021CB RID: 8651 RVA: 0x000BAF38 File Offset: 0x000B9138
7 public CharaFilter()
8 {
9 this.isChara = true;
10 }
11
12 // Token: 0x060021CC RID: 8652 RVA: 0x000BAF47 File Offset: 0x000B9147
13 protected override bool _ShouldPass(CardRow source)
14 {
15 return this.ShouldPass == null || this.ShouldPass(source as SourceChara.Row);
16 }
17
18 // Token: 0x060021CD RID: 8653 RVA: 0x000BAF64 File Offset: 0x000B9164
19 public override bool ContainsTag(CardRow source, string str)
20 {
21 SourceChara.Row row = source as SourceChara.Row;
22 return source.tag.Contains(str) || row.race_row.tag.Contains(str);
23 }
24
25 // Token: 0x04001149 RID: 4425
26 public Func<SourceChara.Row, bool> ShouldPass;
27}