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
HitTile.cs
Go to the documentation of this file.
1using System;
8
9namespace Terraria
10{
11 [global::Cpp2ILInjected.Token(Token = "0x20003ED")]
12 public class HitTile
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x6001AEA")]
15 [global::Cpp2ILInjected.Address(RVA = "0xB4A914", Offset = "0xB4A914", Length = "0xF0")]
16 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
18 {
19 typeof(byte[]),
20 typeof(int),
21 typeof(ref int)
22 }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "ClearThisTile", MemberParameters = new object[]
25 {
26 typeof(int),
27 typeof(int)
28 }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
30 public static void ClearAllTilesAtThisLocation(int x, int y)
31 {
32 throw null;
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x6001AEB")]
36 [global::Cpp2ILInjected.Address(RVA = "0xB4AA04", Offset = "0xB4AA04", Length = "0x84")]
37 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "ClearAllTilesAtThisLocation", MemberParameters = new object[]
39 {
40 typeof(int),
41 typeof(int)
42 }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "Clear", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "Prune", ReturnType = typeof(void))]
46 public void ClearThisTile(int x, int y)
47 {
48 throw null;
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x6001AEC")]
52 [global::Cpp2ILInjected.Address(RVA = "0xB4AD08", Offset = "0xB4AD08", Length = "0xA8")]
53 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = ".ctor", ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "NextCrackStyle", ReturnType = typeof(int))]
58 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
59 public HitTile()
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x6001AED")]
65 [global::Cpp2ILInjected.Address(RVA = "0xB4ADB0", Offset = "0xB4ADB0", Length = "0x98")]
66 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = ".ctor", ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "ClearEntryData", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
71 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
72 private int NextCrackStyle()
73 {
74 throw null;
75 }
76
77 [global::Cpp2ILInjected.Token(Token = "0x6001AEE")]
78 [global::Cpp2ILInjected.Address(RVA = "0xB4AE48", Offset = "0xB4AE48", Length = "0x70")]
79 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "TryClearingAndPruning", MemberParameters = new object[]
81 {
82 typeof(int),
83 typeof(int),
84 typeof(int)
85 }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
87 public int TryFinding(int x, int y, int hitType)
88 {
89 throw null;
90 }
91
92 [global::Cpp2ILInjected.Token(Token = "0x6001AEF")]
93 [global::Cpp2ILInjected.Address(RVA = "0xB4AEB8", Offset = "0xB4AEB8", Length = "0x34")]
94 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PlaceThing_TryReplacingTiles", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(bool))]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_UseMiningTools_ActuallyUseMiningTool", MemberParameters = new object[]
96 {
97 typeof(Item),
98 typeof(ref bool),
99 typeof(int),
100 typeof(int)
101 }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PickWall", MemberParameters = new object[]
103 {
104 typeof(int),
105 typeof(int),
106 typeof(int)
107 }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_UseMiningTools_TryPoundingTile", MemberParameters = new object[]
109 {
110 typeof(Item),
111 typeof(int),
112 typeof(ref bool),
113 typeof(int),
114 typeof(int)
115 }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PickTile", MemberParameters = new object[]
117 {
118 typeof(int),
119 typeof(int),
120 typeof(int)
121 }, ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ClearMiningCacheAt", MemberParameters = new object[]
123 {
124 typeof(int),
125 typeof(int),
126 typeof(int)
127 }, ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 14)]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "TryFinding", MemberParameters = new object[]
130 {
131 typeof(int),
132 typeof(int),
133 typeof(int)
134 }, ReturnType = typeof(int))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "Clear", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "Prune", ReturnType = typeof(void))]
137 public void TryClearingAndPruning(int x, int y, int hitType)
138 {
139 throw null;
140 }
141
142 [global::Cpp2ILInjected.Token(Token = "0x6001AF0")]
143 [global::Cpp2ILInjected.Address(RVA = "0xB4AEEC", Offset = "0xB4AEEC", Length = "0x98")]
144 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
145 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PlaceThing_TryReplacingTiles", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(bool))]
146 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_UseMiningTools_ActuallyUseMiningTool", MemberParameters = new object[]
147 {
148 typeof(Item),
149 typeof(ref bool),
150 typeof(int),
151 typeof(int)
152 }, ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PickWall", MemberParameters = new object[]
154 {
155 typeof(int),
156 typeof(int),
157 typeof(int)
158 }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "GetOtherPlayersPickTile", MemberParameters = new object[]
160 {
161 typeof(int),
162 typeof(int),
163 typeof(int)
164 }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PickTile", MemberParameters = new object[]
166 {
167 typeof(int),
168 typeof(int),
169 typeof(int)
170 }, ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "HasEnoughPickPowerToHurtTile", MemberParameters = new object[]
172 {
173 typeof(int),
174 typeof(int)
175 }, ReturnType = typeof(bool))]
176 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
177 public int HitObject(int x, int y, int hitType)
178 {
179 throw null;
180 }
181
182 [global::Cpp2ILInjected.Token(Token = "0x6001AF1")]
183 [global::Cpp2ILInjected.Address(RVA = "0xB4AF84", Offset = "0xB4AF84", Length = "0x20")]
184 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
185 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "GetPickaxeDamage", MemberParameters = new object[]
186 {
187 typeof(int),
188 typeof(int),
189 typeof(int),
190 typeof(int),
191 typeof(Tile)
192 }, ReturnType = typeof(int))]
193 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
194 public void UpdatePosition(int tileId, int x, int y)
195 {
196 throw null;
197 }
198
199 [global::Cpp2ILInjected.Token(Token = "0x6001AF2")]
200 [global::Cpp2ILInjected.Address(RVA = "0xB4AFA4", Offset = "0xB4AFA4", Length = "0x68")]
201 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
202 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PlaceThing_TryReplacingTiles", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(bool))]
203 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_UseMiningTools_ActuallyUseMiningTool", MemberParameters = new object[]
204 {
205 typeof(Item),
206 typeof(ref bool),
207 typeof(int),
208 typeof(int)
209 }, ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PickWall", MemberParameters = new object[]
211 {
212 typeof(int),
213 typeof(int),
214 typeof(int)
215 }, ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_UseMiningTools_TryPoundingTile", MemberParameters = new object[]
217 {
218 typeof(Item),
219 typeof(int),
220 typeof(ref bool),
221 typeof(int),
222 typeof(int)
223 }, ReturnType = typeof(void))]
224 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "GetOtherPlayersPickTile", MemberParameters = new object[]
225 {
226 typeof(int),
227 typeof(int),
228 typeof(int)
229 }, ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PickTile", MemberParameters = new object[]
231 {
232 typeof(int),
233 typeof(int),
234 typeof(int)
235 }, ReturnType = typeof(void))]
236 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "DoesPickTargetTransformOnKill", MemberParameters = new object[]
237 {
239 typeof(int),
240 typeof(int),
241 typeof(int),
242 typeof(int),
243 typeof(int),
244 typeof(Tile)
245 }, ReturnType = typeof(bool))]
246 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
247 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "SortSlots", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
248 public int AddDamage(int tileId, int damageAmount, bool updateAmount = true)
249 {
250 throw null;
251 }
252
253 [global::Cpp2ILInjected.Token(Token = "0x6001AF3")]
254 [global::Cpp2ILInjected.Address(RVA = "0xB4B0C4", Offset = "0xB4B0C4", Length = "0x68")]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "SortSlots", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "Clear", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "Prune", ReturnType = typeof(void))]
258 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
259 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "NextCrackStyle", ReturnType = typeof(int))]
260 private void ClearEntryData(int tileId)
261 {
262 throw null;
263 }
264
265 [global::Cpp2ILInjected.Token(Token = "0x6001AF4")]
266 [global::Cpp2ILInjected.Address(RVA = "0xB4B00C", Offset = "0xB4B00C", Length = "0xB8")]
267 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
268 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "AddDamage", MemberParameters = new object[]
269 {
270 typeof(int),
271 typeof(int),
272 typeof(bool)
273 }, ReturnType = typeof(int))]
274 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
275 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "ClearEntryData", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
276 private void SortSlots(int tileId)
277 {
278 throw null;
279 }
280
281 [global::Cpp2ILInjected.Token(Token = "0x6001AF5")]
282 [global::Cpp2ILInjected.Address(RVA = "0xB4AA88", Offset = "0xB4AA88", Length = "0x7C")]
283 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
284 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "ClearThisTile", MemberParameters = new object[]
285 {
286 typeof(int),
287 typeof(int)
288 }, ReturnType = typeof(void))]
289 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "TryClearingAndPruning", MemberParameters = new object[]
290 {
291 typeof(int),
292 typeof(int),
293 typeof(int)
294 }, ReturnType = typeof(void))]
295 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PickWall", MemberParameters = new object[]
296 {
297 typeof(int),
298 typeof(int),
299 typeof(int)
300 }, ReturnType = typeof(void))]
301 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
302 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "ClearEntryData", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
303 public void Clear(int tileId)
304 {
305 throw null;
306 }
307
308 [global::Cpp2ILInjected.Token(Token = "0x6001AF6")]
309 [global::Cpp2ILInjected.Address(RVA = "0xB4AB04", Offset = "0xB4AB04", Length = "0x204")]
310 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
311 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "ClearThisTile", MemberParameters = new object[]
312 {
313 typeof(int),
314 typeof(int)
315 }, ReturnType = typeof(void))]
316 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "TryClearingAndPruning", MemberParameters = new object[]
317 {
318 typeof(int),
319 typeof(int),
320 typeof(int)
321 }, ReturnType = typeof(void))]
322 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_UseMiningTools_ActuallyUseMiningTool", MemberParameters = new object[]
323 {
324 typeof(Item),
325 typeof(ref bool),
326 typeof(int),
327 typeof(int)
328 }, ReturnType = typeof(void))]
329 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PickWall", MemberParameters = new object[]
330 {
331 typeof(int),
332 typeof(int),
333 typeof(int)
334 }, ReturnType = typeof(void))]
335 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PickTile", MemberParameters = new object[]
336 {
337 typeof(int),
338 typeof(int),
339 typeof(int)
340 }, ReturnType = typeof(void))]
341 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
342 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
343 {
344 typeof(int),
345 typeof(int)
346 }, ReturnType = typeof(Tile))]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
348 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HitTile), Member = "ClearEntryData", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
349 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_wall", ReturnType = typeof(ushort))]
350 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
351 public void Prune()
352 {
353 throw null;
354 }
355
356 [global::Cpp2ILInjected.Token(Token = "0x6001AF7")]
357 [global::Cpp2ILInjected.Address(RVA = "0xB4B12C", Offset = "0xB4B12C", Length = "0xA24")]
358 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
359 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw_Tiles_Solid", ReturnType = typeof(void))]
360 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
361 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SettingsEnabled_MinersWobble", ReturnType = typeof(bool))]
362 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
363 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "ShouldShowInvisibleWalls", ReturnType = typeof(bool))]
364 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "InWorld", MemberParameters = new object[]
365 {
366 typeof(int),
367 typeof(int),
368 typeof(int)
369 }, ReturnType = typeof(bool))]
370 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
371 {
372 typeof(int),
373 typeof(int)
374 }, ReturnType = typeof(Tile))]
375 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_IsLoaded", ReturnType = typeof(bool))]
376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
377 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
378 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "invisibleBlock", ReturnType = typeof(bool))]
379 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "IsTreeType", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
380 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameX", ReturnType = typeof(short))]
381 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
382 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
383 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
384 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
385 {
386 typeof(int),
387 typeof(int),
388 typeof(int),
389 typeof(int)
390 }, ReturnType = typeof(void))]
391 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Inflate", MemberParameters = new object[]
392 {
393 typeof(int),
394 typeof(int)
395 }, ReturnType = typeof(void))]
396 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "GetColor", MemberParameters = new object[]
397 {
398 typeof(int),
399 typeof(int)
400 }, ReturnType = typeof(Color))]
401 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Framing), Member = "GetTileSafely", MemberParameters = new object[]
402 {
403 typeof(int),
404 typeof(int)
405 }, ReturnType = typeof(Tile))]
406 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "color", ReturnType = typeof(byte))]
407 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileDrawing), Member = "GetTileDrawTexture", MemberParameters = new object[]
408 {
409 typeof(int),
410 typeof(int),
411 typeof(ushort),
412 typeof(short),
413 typeof(short),
414 typeof(byte),
416 }, ReturnType = typeof(Texture2D))]
417 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
418 {
419 typeof(Color),
420 typeof(float)
421 }, ReturnType = typeof(Color))]
422 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
423 {
424 typeof(float),
426 }, ReturnType = typeof(Vector2))]
427 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenPosition", ReturnType = typeof(Vector2))]
428 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
429 {
430 typeof(float),
431 typeof(float)
432 }, ReturnType = typeof(void))]
433 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
434 {
437 }, ReturnType = typeof(Vector2))]
438 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Floor", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
439 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
440 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
441 {
445 typeof(Color),
446 typeof(float),
450 typeof(float)
451 }, ReturnType = typeof(void))]
452 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 36)]
453 public void DrawFreshAnimations(SpriteBatch spriteBatch)
454 {
455 throw null;
456 }
457
458 // Note: this type is marked as 'beforefieldinit'.
459 [global::Cpp2ILInjected.Token(Token = "0x6001AF8")]
460 [global::Cpp2ILInjected.Address(RVA = "0xB4BD60", Offset = "0xB4BD60", Length = "0x80")]
461 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
462 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = ".ctor", ReturnType = typeof(void))]
463 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
464 static HitTile()
465 {
466 throw null;
467 }
468
469 [global::Cpp2ILInjected.Token(Token = "0x400281F")]
470 private static int lastCrack;
471
472 [global::Cpp2ILInjected.Token(Token = "0x4002820")]
473 public const int xIndex = 0;
474
475 [global::Cpp2ILInjected.Token(Token = "0x4002821")]
476 public const int yIndex = 1;
477
478 [global::Cpp2ILInjected.Token(Token = "0x4002822")]
479 public const int damageIndex = 2;
480
481 [global::Cpp2ILInjected.Token(Token = "0x4002823")]
482 public const int typeIndex = 3;
483
484 [global::Cpp2ILInjected.Token(Token = "0x4002824")]
485 public const int timeToLiveIndex = 4;
486
487 [global::Cpp2ILInjected.Token(Token = "0x4002825")]
488 public const int crackStyleIndex = 5;
489
490 [global::Cpp2ILInjected.Token(Token = "0x4002826")]
491 public const int animationTimeElapsedIndex = 6;
492
493 [global::Cpp2ILInjected.Token(Token = "0x4002827")]
494 public const int HitTileObjectCount = 7;
495
496 [global::Cpp2ILInjected.Token(Token = "0x4002828")]
497 internal const int UNUSED = 0;
498
499 [global::Cpp2ILInjected.Token(Token = "0x4002829")]
500 internal const int TILE = 1;
501
502 [global::Cpp2ILInjected.Token(Token = "0x400282A")]
503 internal const int WALL = 2;
504
505 [global::Cpp2ILInjected.Token(Token = "0x400282B")]
506 internal const int MAX_HITTILES = 500;
507
508 [global::Cpp2ILInjected.Token(Token = "0x400282C")]
509 internal const int TIMETOLIVE = 60;
510
511 [global::Cpp2ILInjected.Token(Token = "0x400282D")]
512 private static UnifiedRandom rand;
513
514 [global::Cpp2ILInjected.Token(Token = "0x400282E")]
515 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
517
518 [global::Cpp2ILInjected.Token(Token = "0x400282F")]
519 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
520 private readonly int[] order;
521
522 [global::Cpp2ILInjected.Token(Token = "0x4002830")]
523 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
524 private int bufferLocation;
525 }
526}
class f__AnonymousType0<< Count > j__TPar
int NextCrackStyle()
Definition HitTile.cs:72
const int TILE
Definition HitTile.cs:500
static void ClearAllTilesAtThisLocation(int x, int y)
Definition HitTile.cs:30
const int MAX_HITTILES
Definition HitTile.cs:506
readonly int[] order
Definition HitTile.cs:520
const int yIndex
Definition HitTile.cs:476
static int lastCrack
Definition HitTile.cs:470
const int animationTimeElapsedIndex
Definition HitTile.cs:491
void DrawFreshAnimations(SpriteBatch spriteBatch)
Definition HitTile.cs:453
void Clear(int tileId)
Definition HitTile.cs:303
void TryClearingAndPruning(int x, int y, int hitType)
Definition HitTile.cs:137
int TryFinding(int x, int y, int hitType)
Definition HitTile.cs:87
void SortSlots(int tileId)
Definition HitTile.cs:276
static UnifiedRandom rand
Definition HitTile.cs:512
int AddDamage(int tileId, int damageAmount, bool updateAmount=true)
Definition HitTile.cs:248
void ClearEntryData(int tileId)
Definition HitTile.cs:260
const int WALL
Definition HitTile.cs:503
readonly int[] HitTileObjectData
Definition HitTile.cs:516
const int timeToLiveIndex
Definition HitTile.cs:485
const int HitTileObjectCount
Definition HitTile.cs:494
const int xIndex
Definition HitTile.cs:473
const int UNUSED
Definition HitTile.cs:497
const int damageIndex
Definition HitTile.cs:479
const int typeIndex
Definition HitTile.cs:482
int HitObject(int x, int y, int hitType)
Definition HitTile.cs:177
const int TIMETOLIVE
Definition HitTile.cs:509
const int crackStyleIndex
Definition HitTile.cs:488
void UpdatePosition(int tileId, int x, int y)
Definition HitTile.cs:194
static HitTile()
Definition HitTile.cs:464
void ClearThisTile(int x, int y)
Definition HitTile.cs:46