Elin Decompiled Documentation EA 23.261 Nightly Patch 3
Loading...
Searching...
No Matches
RendererReplacer.cs
Go to the documentation of this file.
1public class RendererReplacer : EClass
2{
3 public int tile = 1820;
4
5 public int mat = -1;
6
8
10
11 public static RendererReplacer CreateFrom(string id, int shift = 0, int mat = -1)
12 {
13 CardRow cardRow = EClass.sources.cards.map[id];
14 return new RendererReplacer
15 {
16 tile = cardRow._tiles[0] + shift,
17 data = cardRow.renderData,
18 pref = cardRow.pref,
19 mat = mat
20 };
21 }
22}
Definition: EClass.cs:6
static SourceManager sources
Definition: EClass.cs:43
RenderData renderData
Definition: RenderRow.cs:71
SourcePref pref
Definition: RenderRow.cs:68
int[] _tiles
Definition: RenderRow.cs:12
static RendererReplacer CreateFrom(string id, int shift=0, int mat=-1)
Dictionary< string, CardRow > map
Definition: SourceCard.cs:8
SourceCard cards