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
ShapeBranch.cs
Go to the documentation of this file.
1using System;
7
9{
10 // Token: 0x020008D7 RID: 2263
11 public class ShapeBranch : GenShape
12 {
13 // Token: 0x060045A4 RID: 17828 RVA: 0x002551F8 File Offset: 0x002533F8
14 public ShapeBranch()
15 {
16 }
17
18 // Token: 0x060045A5 RID: 17829 RVA: 0x0025520C File Offset: 0x0025340C
20 {
21 }
22
23 // Token: 0x060045A6 RID: 17830 RVA: 0x00255220 File Offset: 0x00253420
24 public ShapeBranch(double angle, double distance)
25 {
26 if (!true)
27 {
28 }
29 }
30
31 // Token: 0x060045A7 RID: 17831 RVA: 0x00255238 File Offset: 0x00253438
32 private bool PerformSegment(Point origin, GenAction action, Point start, Point end, int size)
33 {
34 if (!true)
35 {
36 }
37 int num = Math.Max(1, size);
38 bool flag;
39 return flag;
40 }
41
42 // Token: 0x060045A8 RID: 17832 RVA: 0x000021DB File Offset: 0x000003DB
43 public override bool Perform(Point origin, GenAction action)
44 {
45 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
46 }
47
48 // Token: 0x060045A9 RID: 17833 RVA: 0x00255254 File Offset: 0x00253454
54
55 // Token: 0x0400820B RID: 33291
56 private Point _offset;
57
58 // Token: 0x0400820C RID: 33292
60
61 // Token: 0x020008D8 RID: 2264
63 private sealed class <>c__DisplayClass5_0
64 {
65 // Token: 0x060045AA RID: 17834 RVA: 0x0025526C File Offset: 0x0025346C
67 {
68 }
69
70 // Token: 0x060045AB RID: 17835 RVA: 0x00255280 File Offset: 0x00253480
71 internal bool <PerformSegment>b__0(int tileX, int tileY)
72 {
75 Point point = this.origin;
76 if (!true)
77 {
78 }
79 return true;
80 }
81
82 // Token: 0x0400820D RID: 33293
84
85 // Token: 0x0400820E RID: 33294
86 public GenAction action;
87
88 // Token: 0x0400820F RID: 33295
89 public Point origin;
90
91 // Token: 0x04008210 RID: 33296
93 }
94 }
95}
class f__AnonymousType0<< Count > j__TPar
static byte Max(byte val1, byte val2)
Definition Math.cs:111
ShapeBranch(double angle, double distance)
bool PerformSegment(Point origin, GenAction action, Point start, Point end, int size)
ShapeBranch OutputEndpoints(List< Point > endpoints)
override bool Perform(Point origin, GenAction action)