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
ShapeData.cs
Go to the documentation of this file.
1using System;
3using System.Linq;
11using Terraria.IO;
12
14{
15 [global::Cpp2ILInjected.Token(Token = "0x20004E5")]
16 public class ShapeData
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x17000607")]
19 public int Count
20 {
21 [global::Cpp2ILInjected.Token(Token = "0x600305A")]
22 [global::Cpp2ILInjected.Address(RVA = "0x12FAF1C", Offset = "0x12FAF1C", Length = "0x40")]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.WorldGen.<>c", Member = "<GenerateWorld>b__277_55", MemberParameters = new object[]
24 {
27 }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "smCallBack", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
30 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
31 get
32 {
33 throw null;
34 }
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x600305B")]
38 [global::Cpp2ILInjected.Address(RVA = "0x12FAF5C", Offset = "0x12FAF5C", Length = "0x80")]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.WorldGen.<>c", Member = "<GenerateWorld>b__277_55", MemberParameters = new object[]
40 {
43 }, ReturnType = typeof(void))]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "smCallBack", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CampsiteBiome), Member = "Place", MemberParameters = new object[]
46 {
48 typeof(StructureMap)
49 }, ReturnType = typeof(bool))]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CorruptionPitBiome), Member = "Place", MemberParameters = new object[]
51 {
53 typeof(StructureMap)
54 }, ReturnType = typeof(bool))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EnchantedSwordBiome), Member = "Place", MemberParameters = new object[]
56 {
58 typeof(StructureMap)
59 }, ReturnType = typeof(bool))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HoneyPatchBiome), Member = "Place", MemberParameters = new object[]
61 {
63 typeof(StructureMap)
64 }, ReturnType = typeof(bool))]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MiningExplosivesBiome), Member = "Place", MemberParameters = new object[]
66 {
68 typeof(StructureMap)
69 }, ReturnType = typeof(bool))]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AnthillEntrance), Member = "PlaceAt", MemberParameters = new object[]
71 {
74 typeof(int)
75 }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChambersEntrance), Member = "PlaceAt", MemberParameters = new object[]
77 {
80 }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LarvaHoleEntrance), Member = "PlaceAt", MemberParameters = new object[]
82 {
85 typeof(int)
86 }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HouseBuilder), Member = "PlaceStairs", ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 16)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = ".ctor", ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
92 public ShapeData()
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x600305C")]
98 [global::Cpp2ILInjected.Address(RVA = "0x12FAFDC", Offset = "0x12FAFDC", Length = "0x8C")]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CorruptionPitBiome), Member = "Place", MemberParameters = new object[]
100 {
101 typeof(Point),
103 }, ReturnType = typeof(bool))]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = ".ctor", MemberParameters = new object[] { typeof(IEnumerable<Point16>) }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
108 public ShapeData(ShapeData original)
109 {
110 throw null;
111 }
112
113 [global::Cpp2ILInjected.Token(Token = "0x600305D")]
114 [global::Cpp2ILInjected.Address(RVA = "0x12F3E84", Offset = "0x12F3E84", Length = "0x84")]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GenAction), Member = "UnitApply", MemberParameters = new object[]
116 {
117 typeof(Point),
118 typeof(int),
119 typeof(int),
120 typeof(object[])
121 }, ReturnType = typeof(bool))]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GenShape), Member = "UnitApply", MemberParameters = new object[]
123 {
124 typeof(GenAction),
125 typeof(Point),
126 typeof(int),
127 typeof(int),
128 typeof(object[])
129 }, ReturnType = typeof(bool))]
130 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeData), Member = "Add", MemberParameters = new object[]
131 {
133 typeof(Point),
135 }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HouseBuilder), Member = "PlaceStairs", ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point16), Member = ".ctor", MemberParameters = new object[]
139 {
140 typeof(int),
141 typeof(int)
142 }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = "Add", MemberParameters = new object[] { typeof(Point16) }, ReturnType = typeof(bool))]
144 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
145 public void Add(int x, int y)
146 {
147 throw null;
148 }
149
150 [global::Cpp2ILInjected.Token(Token = "0x600305E")]
151 [global::Cpp2ILInjected.Address(RVA = "0x12FB068", Offset = "0x12FB068", Length = "0x84")]
152 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeData), Member = "Subtract", MemberParameters = new object[]
153 {
155 typeof(Point),
157 }, ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point16), Member = ".ctor", MemberParameters = new object[]
160 {
161 typeof(int),
162 typeof(int)
163 }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = "Remove", MemberParameters = new object[] { typeof(Point16) }, ReturnType = typeof(bool))]
165 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
166 public void Remove(int x, int y)
167 {
168 throw null;
169 }
170
171 [global::Cpp2ILInjected.Token(Token = "0x600305F")]
172 [global::Cpp2ILInjected.Address(RVA = "0x12FB0EC", Offset = "0x12FB0EC", Length = "0x8")]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
175 {
176 throw null;
177 }
178
179 [global::Cpp2ILInjected.Token(Token = "0x6003060")]
180 [global::Cpp2ILInjected.Address(RVA = "0x12FB0F4", Offset = "0x12FB0F4", Length = "0x48")]
181 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.WorldGen.<>c", Member = "<GenerateWorld>b__277_55", MemberParameters = new object[]
182 {
185 }, ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "smCallBack", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
187 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = "Clear", ReturnType = typeof(void))]
189 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
190 public void Clear()
191 {
192 throw null;
193 }
194
195 [global::Cpp2ILInjected.Token(Token = "0x6003061")]
196 [global::Cpp2ILInjected.Address(RVA = "0x12F70AC", Offset = "0x12F70AC", Length = "0x88")]
197 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Modifiers.InShape), Member = "Apply", MemberParameters = new object[]
198 {
199 typeof(Point),
200 typeof(int),
201 typeof(int),
202 typeof(object[])
203 }, ReturnType = typeof(bool))]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Modifiers.NotInShape), Member = "Apply", MemberParameters = new object[]
205 {
206 typeof(Point),
207 typeof(int),
208 typeof(int),
209 typeof(object[])
210 }, ReturnType = typeof(bool))]
211 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ModShapes.OuterOutline), Member = "Perform", MemberParameters = new object[]
212 {
213 typeof(Point),
214 typeof(GenAction)
215 }, ReturnType = typeof(bool))]
216 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ModShapes.InnerOutline), Member = "Perform", MemberParameters = new object[]
217 {
218 typeof(Point),
219 typeof(GenAction)
220 }, ReturnType = typeof(bool))]
221 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
222 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point16), Member = ".ctor", MemberParameters = new object[]
223 {
224 typeof(int),
225 typeof(int)
226 }, ReturnType = typeof(void))]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = "Contains", MemberParameters = new object[] { typeof(Point16) }, ReturnType = typeof(bool))]
228 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
229 public bool Contains(int x, int y)
230 {
231 throw null;
232 }
233
234 [global::Cpp2ILInjected.Token(Token = "0x6003062")]
235 [global::Cpp2ILInjected.Address(RVA = "0x12FB13C", Offset = "0x12FB13C", Length = "0x174")]
236 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
237 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
238 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ShapeData), Member = "Add", MemberParameters = new object[]
241 {
242 typeof(int),
243 typeof(int)
244 }, ReturnType = typeof(void))]
245 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
246 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
248 {
249 throw null;
250 }
251
252 [global::Cpp2ILInjected.Token(Token = "0x6003063")]
253 [global::Cpp2ILInjected.Address(RVA = "0x12FB2B0", Offset = "0x12FB2B0", Length = "0x174")]
254 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CorruptionPitBiome), Member = "Place", MemberParameters = new object[]
256 {
257 typeof(Point),
259 }, ReturnType = typeof(bool))]
260 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EnchantedSwordBiome), Member = "Place", MemberParameters = new object[]
261 {
262 typeof(Point),
263 typeof(StructureMap)
264 }, ReturnType = typeof(bool))]
265 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
266 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
267 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
268 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ShapeData), Member = "Remove", MemberParameters = new object[]
269 {
270 typeof(int),
271 typeof(int)
272 }, ReturnType = typeof(void))]
273 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
274 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
276 {
277 throw null;
278 }
279
280 [global::Cpp2ILInjected.Token(Token = "0x6003064")]
281 [global::Cpp2ILInjected.Address(RVA = "0x12FB424", Offset = "0x12FB424", Length = "0x2B0")]
282 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
283 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CorruptionPitBiome), Member = "Place", MemberParameters = new object[]
284 {
285 typeof(Point),
287 }, ReturnType = typeof(bool))]
288 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "First", MemberTypeParameters = new object[] { typeof(Point16) }, MemberParameters = new object[] { typeof(IEnumerable<Point16>) }, ReturnType = "TSource")]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
291 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
292 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
293 {
294 typeof(int),
295 typeof(int)
296 }, ReturnType = typeof(int))]
297 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
298 {
299 typeof(int),
300 typeof(int)
301 }, ReturnType = typeof(int))]
302 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
303 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
304 {
305 typeof(int),
306 typeof(int),
307 typeof(int),
308 typeof(int)
309 }, ReturnType = typeof(void))]
310 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
312 {
313 throw null;
314 }
315
316 [global::Cpp2ILInjected.Token(Token = "0x4003A80")]
317 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
319 }
320}
class f__AnonymousType0<< Count > j__TPar
HashSet< Point16 > GetData()
Definition ShapeData.cs:174
void Subtract(ShapeData shapeData, Point localOrigin, Point remoteOrigin)
Definition ShapeData.cs:275
void Add(ShapeData shapeData, Point localOrigin, Point remoteOrigin)
Definition ShapeData.cs:247
bool Contains(int x, int y)
Definition ShapeData.cs:229
ShapeData(ShapeData original)
Definition ShapeData.cs:108
static Rectangle GetBounds(Point origin, params ShapeData[] shapes)
Definition ShapeData.cs:311