terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
ShapeBranch.cs
Go to the documentation of this file.
1using System;
11
13{
14 [global::Cpp2ILInjected.Token(Token = "0x20008D7")]
15 public class ShapeBranch : GenShape
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x60045A4")]
18 [global::Cpp2ILInjected.Address(RVA = "0x7BE9D0", Offset = "0x7BE9D0", Length = "0x40")]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenShape), Member = ".ctor", ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
22 {
23 typeof(int),
24 typeof(int)
25 }, ReturnType = typeof(void))]
26 public ShapeBranch()
27 {
28 throw null;
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x60045A5")]
32 [global::Cpp2ILInjected.Address(RVA = "0x7BEA10", Offset = "0x7BEA10", Length = "0x28")]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenShape), Member = ".ctor", ReturnType = typeof(void))]
36 {
37 throw null;
38 }
39
40 [global::Cpp2ILInjected.Token(Token = "0x60045A6")]
41 [global::Cpp2ILInjected.Address(RVA = "0x7BEA38", Offset = "0x7BEA38", Length = "0xCC")]
42 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MahoganyTreeBiome), Member = "Place", MemberParameters = new object[]
44 {
47 }, ReturnType = typeof(bool))]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenShape), Member = ".ctor", ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
51 {
52 typeof(int),
53 typeof(int)
54 }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
56 public ShapeBranch(double angle, double distance)
57 {
58 throw null;
59 }
60
61 [global::Cpp2ILInjected.Token(Token = "0x60045A7")]
62 [global::Cpp2ILInjected.Address(RVA = "0x7BEB04", Offset = "0x7BEB04", Length = "0x1DC")]
63 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeBranch), Member = "Perform", MemberParameters = new object[]
65 {
68 }, ReturnType = typeof(bool))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
72 {
73 typeof(int),
74 typeof(int)
75 }, ReturnType = typeof(int))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
77 {
78 typeof(int),
79 typeof(int)
80 }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils.TileActionAttempt), Member = ".ctor", MemberParameters = new object[]
82 {
83 typeof(object),
85 }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "PlotLine", MemberParameters = new object[]
87 {
91 typeof(bool)
92 }, ReturnType = typeof(bool))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
94 private bool PerformSegment(Point origin, GenAction action, Point start, Point end, int size)
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x60045A8")]
100 [global::Cpp2ILInjected.Address(RVA = "0x7BECE8", Offset = "0x7BECE8", Length = "0x438")]
101 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
102 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2D), Member = ".ctor", MemberParameters = new object[]
104 {
105 typeof(double),
106 typeof(double)
107 }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2D), Member = "Length", ReturnType = typeof(double))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
110 {
111 typeof(int),
112 typeof(int)
113 }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ShapeBranch), Member = "PerformSegment", MemberParameters = new object[]
115 {
116 typeof(Point),
118 typeof(Point),
119 typeof(Point),
120 typeof(int)
121 }, ReturnType = typeof(bool))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenBase), Member = "get__random", ReturnType = typeof(UnifiedRandom))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "NextDouble", ReturnType = typeof(double))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "RotatedBy", MemberParameters = new object[]
126 {
128 typeof(double),
130 }, ReturnType = typeof(Vector2D))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2D), Member = "op_Multiply", MemberParameters = new object[]
132 {
134 typeof(double)
135 }, ReturnType = typeof(Vector2D))]
136 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
137 public override bool Perform(Point origin, GenAction action)
138 {
139 throw null;
140 }
141
142 [global::Cpp2ILInjected.Token(Token = "0x60045A9")]
143 [global::Cpp2ILInjected.Address(RVA = "0x7BF120", Offset = "0x7BF120", Length = "0x8")]
144 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MahoganyTreeBiome), Member = "Place", MemberParameters = new object[]
145 {
146 typeof(Point),
148 }, ReturnType = typeof(bool))]
149 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
151 {
152 throw null;
153 }
154
155 [global::Cpp2ILInjected.Token(Token = "0x400820B")]
156 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
157 private Point _offset;
158
159 [global::Cpp2ILInjected.Token(Token = "0x400820C")]
160 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
162
164 [global::Cpp2ILInjected.Token(Token = "0x20008D8")]
165 private sealed class <>c__DisplayClass5_0
166 {
167 [global::Cpp2ILInjected.Token(Token = "0x60045AA")]
168 [global::Cpp2ILInjected.Address(RVA = "0x7BECE0", Offset = "0x7BECE0", Length = "0x8")]
169 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
172 {
173 throw null;
174 }
175
176 [global::Cpp2ILInjected.Token(Token = "0x60045AB")]
177 [global::Cpp2ILInjected.Address(RVA = "0x7BF128", Offset = "0x7BF128", Length = "0xD8")]
178 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
179 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenShape), Member = "UnitApply", MemberParameters = new object[]
181 {
183 typeof(Point),
184 typeof(int),
185 typeof(int),
186 typeof(object[])
187 }, ReturnType = typeof(bool))]
188 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
189 internal bool <PerformSegment>b__0(int tileX, int tileY)
190 {
191 throw null;
192 }
193
194 [global::Cpp2ILInjected.Token(Token = "0x400820D")]
195 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
196 public ShapeBranch <>4__this;
197
198 [global::Cpp2ILInjected.Token(Token = "0x400820E")]
199 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
200 public GenAction action;
201
202 [global::Cpp2ILInjected.Token(Token = "0x400820F")]
203 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
204 public Point origin;
205
206 [global::Cpp2ILInjected.Token(Token = "0x4008210")]
207 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
209 }
210 }
211}
class f__AnonymousType0<< Count > j__TPar
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)
delegate bool TileActionAttempt(int x, int y)