terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
TileObjectCoordinatesModule.cs
Go to the documentation of this file.
1using System;
4
5namespace Terraria.Modules
6{
7 // Token: 0x0200054C RID: 1356
9 {
10 // Token: 0x060032EF RID: 13039 RVA: 0x001FE0AC File Offset: 0x001FC2AC
12 {
13 int[] array;
14 if (copyFrom != null)
15 {
16 int num = copyFrom.width;
17 this.width = num;
18 int num2 = copyFrom.padding;
20 Point16 point = copyFrom.paddingFix;
21 this.paddingFix = point;
22 int num3 = copyFrom.drawStyleOffset;
24 int num4 = copyFrom.styleWidth;
26 bool flag = copyFrom.calculated;
27 this.calculated = flag;
28 if (drawHeight == null)
29 {
30 array = copyFrom.heights;
31 if (array != null)
32 {
33 int[] array2 = copyFrom.heights;
34 return;
35 }
36 return;
37 }
38 }
39 else if (array == null)
40 {
41 }
43 }
44
45 // Token: 0x04003BEC RID: 15340
46 public int width;
47
48 // Token: 0x04003BED RID: 15341
49 public int[] heights;
50
51 // Token: 0x04003BEE RID: 15342
52 public int padding;
53
54 // Token: 0x04003BEF RID: 15343
56
57 // Token: 0x04003BF0 RID: 15344
58 public int styleWidth;
59
60 // Token: 0x04003BF1 RID: 15345
61 public int styleHeight;
62
63 // Token: 0x04003BF2 RID: 15346
64 public bool calculated;
65
66 // Token: 0x04003BF3 RID: 15347
67 public int drawStyleOffset;
68 }
69}
class f__AnonymousType0<< Count > j__TPar
TileObjectCoordinatesModule([Optional] TileObjectCoordinatesModule copyFrom, [Optional] int[] drawHeight)