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
Collision.cs
Go to the documentation of this file.
1using System;
19
20namespace Terraria
21{
22 [global::Cpp2ILInjected.Token(Token = "0x2000425")]
23 public class Collision
24 {
25 [global::Cpp2ILInjected.Token(Token = "0x6002769")]
26 [global::Cpp2ILInjected.Address(RVA = "0x10A808C", Offset = "0x10A808C", Length = "0x3E8")]
27 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "RemoveIntersectingPortals", MemberParameters = new object[]
29 {
31 typeof(float)
32 }, ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Equals", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(bool))]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "PointOnLine", MemberParameters = new object[]
36 {
40 }, ReturnType = typeof(bool))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
42 {
43 typeof(float),
44 typeof(float)
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "OneDimensionalIntersection", MemberParameters = new object[]
47 {
52 }, ReturnType = typeof(Vector2[]))]
53 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
55 {
56 throw null;
57 }
58
59 [global::Cpp2ILInjected.Token(Token = "0x600276A")]
60 [global::Cpp2ILInjected.Address(RVA = "0x10A8758", Offset = "0x10A8758", Length = "0x160")]
61 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "PointOnLine", MemberParameters = new object[]
63 {
67 }, ReturnType = typeof(bool))]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Exception), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
71 private static double DistFromSeg(Vector2 p, Vector2 q0, Vector2 q1, double radius, ref float u)
72 {
73 throw null;
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x600276B")]
77 [global::Cpp2ILInjected.Address(RVA = "0x10A8474", Offset = "0x10A8474", Length = "0xB0")]
78 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "CheckLinevLine", MemberParameters = new object[]
80 {
85 }, ReturnType = typeof(Vector2[]))]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "DistFromSeg", MemberParameters = new object[]
88 {
92 typeof(double),
93 typeof(ref float)
94 }, ReturnType = typeof(double))]
95 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
96 private static bool PointOnLine(Vector2 p, Vector2 a1, Vector2 a2)
97 {
98 throw null;
99 }
100
101 [global::Cpp2ILInjected.Token(Token = "0x600276C")]
102 [global::Cpp2ILInjected.Address(RVA = "0x10A8524", Offset = "0x10A8524", Length = "0x234")]
103 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
104 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "CheckLinevLine", MemberParameters = new object[]
105 {
110 }, ReturnType = typeof(Vector2[]))]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Vector2>), Member = ".ctor", ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "FindOverlapPoints", MemberParameters = new object[]
114 {
115 typeof(float),
116 typeof(float)
117 }, ReturnType = typeof(float[]))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
119 {
120 typeof(float),
121 typeof(float)
122 }, ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Vector2>), Member = "ToArray", ReturnType = "T[]")]
124 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
126 {
127 throw null;
128 }
129
130 [global::Cpp2ILInjected.Token(Token = "0x600276D")]
131 [global::Cpp2ILInjected.Address(RVA = "0x10A88B8", Offset = "0x10A88B8", Length = "0x110")]
132 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "OneDimensionalIntersection", MemberParameters = new object[]
134 {
139 }, ReturnType = typeof(Vector2[]))]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
142 {
143 typeof(float),
144 typeof(float)
145 }, ReturnType = typeof(float))]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
147 {
148 typeof(float),
149 typeof(float)
150 }, ReturnType = typeof(float))]
151 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
152 private static float[] FindOverlapPoints(float relativePoint1, float relativePoint2)
153 {
154 throw null;
155 }
156
157 [global::Cpp2ILInjected.Token(Token = "0x600276E")]
158 [global::Cpp2ILInjected.Address(RVA = "0x10A89C8", Offset = "0x10A89C8", Length = "0x40")]
159 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaterShaderData), Member = "DrawWaves", ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.UI.Elements.UIList.UIInnerList", Member = "DrawChildren", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
167
168 [global::Cpp2ILInjected.Token(Token = "0x600276F")]
169 [global::Cpp2ILInjected.Address(RVA = "0x10A8A08", Offset = "0x10A8A08", Length = "0x78")]
170 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "CheckAABBvLineCollision", MemberParameters = new object[]
172 {
177 }, ReturnType = typeof(bool))]
178 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
180 {
181 throw null;
182 }
183
184 [global::Cpp2ILInjected.Token(Token = "0x6002770")]
185 [global::Cpp2ILInjected.Address(RVA = "0x10A8A80", Offset = "0x10A8A80", Length = "0x168")]
186 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
187 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "collisionOutcode", MemberParameters = new object[]
189 {
193 }, ReturnType = typeof(int))]
194 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
199
200 [global::Cpp2ILInjected.Token(Token = "0x6002771")]
201 [global::Cpp2ILInjected.Address(RVA = "0x10A8BE8", Offset = "0x10A8BE8", Length = "0x16C")]
202 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
203 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "StepConveyorBelt", MemberParameters = new object[]
204 {
205 typeof(Entity),
206 typeof(float)
207 }, ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
210 {
213 }, ReturnType = typeof(Vector2))]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "RectangleLineCollision", MemberParameters = new object[]
215 {
220 }, ReturnType = typeof(bool))]
221 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "CheckAABBvLineCollision", MemberParameters = new object[]
222 {
227 typeof(float),
228 typeof(ref float)
229 }, ReturnType = typeof(bool))]
230 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
235
236 [global::Cpp2ILInjected.Token(Token = "0x6002772")]
237 [global::Cpp2ILInjected.Address(RVA = "0x10A8D54", Offset = "0x10A8D54", Length = "0x650")]
238 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
239 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Colliding", MemberParameters = new object[]
240 {
243 }, ReturnType = typeof(bool))]
244 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "CheckAABBvLineCollision2", MemberParameters = new object[]
245 {
250 }, ReturnType = typeof(bool))]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "TryGoingThroughPortals", MemberParameters = new object[] { typeof(Entity) }, ReturnType = typeof(void))]
252 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
253 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
254 {
257 }, ReturnType = typeof(Vector2))]
258 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
259 {
262 }, ReturnType = typeof(Vector2))]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
264 {
265 typeof(float),
266 typeof(float)
267 }, ReturnType = typeof(void))]
268 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Length", ReturnType = typeof(float))]
269 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "RotatedBy", MemberParameters = new object[]
270 {
272 typeof(double),
274 }, ReturnType = typeof(Vector2))]
275 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
276 {
277 typeof(float),
278 typeof(float)
279 }, ReturnType = typeof(float))]
280 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
285
286 [global::Cpp2ILInjected.Token(Token = "0x6002773")]
287 [global::Cpp2ILInjected.Address(RVA = "0x10A93A4", Offset = "0x10A93A4", Length = "0xA0")]
288 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
289 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_121_QueenSlime_FlyMovement", ReturnType = typeof(void))]
290 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_003_Fighters", ReturnType = typeof(void))]
291 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "FindFrame", ReturnType = typeof(void))]
292 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "VolatileGelatin", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
293 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
294 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
295 public static bool CanHit(Entity source, Entity target)
296 {
297 throw null;
298 }
299
300 [global::Cpp2ILInjected.Token(Token = "0x6002774")]
301 [global::Cpp2ILInjected.Address(RVA = "0x10A9538", Offset = "0x10A9538", Length = "0x9C")]
302 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_005_EaterOfSouls", ReturnType = typeof(void))]
303 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
304 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "CanHit", MemberParameters = new object[]
305 {
307 typeof(int),
308 typeof(int),
310 typeof(int),
311 typeof(int)
312 }, ReturnType = typeof(bool))]
313 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
314 public static bool CanHit(Entity source, NPCAimedTarget target)
315 {
316 throw null;
317 }
318
319 [global::Cpp2ILInjected.Token(Token = "0x6002775")]
320 [global::Cpp2ILInjected.Address(RVA = "0x10A9444", Offset = "0x10A9444", Length = "0xF4")]
321 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawInterface_14_EntityHealthBars", ReturnType = typeof(void))]
322 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_045_Golem", ReturnType = typeof(void))]
323 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
324 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_125_ClumsySlimeBalloon", ReturnType = typeof(void))]
325 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_113_WindyBalloon", ReturnType = typeof(void))]
326 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_037_Destroyer", ReturnType = typeof(void))]
327 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_002_FloatingEye", ReturnType = typeof(void))]
328 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities", ReturnType = typeof(void))]
329 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_003_Fighters", ReturnType = typeof(void))]
330 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_001_Slimes", ReturnType = typeof(void))]
331 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_107_ImprovedWalkers", ReturnType = typeof(void))]
332 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_108_DivingFlyer", ReturnType = typeof(void))]
333 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_111_DD2LightningBug", ReturnType = typeof(void))]
334 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "TargetClosestUpgraded", MemberParameters = new object[]
335 {
336 typeof(bool),
338 }, ReturnType = typeof(void))]
339 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "TryTrackingTarget", MemberParameters = new object[]
340 {
341 typeof(ref float),
342 typeof(ref float),
343 typeof(ref bool),
344 typeof(ref int),
345 typeof(int)
346 }, ReturnType = typeof(void))]
347 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "SpawnOnPlayer", MemberParameters = new object[]
348 {
349 typeof(int),
350 typeof(int)
351 }, ReturnType = typeof(void))]
352 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CollideWithNPCs", MemberParameters = new object[]
353 {
355 typeof(float),
356 typeof(float),
357 typeof(int),
358 typeof(int)
359 }, ReturnType = typeof(int))]
360 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "JumpMovement", ReturnType = typeof(void))]
361 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CanSnapToPosition", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(bool))]
362 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TryAllowingSnappingToPosition", MemberParameters = new object[]
363 {
364 typeof(ref bool),
367 }, ReturnType = typeof(void))]
368 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "SporeSac", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
369 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CanHit", MemberParameters = new object[] { typeof(Entity) }, ReturnType = typeof(bool))]
370 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_Shoot", MemberParameters = new object[]
371 {
372 typeof(int),
373 typeof(Item),
374 typeof(int)
375 }, ReturnType = typeof(void))]
376 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "ghostHurt", MemberParameters = new object[]
377 {
378 typeof(int),
381 }, ReturnType = typeof(void))]
382 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "CanHitWithMeleeWeapon", MemberParameters = new object[] { typeof(Entity) }, ReturnType = typeof(bool))]
383 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "CanHitWithOwnBody", MemberParameters = new object[] { typeof(Entity) }, ReturnType = typeof(bool))]
384 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Damage", ReturnType = typeof(void))]
385 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Colliding", MemberParameters = new object[]
386 {
389 }, ReturnType = typeof(bool))]
390 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
391 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_111_DryadsWard", ReturnType = typeof(void))]
392 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_047_MagnetSphere_TryAttacking", ReturnType = typeof(void))]
393 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_191_TrueNightsEdge", ReturnType = typeof(void))]
394 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_015_Flails", ReturnType = typeof(void))]
395 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_015_Flails_Old", ReturnType = typeof(void))]
396 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "FindTargetWithLineOfSight", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(int))]
397 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_019_Spears", ReturnType = typeof(void))]
398 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_019_Spears_Old", ReturnType = typeof(void))]
399 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_016", ReturnType = typeof(void))]
400 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_147_Celeb2Rocket", ReturnType = typeof(void))]
401 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_001", ReturnType = typeof(void))]
402 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_003", ReturnType = typeof(void))]
403 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_026", ReturnType = typeof(void))]
404 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_036", ReturnType = typeof(void))]
405 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_039", ReturnType = typeof(void))]
406 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_042", ReturnType = typeof(void))]
407 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_051", ReturnType = typeof(void))]
408 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_053", ReturnType = typeof(void))]
409 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_054", ReturnType = typeof(void))]
410 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_055", ReturnType = typeof(void))]
411 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_062", ReturnType = typeof(void))]
412 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_063", ReturnType = typeof(void))]
413 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_070", ReturnType = typeof(void))]
414 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_099_1", ReturnType = typeof(void))]
415 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_099_2", ReturnType = typeof(void))]
416 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "CanHit", MemberParameters = new object[]
417 {
418 typeof(Entity),
420 }, ReturnType = typeof(bool))]
421 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPCUtils), Member = "SearchForTarget", MemberParameters = new object[]
422 {
423 typeof(NPC),
426 typeof(float),
427 typeof(int)
428 }, ReturnType = typeof(NPCUtils.TargetSearchResults))]
429 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LockOnHelper), Member = "Update", ReturnType = typeof(void))]
430 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 202)]
431 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToPoint", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
432 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "CanHit", MemberParameters = new object[]
433 {
434 typeof(Point),
435 typeof(int),
436 typeof(int),
437 typeof(Point),
438 typeof(int),
439 typeof(int)
440 }, ReturnType = typeof(bool))]
441 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
442 public static bool CanHit(Vector2 Position1, int Width1, int Height1, Vector2 Position2, int Width2, int Height2)
443 {
444 throw null;
445 }
446
447 [global::Cpp2ILInjected.Token(Token = "0x6002776")]
448 [global::Cpp2ILInjected.Address(RVA = "0x10A95D4", Offset = "0x10A95D4", Length = "0x394")]
449 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
450 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "CanHit", MemberParameters = new object[]
451 {
453 typeof(int),
454 typeof(int),
456 typeof(int),
457 typeof(int)
458 }, ReturnType = typeof(bool))]
459 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "MakeDungeon_Lights", MemberParameters = new object[]
460 {
461 typeof(ushort),
462 typeof(ref int),
463 typeof(int),
464 typeof(ref int),
465 typeof(int[])
466 }, ReturnType = typeof(void))]
467 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
468 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
469 public static bool CanHit(Point Position1, int Width1, int Height1, Point Position2, int Width2, int Height2)
470 {
471 throw null;
472 }
473
474 [global::Cpp2ILInjected.Token(Token = "0x6002777")]
475 [global::Cpp2ILInjected.Address(RVA = "0x10A9968", Offset = "0x10A9968", Length = "0xD40")]
476 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
477 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
478 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
479 {
480 typeof(int),
481 typeof(int)
482 }, ReturnType = typeof(Tile))]
483 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_IsLoaded", ReturnType = typeof(bool))]
484 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
485 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
486 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
487 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
488 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
489 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 53)]
491 {
492 throw null;
493 }
494
495 [global::Cpp2ILInjected.Token(Token = "0x6002778")]
496 [global::Cpp2ILInjected.Address(RVA = "0x10AA6A8", Offset = "0x10AA6A8", Length = "0x69C")]
497 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
498 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
499 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_121_QueenSlime", ReturnType = typeof(void))]
500 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "BloodNautilus_CallForHelp", ReturnType = typeof(void))]
501 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_006_Worms", ReturnType = typeof(void))]
502 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities", ReturnType = typeof(void))]
503 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_003_Fighters", ReturnType = typeof(void))]
504 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_107_ImprovedWalkers", ReturnType = typeof(void))]
505 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_109_DarkMage", ReturnType = typeof(void))]
506 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "HitEffect", MemberParameters = new object[]
507 {
508 typeof(int),
509 typeof(double)
510 }, ReturnType = typeof(void))]
511 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UseQuickMineCartHook", ReturnType = typeof(bool))]
512 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UseQuickMineCartSnapHook", ReturnType = typeof(bool))]
513 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "QuickMinecart", ReturnType = typeof(void))]
514 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "QuickMinecartSnap", ReturnType = typeof(bool))]
515 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "SpawnHallucination", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
516 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CanHit", MemberParameters = new object[] { typeof(Entity) }, ReturnType = typeof(bool))]
517 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_Shoot", MemberParameters = new object[]
518 {
519 typeof(int),
520 typeof(Item),
521 typeof(int)
522 }, ReturnType = typeof(void))]
523 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "GetFarthestSpawnPositionOnLine", MemberParameters = new object[]
524 {
526 typeof(float),
527 typeof(float)
528 }, ReturnType = typeof(Vector2))]
529 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "CanHitWithMeleeWeapon", MemberParameters = new object[] { typeof(Entity) }, ReturnType = typeof(bool))]
530 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "CanHitWithOwnBody", MemberParameters = new object[] { typeof(Entity) }, ReturnType = typeof(bool))]
531 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Damage", ReturnType = typeof(void))]
532 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Colliding", MemberParameters = new object[]
533 {
536 }, ReturnType = typeof(bool))]
537 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "HandleMovement", MemberParameters = new object[]
538 {
540 typeof(ref int),
541 typeof(ref int)
542 }, ReturnType = typeof(void))]
543 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
544 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_100_Medusa", ReturnType = typeof(void))]
545 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "FindTargetWithinRange", MemberParameters = new object[]
546 {
547 typeof(float),
548 typeof(bool)
549 }, ReturnType = typeof(NPC))]
550 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_001", ReturnType = typeof(void))]
551 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_026", ReturnType = typeof(void))]
552 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_062", ReturnType = typeof(void))]
553 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_066", ReturnType = typeof(void))]
554 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_130_FlameBurstTower_FindTarget", MemberParameters = new object[]
555 {
556 typeof(float),
557 typeof(float),
559 typeof(bool)
560 }, ReturnType = typeof(int))]
561 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_134_Ballista_FindTarget", MemberParameters = new object[]
562 {
563 typeof(float),
564 typeof(float),
566 }, ReturnType = typeof(int))]
567 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_137_CanHit", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(bool))]
568 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Kill", ReturnType = typeof(void))]
569 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "UpdateEffects", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
570 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "CastSuperCartLaser", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
571 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "GrowMoreVines", MemberParameters = new object[]
572 {
573 typeof(int),
574 typeof(int)
575 }, ReturnType = typeof(bool))]
576 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LockOnHelper), Member = "Update", ReturnType = typeof(void))]
577 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EmoteBubble), Member = "CheckForNPCsToReactToEmoteBubble", MemberParameters = new object[]
578 {
579 typeof(int),
581 }, ReturnType = typeof(void))]
582 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 98)]
583 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Sign", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
584 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
585 public static bool CanHitLine(Vector2 Position1, int Width1, int Height1, Vector2 Position2, int Width2, int Height2)
586 {
587 throw null;
588 }
589
590 [global::Cpp2ILInjected.Token(Token = "0x6002779")]
591 [global::Cpp2ILInjected.Address(RVA = "0x10AAD44", Offset = "0x10AAD44", Length = "0x8B4")]
592 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
593 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "LaserScan", MemberParameters = new object[]
594 {
597 typeof(float),
598 typeof(float),
599 typeof(float[])
600 }, ReturnType = typeof(void))]
601 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Pickaxe_MineSolids", MemberParameters = new object[]
602 {
603 typeof(Player),
604 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
606 typeof(ref int),
607 typeof(ref int)
608 }, ReturnType = typeof(void))]
609 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
610 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Sign", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
611 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<int>), Member = "Contains", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
612 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
613 public static bool TupleHitLine(int x1, int y1, int x2, int y2, int ignoreX, int ignoreY, List<int> ignoreTargets, out int colX, out int colY)
614 {
615 throw null;
616 }
617
618 [global::Cpp2ILInjected.Token(Token = "0x600277A")]
619 [global::Cpp2ILInjected.Address(RVA = "0x10AB5F8", Offset = "0x10AB5F8", Length = "0x5A8")]
620 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
621 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Hammers", MemberParameters = new object[]
622 {
623 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
624 typeof(ref int),
625 typeof(ref int)
626 }, ReturnType = typeof(void))]
627 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
628 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Sign", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
629 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
630 {
631 typeof(int),
632 typeof(int)
633 }, ReturnType = typeof(Tile))]
634 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "HitWallSubstep", MemberParameters = new object[]
635 {
636 typeof(int),
637 typeof(int)
638 }, ReturnType = typeof(bool))]
639 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_IsLoaded", ReturnType = typeof(bool))]
640 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 31)]
641 public static void TupleHitLineWall(int x1, int y1, int x2, int y2, out int resX, out int resY)
642 {
643 throw null;
644 }
645
646 [global::Cpp2ILInjected.Token(Token = "0x600277B")]
647 [global::Cpp2ILInjected.Address(RVA = "0x10ABBA0", Offset = "0x10ABBA0", Length = "0x2AC")]
648 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
649 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "TupleHitLineWall", MemberParameters = new object[]
650 {
651 typeof(int),
652 typeof(int),
653 typeof(int),
654 typeof(int),
655 typeof(ref int),
656 typeof(ref int)
657 }, ReturnType = typeof(void))]
658 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Hammers", MemberParameters = new object[]
659 {
660 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
661 typeof(ref int),
662 typeof(ref int)
663 }, ReturnType = typeof(void))]
664 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
665 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
666 {
667 typeof(int),
668 typeof(int)
669 }, ReturnType = typeof(Tile))]
670 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_wall", ReturnType = typeof(ushort))]
671 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
672 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
673 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
674 public static bool HitWallSubstep(int x, int y)
675 {
676 throw null;
677 }
678
679 [global::Cpp2ILInjected.Token(Token = "0x600277C")]
680 [global::Cpp2ILInjected.Address(RVA = "0x10ABE4C", Offset = "0x10ABE4C", Length = "0x2A0")]
681 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
682 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "CloseDoor", MemberParameters = new object[]
683 {
684 typeof(int),
685 typeof(int),
686 typeof(bool)
687 }, ReturnType = typeof(bool))]
688 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "ShiftTrapdoor", MemberParameters = new object[]
689 {
690 typeof(int),
691 typeof(int),
692 typeof(bool),
693 typeof(int)
694 }, ReturnType = typeof(bool))]
695 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "ShiftTallGate", MemberParameters = new object[]
696 {
697 typeof(int),
698 typeof(int),
699 typeof(bool),
700 typeof(bool)
701 }, ReturnType = typeof(bool))]
702 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "PlaceTile", MemberParameters = new object[]
703 {
704 typeof(int),
705 typeof(int),
706 typeof(int),
707 typeof(bool),
708 typeof(bool),
709 typeof(int),
710 typeof(int)
711 }, ReturnType = typeof(bool))]
712 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_ClayPots", MemberParameters = new object[]
713 {
714 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
715 typeof(ref int),
716 typeof(ref int)
717 }, ReturnType = typeof(void))]
718 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_BlocksLines", MemberParameters = new object[]
719 {
720 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
721 typeof(ref int),
722 typeof(ref int)
723 }, ReturnType = typeof(void))]
724 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_BlocksFilling", MemberParameters = new object[]
725 {
726 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
727 typeof(ref int),
728 typeof(ref int)
729 }, ReturnType = typeof(void))]
730 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
731 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
732 {
733 typeof(int),
734 typeof(int),
735 typeof(int),
736 typeof(int)
737 }, ReturnType = typeof(void))]
738 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
739 {
740 typeof(int),
741 typeof(int)
742 }, ReturnType = typeof(Tile))]
743 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
744 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Intersects", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(bool))]
745 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
746 public static bool EmptyTile(int i, int j, bool ignoreTiles = false)
747 {
748 throw null;
749 }
750
751 [global::Cpp2ILInjected.Token(Token = "0x600277D")]
752 [global::Cpp2ILInjected.Address(RVA = "0x10AC0EC", Offset = "0x10AC0EC", Length = "0x528")]
753 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
754 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities", ReturnType = typeof(void))]
755 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities_GetWalkPrediction", MemberParameters = new object[]
756 {
757 typeof(int),
758 typeof(int),
759 typeof(bool),
760 typeof(bool),
761 typeof(int),
762 typeof(int),
763 typeof(ref bool),
764 typeof(ref bool)
765 }, ReturnType = typeof(void))]
766 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "CheckDrowning", ReturnType = typeof(void))]
767 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CheckDrowning", ReturnType = typeof(void))]
768 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
769 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
770 {
771 typeof(float),
772 typeof(float)
773 }, ReturnType = typeof(void))]
774 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
775 {
776 typeof(int),
777 typeof(int)
778 }, ReturnType = typeof(Tile))]
779 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_liquid", ReturnType = typeof(byte))]
780 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "lava", ReturnType = typeof(bool))]
781 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "shimmer", ReturnType = typeof(bool))]
782 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
783 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
784 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "blockType", ReturnType = typeof(int))]
785 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
786 public static bool DrownCollision(Vector2 Position, int Width, int Height, float gravDir = -1f, bool includeSlopes = false)
787 {
788 throw null;
789 }
790
791 [global::Cpp2ILInjected.Token(Token = "0x600277E")]
792 [global::Cpp2ILInjected.Address(RVA = "0x10AC614", Offset = "0x10AC614", Length = "0x364")]
793 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
794 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_092", ReturnType = typeof(void))]
795 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
796 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToTileCoordinates", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
797 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "InWorld", MemberParameters = new object[]
798 {
799 typeof(int),
800 typeof(int),
801 typeof(int)
802 }, ReturnType = typeof(bool))]
803 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
804 {
805 typeof(int),
806 typeof(int)
807 }, ReturnType = typeof(Tile))]
808 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_IsLoaded", ReturnType = typeof(bool))]
809 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
810 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
811 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
812 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "blockType", ReturnType = typeof(int))]
813 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
814 public static bool IsWorldPointSolid(Vector2 pos, bool treatPlatformsAsNonSolid = false)
815 {
816 throw null;
817 }
818
819 [global::Cpp2ILInjected.Token(Token = "0x600277F")]
820 [global::Cpp2ILInjected.Address(RVA = "0x10AC978", Offset = "0x10AC978", Length = "0x6C")]
821 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
822 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_116_WaterStriders", ReturnType = typeof(void))]
823 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities", ReturnType = typeof(void))]
824 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TryFloatingInFluid", ReturnType = typeof(void))]
825 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
826 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
827 public static bool GetWaterLine(Point pt, out float waterLineHeight)
828 {
829 throw null;
830 }
831
832 [global::Cpp2ILInjected.Token(Token = "0x6002780")]
833 [global::Cpp2ILInjected.Address(RVA = "0x10AC9E4", Offset = "0x10AC9E4", Length = "0x21C")]
834 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
835 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
836 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
837 {
838 typeof(int),
839 typeof(int)
840 }, ReturnType = typeof(Tile))]
841 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_liquid", ReturnType = typeof(byte))]
842 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
843 public static bool GetWaterLine(int X, int Y, out float waterLineHeight)
844 {
845 throw null;
846 }
847
848 [global::Cpp2ILInjected.Token(Token = "0x6002781")]
849 [global::Cpp2ILInjected.Address(RVA = "0x10ACC00", Offset = "0x10ACC00", Length = "0x6C")]
850 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_118_Seahorses", ReturnType = typeof(void))]
851 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
852 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
853 public static bool GetWaterLineIterate(Point pt, out float waterLineHeight)
854 {
855 throw null;
856 }
857
858 [global::Cpp2ILInjected.Token(Token = "0x6002782")]
859 [global::Cpp2ILInjected.Address(RVA = "0x10ACC6C", Offset = "0x10ACC6C", Length = "0x154")]
860 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
861 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
862 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Framing), Member = "GetTileSafely", MemberParameters = new object[]
863 {
864 typeof(int),
865 typeof(int)
866 }, ReturnType = typeof(Tile))]
867 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_liquid", ReturnType = typeof(byte))]
868 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
869 {
870 typeof(int),
871 typeof(int)
872 }, ReturnType = typeof(Tile))]
873 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
874 public static bool GetWaterLineIterate(int X, int Y, out float waterLineHeight)
875 {
876 throw null;
877 }
878
879 [global::Cpp2ILInjected.Token(Token = "0x6002783")]
880 [global::Cpp2ILInjected.Address(RVA = "0x10ACDC0", Offset = "0x10ACDC0", Length = "0x644")]
881 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
882 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Dust), Member = "NewDust", MemberParameters = new object[]
883 {
885 typeof(int),
886 typeof(int),
887 typeof(int),
888 typeof(float),
889 typeof(float),
890 typeof(int),
891 typeof(Color),
892 typeof(float)
893 }, ReturnType = typeof(int))]
894 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Dust), Member = "UpdateDust", ReturnType = typeof(void))]
895 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "MoveInWorld", MemberParameters = new object[]
896 {
897 typeof(float),
898 typeof(float),
900 typeof(int)
901 }, ReturnType = typeof(void))]
902 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "NewItem", MemberParameters = new object[]
903 {
905 typeof(int),
906 typeof(int),
907 typeof(int),
908 typeof(int),
909 typeof(int),
910 typeof(int),
911 typeof(bool),
912 typeof(int),
913 typeof(bool),
914 typeof(bool)
915 }, ReturnType = typeof(int))]
916 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
917 {
918 typeof(byte[]),
919 typeof(int),
920 typeof(ref int)
921 }, ReturnType = typeof(void))]
922 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities", ReturnType = typeof(void))]
923 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "NewNPC", MemberParameters = new object[]
924 {
926 typeof(int),
927 typeof(int),
928 typeof(int),
929 typeof(int),
930 typeof(float),
931 typeof(float),
932 typeof(float),
933 typeof(float),
934 typeof(int)
935 }, ReturnType = typeof(int))]
936 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "UpdateNPC", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
937 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "Collision_WaterCollision", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(bool))]
938 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
939 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ShimmerUnstuck", ReturnType = typeof(void))]
940 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "SporeSac", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
941 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CheckForGoodTeleportationSpot", MemberParameters = new object[]
942 {
943 typeof(ref bool),
944 typeof(int),
945 typeof(int),
946 typeof(int),
947 typeof(int),
949 }, ReturnType = typeof(Vector2))]
950 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "NewProjectile", MemberParameters = new object[]
951 {
953 typeof(float),
954 typeof(float),
955 typeof(float),
956 typeof(float),
957 typeof(int),
958 typeof(int),
959 typeof(float),
960 typeof(int),
961 typeof(float),
962 typeof(float),
963 typeof(float)
964 }, ReturnType = typeof(int))]
965 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
966 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
967 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_145_BookStaffStorm", ReturnType = typeof(void))]
968 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "Update", ReturnType = typeof(void))]
969 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Rain), Member = "Update", ReturnType = typeof(void))]
970 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShimmerHelper), Member = "IsSpotShimmerFree", MemberParameters = new object[]
971 {
972 typeof(Entity),
974 typeof(bool)
975 }, ReturnType = typeof(bool))]
976 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaterShaderData), Member = "DrawWaves", ReturnType = typeof(void))]
977 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 22)]
978 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
979 {
980 typeof(float),
981 typeof(float)
982 }, ReturnType = typeof(void))]
983 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
984 public static bool WetCollision(Vector2 Position, int Width, int Height)
985 {
986 throw null;
987 }
988
989 [global::Cpp2ILInjected.Token(Token = "0x6002784")]
990 [global::Cpp2ILInjected.Address(RVA = "0x10AD404", Offset = "0x10AD404", Length = "0x358")]
991 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
992 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "MoveInWorld", MemberParameters = new object[]
993 {
994 typeof(float),
995 typeof(float),
997 typeof(int)
998 }, ReturnType = typeof(void))]
999 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "DoDeathEvents", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
1000 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "Collision_LavaCollision", ReturnType = typeof(bool))]
1001 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
1002 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CheckForGoodTeleportationSpot", MemberParameters = new object[]
1003 {
1004 typeof(ref bool),
1005 typeof(int),
1006 typeof(int),
1007 typeof(int),
1008 typeof(int),
1010 }, ReturnType = typeof(Vector2))]
1011 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
1012 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_152_SuperStarSlash", ReturnType = typeof(void))]
1013 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TeleportHelpers), Member = "IsInSolidTilesExtended", MemberParameters = new object[]
1014 {
1015 typeof(Vector2),
1016 typeof(Vector2),
1017 typeof(int),
1018 typeof(int),
1019 typeof(int)
1020 }, ReturnType = typeof(bool))]
1021 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaterShaderData), Member = "DrawWaves", ReturnType = typeof(void))]
1022 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
1023 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
1024 public static bool LavaCollision(Vector2 Position, int Width, int Height)
1025 {
1026 throw null;
1027 }
1028
1029 [global::Cpp2ILInjected.Token(Token = "0x6002785")]
1030 [global::Cpp2ILInjected.Address(RVA = "0x10AD75C", Offset = "0x10AD75C", Length = "0x41C")]
1031 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1032 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "Collision_WalkDownSlopes", ReturnType = typeof(void))]
1033 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "SlopeDownMovement", ReturnType = typeof(void))]
1034 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1035 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
1036 {
1037 typeof(int),
1038 typeof(int),
1039 typeof(int)
1040 }, ReturnType = "T")]
1041 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector4), Member = ".ctor", MemberParameters = new object[]
1042 {
1043 typeof(Vector2),
1044 typeof(float),
1045 typeof(float)
1046 }, ReturnType = typeof(void))]
1047 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
1048 public static Vector4 WalkDownSlope(Vector2 Position, Vector2 Velocity, int Width, int Height, float gravity = 0f)
1049 {
1050 throw null;
1051 }
1052
1053 [global::Cpp2ILInjected.Token(Token = "0x6002786")]
1054 [global::Cpp2ILInjected.Address(RVA = "0x10ADB78", Offset = "0x10ADB78", Length = "0xBC4")]
1055 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1056 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "MoveInWorld", MemberParameters = new object[]
1057 {
1058 typeof(float),
1059 typeof(float),
1061 typeof(int)
1062 }, ReturnType = typeof(void))]
1063 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "Collision_MoveSlopesAndStairFall", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
1064 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "Collision_MoveSnailOnSlopes", ReturnType = typeof(void))]
1065 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "SlopingCollision", MemberParameters = new object[]
1066 {
1067 typeof(bool),
1068 typeof(bool)
1069 }, ReturnType = typeof(void))]
1070 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CheckForGoodTeleportationSpot", MemberParameters = new object[]
1071 {
1072 typeof(ref bool),
1073 typeof(int),
1074 typeof(int),
1075 typeof(int),
1076 typeof(int),
1078 }, ReturnType = typeof(Vector2))]
1079 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "HandleMovement", MemberParameters = new object[]
1080 {
1081 typeof(Vector2),
1082 typeof(ref int),
1083 typeof(ref int)
1084 }, ReturnType = typeof(void))]
1085 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "UpdatePosition", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(void))]
1086 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "IsClearSpotTest", MemberParameters = new object[]
1087 {
1088 typeof(Vector2),
1089 typeof(float),
1090 typeof(int),
1091 typeof(int),
1092 typeof(bool),
1093 typeof(bool),
1094 typeof(int),
1095 typeof(bool),
1096 typeof(bool)
1097 }, ReturnType = typeof(bool))]
1098 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "FindCollisionTile", MemberParameters = new object[]
1099 {
1100 typeof(int),
1101 typeof(Vector2),
1102 typeof(float),
1103 typeof(int),
1104 typeof(int),
1105 typeof(bool),
1106 typeof(bool),
1107 typeof(int),
1108 typeof(bool),
1109 typeof(bool)
1110 }, ReturnType = typeof(List<Point>))]
1111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "Update", ReturnType = typeof(void))]
1112 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "Gore_UpdateLeaf", ReturnType = typeof(void))]
1113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 21)]
1114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
1115 {
1116 typeof(Vector2),
1118 }, ReturnType = typeof(Vector2))]
1119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "TileCollision", MemberParameters = new object[]
1120 {
1121 typeof(Vector2),
1122 typeof(Vector2),
1123 typeof(int),
1124 typeof(int),
1125 typeof(bool),
1126 typeof(bool),
1127 typeof(int)
1128 }, ReturnType = typeof(Vector2))]
1129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector4), Member = ".ctor", MemberParameters = new object[]
1130 {
1131 typeof(Vector2),
1132 typeof(float),
1133 typeof(float)
1134 }, ReturnType = typeof(void))]
1135 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 37)]
1136 public static Vector4 SlopeCollision(Vector2 oldPosition, Vector2 oldVelocity, int Width, int Height, float gravity = 0f, bool fall = false)
1137 {
1138 throw null;
1139 }
1140
1141 [global::Cpp2ILInjected.Token(Token = "0x6002787")]
1142 [global::Cpp2ILInjected.Address(RVA = "0x10AF154", Offset = "0x10AF154", Length = "0x73C")]
1143 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1144 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "Collision_MoveBlazingWheel", ReturnType = typeof(void))]
1145 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
1147 {
1148 typeof(Vector2),
1150 }, ReturnType = typeof(Vector2))]
1151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
1152 {
1153 typeof(int),
1154 typeof(int)
1155 }, ReturnType = typeof(Tile))]
1156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
1157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
1158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
1159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
1160 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
1161 public static Vector2 noSlopeCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough = false, bool fall2 = false)
1162 {
1163 throw null;
1164 }
1165
1166 [global::Cpp2ILInjected.Token(Token = "0x6002788")]
1167 [global::Cpp2ILInjected.Address(RVA = "0x10AF890", Offset = "0x10AF890", Length = "0xC38")]
1168 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1169 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
1171 {
1172 typeof(Vector2),
1174 }, ReturnType = typeof(Vector2))]
1175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
1176 {
1177 typeof(int),
1178 typeof(int),
1179 typeof(int)
1180 }, ReturnType = "T")]
1181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
1182 {
1183 typeof(int),
1184 typeof(int)
1185 }, ReturnType = typeof(Tile))]
1186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
1187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
1188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
1189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
1190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
1191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
1192 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 35)]
1193 public static Vector2 OldTileCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough = false, bool fall2 = false, int gravDir = 1)
1194 {
1195 throw null;
1196 }
1197
1198 [global::Cpp2ILInjected.Token(Token = "0x6002789")]
1199 [global::Cpp2ILInjected.Address(RVA = "0x10AE73C", Offset = "0x10AE73C", Length = "0xA18")]
1200 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "MoveInWorld", MemberParameters = new object[]
1202 {
1203 typeof(float),
1204 typeof(float),
1206 typeof(int)
1207 }, ReturnType = typeof(void))]
1208 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "Collision_MoveNormal", MemberParameters = new object[]
1209 {
1210 typeof(bool),
1211 typeof(Vector2),
1212 typeof(int),
1213 typeof(int)
1214 }, ReturnType = typeof(void))]
1215 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "Collision_MoveSolarSroller", MemberParameters = new object[]
1216 {
1217 typeof(bool),
1218 typeof(Vector2),
1219 typeof(int),
1220 typeof(int)
1221 }, ReturnType = typeof(void))]
1222 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "Collision_MoveStardustCell", MemberParameters = new object[]
1223 {
1224 typeof(bool),
1225 typeof(Vector2),
1226 typeof(int),
1227 typeof(int)
1228 }, ReturnType = typeof(void))]
1229 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "DoQueenSlimeHookTeleport", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(void))]
1230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ShimmerCollision", MemberParameters = new object[]
1231 {
1232 typeof(bool),
1233 typeof(bool),
1234 typeof(bool)
1235 }, ReturnType = typeof(void))]
1236 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "HoneyCollision", MemberParameters = new object[]
1237 {
1238 typeof(bool),
1239 typeof(bool)
1240 }, ReturnType = typeof(void))]
1241 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "WaterCollision", MemberParameters = new object[]
1242 {
1243 typeof(bool),
1244 typeof(bool)
1245 }, ReturnType = typeof(void))]
1246 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "DryCollision", MemberParameters = new object[]
1247 {
1248 typeof(bool),
1249 typeof(bool)
1250 }, ReturnType = typeof(void))]
1251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CanSnapToPosition", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(bool))]
1252 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CheckForGoodTeleportationSpot", MemberParameters = new object[]
1253 {
1254 typeof(ref bool),
1255 typeof(int),
1256 typeof(int),
1257 typeof(int),
1258 typeof(int),
1260 }, ReturnType = typeof(Vector2))]
1261 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "HandleMovement", MemberParameters = new object[]
1262 {
1263 typeof(Vector2),
1264 typeof(ref int),
1265 typeof(ref int)
1266 }, ReturnType = typeof(void))]
1267 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_195_JimsDrone", ReturnType = typeof(void))]
1268 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_067_FreakingPirates", ReturnType = typeof(void))]
1269 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_035", ReturnType = typeof(void))]
1270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "SlopeCollision", MemberParameters = new object[]
1271 {
1272 typeof(Vector2),
1273 typeof(Vector2),
1274 typeof(int),
1275 typeof(int),
1276 typeof(float),
1277 typeof(bool)
1278 }, ReturnType = typeof(Vector4))]
1279 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "IsClearSpotTest", MemberParameters = new object[]
1280 {
1281 typeof(Vector2),
1282 typeof(float),
1283 typeof(int),
1284 typeof(int),
1285 typeof(bool),
1286 typeof(bool),
1287 typeof(int),
1288 typeof(bool),
1289 typeof(bool)
1290 }, ReturnType = typeof(bool))]
1291 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "FindCollisionTile", MemberParameters = new object[]
1292 {
1293 typeof(int),
1294 typeof(Vector2),
1295 typeof(float),
1296 typeof(int),
1297 typeof(int),
1298 typeof(bool),
1299 typeof(bool),
1300 typeof(int),
1301 typeof(bool),
1302 typeof(bool)
1303 }, ReturnType = typeof(List<Point>))]
1304 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "FindCollisionDirection", MemberParameters = new object[]
1305 {
1306 typeof(ref int),
1307 typeof(Vector2),
1308 typeof(int),
1309 typeof(int),
1310 typeof(bool),
1311 typeof(bool),
1312 typeof(int)
1313 }, ReturnType = typeof(bool))]
1314 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "StepConveyorBelt", MemberParameters = new object[]
1315 {
1316 typeof(Entity),
1317 typeof(float)
1318 }, ReturnType = typeof(void))]
1319 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "Update", ReturnType = typeof(void))]
1320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "Gore_UpdateLeaf", ReturnType = typeof(void))]
1321 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "Gore_UpdateSail", ReturnType = typeof(void))]
1322 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "Hover", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
1323 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "TryBeginningFlight", MemberParameters = new object[]
1324 {
1325 typeof(Player),
1326 typeof(int)
1327 }, ReturnType = typeof(void))]
1328 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "TryLanding", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
1329 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "TryGoingThroughPortals", MemberParameters = new object[] { typeof(Entity) }, ReturnType = typeof(void))]
1330 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TeleportHelpers), Member = "IsInSolidTilesExtended", MemberParameters = new object[]
1331 {
1332 typeof(Vector2),
1333 typeof(Vector2),
1334 typeof(int),
1335 typeof(int),
1336 typeof(int)
1337 }, ReturnType = typeof(bool))]
1338 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 59)]
1339 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
1340 {
1341 typeof(Vector2),
1343 }, ReturnType = typeof(Vector2))]
1344 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 28)]
1345 public static Vector2 TileCollision(Vector2 oldPosition, Vector2 oldVelocity, int Width, int Height, bool fallThrough = false, bool fall2 = false, int gravDir = 1)
1346 {
1347 throw null;
1348 }
1349
1350 [global::Cpp2ILInjected.Token(Token = "0x600278A")]
1351 [global::Cpp2ILInjected.Address(RVA = "0x10B04C8", Offset = "0x10B04C8", Length = "0x848")]
1352 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1353 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CanFitSpace", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
1354 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateTouchingTiles", ReturnType = typeof(void))]
1355 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
1356 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
1357 {
1358 typeof(Vector2),
1359 typeof(float)
1360 }, ReturnType = typeof(Vector2))]
1361 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
1362 {
1363 typeof(Vector2),
1365 }, ReturnType = typeof(Vector2))]
1366 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "TileCollision", MemberParameters = new object[]
1367 {
1368 typeof(Vector2),
1369 typeof(Vector2),
1370 typeof(int),
1371 typeof(int),
1372 typeof(bool),
1373 typeof(bool),
1374 typeof(int)
1375 }, ReturnType = typeof(Vector2))]
1376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Inequality", MemberParameters = new object[]
1377 {
1378 typeof(Vector2),
1380 }, ReturnType = typeof(bool))]
1381 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_UnaryNegation", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
1382 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector4), Member = ".ctor", MemberParameters = new object[]
1383 {
1384 typeof(Vector2),
1385 typeof(float),
1386 typeof(float)
1387 }, ReturnType = typeof(void))]
1388 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "SlopeCollision", MemberParameters = new object[]
1389 {
1390 typeof(Vector2),
1391 typeof(Vector2),
1392 typeof(int),
1393 typeof(int),
1394 typeof(float),
1395 typeof(bool)
1396 }, ReturnType = typeof(Vector4))]
1397 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector4), Member = "op_Inequality", MemberParameters = new object[]
1398 {
1399 typeof(Vector4),
1401 }, ReturnType = typeof(bool))]
1402 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 39)]
1403 public static bool IsClearSpotTest(Vector2 position, float testMagnitude, int Width, int Height, bool fallThrough = false, bool fall2 = false, int gravDir = 1, bool checkCardinals = true, bool checkSlopes = false)
1404 {
1405 throw null;
1406 }
1407
1408 [global::Cpp2ILInjected.Token(Token = "0x600278B")]
1409 [global::Cpp2ILInjected.Address(RVA = "0x10B0D10", Offset = "0x10B0D10", Length = "0x13E8")]
1410 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1411 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateTouchingTiles", ReturnType = typeof(void))]
1412 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1413 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>), Member = ".ctor", ReturnType = typeof(void))]
1414 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_UnaryNegation", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
1415 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
1416 {
1417 typeof(Vector2),
1418 typeof(float)
1419 }, ReturnType = typeof(Vector2))]
1420 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector4), Member = ".ctor", MemberParameters = new object[]
1421 {
1422 typeof(Vector2),
1423 typeof(float),
1424 typeof(float)
1425 }, ReturnType = typeof(void))]
1426 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
1427 {
1428 typeof(float),
1429 typeof(float)
1430 }, ReturnType = typeof(float))]
1431 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
1432 {
1433 typeof(Vector2),
1435 }, ReturnType = typeof(Vector2))]
1436 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "TileCollision", MemberParameters = new object[]
1437 {
1438 typeof(Vector2),
1439 typeof(Vector2),
1440 typeof(int),
1441 typeof(int),
1442 typeof(bool),
1443 typeof(bool),
1444 typeof(int)
1445 }, ReturnType = typeof(Vector2))]
1446 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Inequality", MemberParameters = new object[]
1447 {
1448 typeof(Vector2),
1450 }, ReturnType = typeof(bool))]
1451 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "SlopeCollision", MemberParameters = new object[]
1452 {
1453 typeof(Vector2),
1454 typeof(Vector2),
1455 typeof(int),
1456 typeof(int),
1457 typeof(float),
1458 typeof(bool)
1459 }, ReturnType = typeof(Vector4))]
1460 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "YZW", MemberParameters = new object[] { typeof(Vector4) }, ReturnType = typeof(Vector3))]
1461 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Inequality", MemberParameters = new object[]
1462 {
1463 typeof(Vector3),
1465 }, ReturnType = typeof(bool))]
1466 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
1467 {
1468 typeof(int),
1469 typeof(int)
1470 }, ReturnType = typeof(void))]
1471 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "XZW", MemberParameters = new object[] { typeof(Vector4) }, ReturnType = typeof(Vector3))]
1472 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
1473 {
1474 typeof(Vector2),
1476 }, ReturnType = typeof(Vector2))]
1477 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 69)]
1478 public static List<Point> FindCollisionTile(int Direction, Vector2 position, float testMagnitude, int Width, int Height, bool fallThrough = false, bool fall2 = false, int gravDir = 1, bool checkCardinals = true, bool checkSlopes = false)
1479 {
1480 throw null;
1481 }
1482
1483 [global::Cpp2ILInjected.Token(Token = "0x600278C")]
1484 [global::Cpp2ILInjected.Address(RVA = "0x10B20F8", Offset = "0x10B20F8", Length = "0x408")]
1485 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1486 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1487 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
1488 {
1489 typeof(Vector2),
1490 typeof(float)
1491 }, ReturnType = typeof(Vector2))]
1492 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
1493 {
1494 typeof(Vector2),
1496 }, ReturnType = typeof(Vector2))]
1497 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "TileCollision", MemberParameters = new object[]
1498 {
1499 typeof(Vector2),
1500 typeof(Vector2),
1501 typeof(int),
1502 typeof(int),
1503 typeof(bool),
1504 typeof(bool),
1505 typeof(int)
1506 }, ReturnType = typeof(Vector2))]
1507 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Inequality", MemberParameters = new object[]
1508 {
1509 typeof(Vector2),
1511 }, ReturnType = typeof(bool))]
1512 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_UnaryNegation", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
1513 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 18)]
1514 public static bool FindCollisionDirection(out int Direction, Vector2 position, int Width, int Height, bool fallThrough = false, bool fall2 = false, int gravDir = 1)
1515 {
1516 throw null;
1517 }
1518
1519 [global::Cpp2ILInjected.Token(Token = "0x600278D")]
1520 [global::Cpp2ILInjected.Address(RVA = "0x10B2500", Offset = "0x10B2500", Length = "0x350")]
1521 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1522 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Dust), Member = "UpdateDust", ReturnType = typeof(void))]
1523 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
1524 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_117_BloodNautilus", ReturnType = typeof(void))]
1525 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_112_FairyCritter", ReturnType = typeof(void))]
1526 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_069_DukeFishron", ReturnType = typeof(void))]
1527 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_002_FloatingEye", ReturnType = typeof(void))]
1528 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_003_Fighters", ReturnType = typeof(void))]
1529 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_001_Slimes", ReturnType = typeof(void))]
1530 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_107_ImprovedWalkers", ReturnType = typeof(void))]
1531 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_108_DivingFlyer", ReturnType = typeof(void))]
1532 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "FindPulley", ReturnType = typeof(void))]
1533 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "GrappleMovement", ReturnType = typeof(void))]
1534 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CanMoveForwardOnRope", MemberParameters = new object[]
1535 {
1536 typeof(int),
1537 typeof(int),
1538 typeof(int)
1539 }, ReturnType = typeof(bool))]
1540 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CheckPulley", ReturnType = typeof(bool))]
1541 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
1542 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CanSnapToPosition", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(bool))]
1543 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ChangeDir", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
1544 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "SporeSac", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
1545 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_UseTeleportRod", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
1546 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CheckForGoodTeleportationSpot", MemberParameters = new object[]
1547 {
1548 typeof(ref bool),
1549 typeof(int),
1550 typeof(int),
1551 typeof(int),
1552 typeof(int),
1554 }, ReturnType = typeof(Vector2))]
1555 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
1556 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_158_BabyBird", ReturnType = typeof(void))]
1557 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_067_TigerSpecialAttack", ReturnType = typeof(bool))]
1558 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_067_FreakingPirates", ReturnType = typeof(void))]
1559 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_005", ReturnType = typeof(void))]
1560 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_026", ReturnType = typeof(void))]
1561 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_033", ReturnType = typeof(void))]
1562 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_037", ReturnType = typeof(void))]
1563 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_054", ReturnType = typeof(void))]
1564 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_062", ReturnType = typeof(void))]
1565 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_064", ReturnType = typeof(void))]
1566 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_066", ReturnType = typeof(void))]
1567 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_145_BookStaffStorm", ReturnType = typeof(void))]
1568 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "Update", ReturnType = typeof(void))]
1569 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Rain), Member = "Update", ReturnType = typeof(void))]
1570 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "UpdateWorld", ReturnType = typeof(void))]
1571 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShimmerHelper), Member = "IsSpotShimmerFree", MemberParameters = new object[]
1572 {
1573 typeof(Entity),
1574 typeof(Vector2),
1575 typeof(bool)
1576 }, ReturnType = typeof(bool))]
1577 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TeleportHelpers), Member = "IsInSolidTilesExtended", MemberParameters = new object[]
1578 {
1579 typeof(Vector2),
1580 typeof(Vector2),
1581 typeof(int),
1582 typeof(int),
1583 typeof(int)
1584 }, ReturnType = typeof(bool))]
1585 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 102)]
1586 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
1587 public static bool SolidCollision(Vector2 Position, int Width, int Height)
1588 {
1589 throw null;
1590 }
1591
1592 [global::Cpp2ILInjected.Token(Token = "0x600278E")]
1593 [global::Cpp2ILInjected.Address(RVA = "0x10B2850", Offset = "0x10B2850", Length = "0x3D0")]
1594 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1595 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_123_Deerclops_Movement", MemberParameters = new object[]
1596 {
1597 typeof(bool),
1598 typeof(bool)
1599 }, ReturnType = typeof(void))]
1600 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShimmerHelper), Member = "IsSpotShimmerFree", MemberParameters = new object[]
1601 {
1602 typeof(Entity),
1603 typeof(Vector2),
1604 typeof(bool)
1605 }, ReturnType = typeof(bool))]
1606 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
1607 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
1608 {
1609 typeof(int),
1610 typeof(int),
1611 typeof(int)
1612 }, ReturnType = "T")]
1613 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
1614 {
1615 typeof(int),
1616 typeof(int)
1617 }, ReturnType = typeof(Tile))]
1618 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
1619 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
1620 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
1621 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
1622 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
1623 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
1624 public static bool SolidCollision(Vector2 Position, int Width, int Height, bool acceptTopSurfaces)
1625 {
1626 throw null;
1627 }
1628
1629 [global::Cpp2ILInjected.Token(Token = "0x600278F")]
1630 [global::Cpp2ILInjected.Address(RVA = "0x10B2C20", Offset = "0x10B2C20", Length = "0x3C8")]
1631 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1632 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "DryCollision", MemberParameters = new object[]
1633 {
1634 typeof(bool),
1635 typeof(bool)
1636 }, ReturnType = typeof(void))]
1637 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1638 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
1639 {
1640 typeof(Vector2),
1642 }, ReturnType = typeof(Vector2))]
1643 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
1644 {
1645 typeof(int),
1646 typeof(int)
1647 }, ReturnType = typeof(Tile))]
1648 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_liquid", ReturnType = typeof(byte))]
1649 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "lava", ReturnType = typeof(bool))]
1650 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
1651 public static Vector2 WaterCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough = false, bool fall2 = false, bool lavaWalk = true)
1652 {
1653 throw null;
1654 }
1655
1656 [global::Cpp2ILInjected.Token(Token = "0x6002790")]
1657 [global::Cpp2ILInjected.Address(RVA = "0x10B2FE8", Offset = "0x10B2FE8", Length = "0x4D0")]
1658 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1659 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "HandleMovement", MemberParameters = new object[]
1660 {
1661 typeof(Vector2),
1662 typeof(ref int),
1663 typeof(ref int)
1664 }, ReturnType = typeof(void))]
1665 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1666 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
1667 {
1668 typeof(Vector2),
1670 }, ReturnType = typeof(Vector2))]
1671 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
1672 {
1673 typeof(int),
1674 typeof(int)
1675 }, ReturnType = typeof(Tile))]
1676 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
1677 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
1678 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
1679 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
1680 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
1681 public static Vector2 AnyCollisionWithSpecificTiles(Vector2 Position, Vector2 Velocity, int Width, int Height, bool[] tilesWeCanCollideWithByType, bool evenActuated = false)
1682 {
1683 throw null;
1684 }
1685
1686 [global::Cpp2ILInjected.Token(Token = "0x6002791")]
1687 [global::Cpp2ILInjected.Address(RVA = "0x10B34B8", Offset = "0x10B34B8", Length = "0x57C")]
1688 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1689 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1690 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
1691 {
1692 typeof(Vector2),
1694 }, ReturnType = typeof(Vector2))]
1695 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
1696 {
1697 typeof(int),
1698 typeof(int)
1699 }, ReturnType = typeof(Tile))]
1700 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
1701 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
1702 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
1703 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
1704 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
1705 public static Vector2 AnyCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool evenActuated = false)
1706 {
1707 throw null;
1708 }
1709
1710 [global::Cpp2ILInjected.Token(Token = "0x6002792")]
1711 [global::Cpp2ILInjected.Address(RVA = "0x10B3A34", Offset = "0x10B3A34", Length = "0x474")]
1712 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1713 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "HandleMovement", MemberParameters = new object[]
1714 {
1715 typeof(Vector2),
1716 typeof(ref int),
1717 typeof(ref int)
1718 }, ReturnType = typeof(void))]
1719 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_015_HandleMovementCollision", MemberParameters = new object[]
1720 {
1723 }, ReturnType = typeof(void))]
1724 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_015_HandleMovementCollision_Old", MemberParameters = new object[]
1725 {
1728 }, ReturnType = typeof(void))]
1729 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Kill", ReturnType = typeof(void))]
1730 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 19)]
1731 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
1732 {
1733 typeof(Vector2),
1735 }, ReturnType = typeof(Vector2))]
1736 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
1737 {
1738 typeof(int),
1739 typeof(int)
1740 }, ReturnType = typeof(Tile))]
1741 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
1742 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
1743 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
1744 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
1745 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "KillTile", MemberParameters = new object[]
1746 {
1747 typeof(int),
1748 typeof(int),
1749 typeof(bool),
1750 typeof(bool),
1751 typeof(bool)
1752 }, ReturnType = typeof(void))]
1753 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
1754 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
1755 public static void HitTiles(Vector2 Position, Vector2 Velocity, int Width, int Height)
1756 {
1757 throw null;
1758 }
1759
1760 [global::Cpp2ILInjected.Token(Token = "0x6002793")]
1761 [global::Cpp2ILInjected.Address(RVA = "0x10B3EA8", Offset = "0x10B3EA8", Length = "0x8C")]
1762 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1763 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CheckForGoodTeleportationSpot", MemberParameters = new object[]
1764 {
1765 typeof(ref bool),
1766 typeof(int),
1767 typeof(int),
1768 typeof(int),
1769 typeof(int),
1771 }, ReturnType = typeof(Vector2))]
1772 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TeleportHelpers), Member = "IsInSolidTilesExtended", MemberParameters = new object[]
1773 {
1774 typeof(Vector2),
1775 typeof(Vector2),
1776 typeof(int),
1777 typeof(int),
1778 typeof(int)
1779 }, ReturnType = typeof(bool))]
1780 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1781 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "HurtTiles", MemberParameters = new object[]
1782 {
1783 typeof(Vector2),
1784 typeof(int),
1785 typeof(int),
1786 typeof(Player)
1787 }, ReturnType = typeof(Collision.HurtTile))]
1788 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1789 public static bool AnyHurtingTiles(Vector2 Position, int Width, int Height)
1790 {
1791 throw null;
1792 }
1793
1794 [global::Cpp2ILInjected.Token(Token = "0x6002794")]
1795 [global::Cpp2ILInjected.Address(RVA = "0x10B3F34", Offset = "0x10B3F34", Length = "0x43C")]
1796 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1797 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "GetHurtTile", ReturnType = typeof(Collision.HurtTile))]
1798 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "AnyHurtingTiles", MemberParameters = new object[]
1799 {
1800 typeof(Vector2),
1801 typeof(int),
1802 typeof(int)
1803 }, ReturnType = typeof(bool))]
1804 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1805 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
1806 {
1807 typeof(int),
1808 typeof(int)
1809 }, ReturnType = typeof(Tile))]
1810 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
1811 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
1812 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
1813 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
1814 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "CanTileHurt", MemberParameters = new object[]
1815 {
1816 typeof(ushort),
1817 typeof(int),
1818 typeof(int),
1819 typeof(Player)
1820 }, ReturnType = typeof(bool))]
1821 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
1822 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "rightSlope", ReturnType = typeof(bool))]
1823 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "leftSlope", ReturnType = typeof(bool))]
1824 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "bottomSlope", ReturnType = typeof(bool))]
1825 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "topSlope", ReturnType = typeof(bool))]
1826 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
1827 public static Collision.HurtTile HurtTiles(Vector2 Position, int Width, int Height, Player player)
1828 {
1829 throw null;
1830 }
1831
1832 [global::Cpp2ILInjected.Token(Token = "0x6002795")]
1833 [global::Cpp2ILInjected.Address(RVA = "0x10B4370", Offset = "0x10B4370", Length = "0x164")]
1834 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1835 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "GetHurtTile", ReturnType = typeof(Collision.HurtTile))]
1836 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "HurtTiles", MemberParameters = new object[]
1837 {
1838 typeof(Vector2),
1839 typeof(int),
1840 typeof(int),
1841 typeof(Player)
1842 }, ReturnType = typeof(Collision.HurtTile))]
1843 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1844 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
1845 public static bool CanTileHurt(ushort type, int i, int j, Player player)
1846 {
1847 throw null;
1848 }
1849
1850 [global::Cpp2ILInjected.Token(Token = "0x6002796")]
1851 [global::Cpp2ILInjected.Address(RVA = "0x10B44D4", Offset = "0x10B44D4", Length = "0x91C")]
1852 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1853 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "UpdateNPC", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
1854 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
1855 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
1856 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "HandleMovement", MemberParameters = new object[]
1857 {
1858 typeof(Vector2),
1859 typeof(ref int),
1860 typeof(ref int)
1861 }, ReturnType = typeof(void))]
1862 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_149_GolfBall", ReturnType = typeof(void))]
1863 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
1864 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "ExplodeMine", MemberParameters = new object[]
1865 {
1866 typeof(int),
1867 typeof(int),
1868 typeof(bool)
1869 }, ReturnType = typeof(void))]
1870 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Wiring), Member = "HitSwitch", MemberParameters = new object[]
1871 {
1872 typeof(int),
1873 typeof(int)
1874 }, ReturnType = typeof(void))]
1875 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
1876 {
1877 typeof(int),
1878 typeof(int),
1879 typeof(int),
1881 typeof(int),
1882 typeof(float),
1883 typeof(float),
1884 typeof(float),
1885 typeof(int),
1886 typeof(int),
1887 typeof(int)
1888 }, ReturnType = typeof(void))]
1889 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "FloatIntersect", MemberParameters = new object[]
1890 {
1891 typeof(float),
1892 typeof(float),
1893 typeof(float),
1894 typeof(float),
1895 typeof(float),
1896 typeof(float),
1897 typeof(float),
1898 typeof(float)
1899 }, ReturnType = typeof(bool))]
1900 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
1901 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "KillTile", MemberParameters = new object[]
1902 {
1903 typeof(int),
1904 typeof(int),
1905 typeof(bool),
1906 typeof(bool),
1907 typeof(bool)
1908 }, ReturnType = typeof(void))]
1909 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClient", ReturnType = typeof(bool))]
1910 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 27)]
1911 public static bool SwitchTiles(Vector2 Position, int Width, int Height, Vector2 oldPosition, int objType)
1912 {
1913 throw null;
1914 }
1915
1916 [global::Cpp2ILInjected.Token(Token = "0x6002797")]
1917 [global::Cpp2ILInjected.Address(RVA = "0x10B4DF0", Offset = "0x10B4DF0", Length = "0x24C")]
1918 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1919 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1920 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToTileCoordinates", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
1921 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
1922 {
1923 typeof(float),
1924 typeof(float)
1925 }, ReturnType = typeof(void))]
1926 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
1927 {
1928 typeof(Vector2),
1930 }, ReturnType = typeof(Vector2))]
1931 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
1932 {
1933 typeof(int),
1934 typeof(int),
1935 typeof(int)
1936 }, ReturnType = "T")]
1937 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
1938 {
1939 typeof(int),
1940 typeof(int)
1941 }, ReturnType = typeof(Tile))]
1942 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
1943 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
1944 public bool SwitchTilesNew(Vector2 Position, int Width, int Height, Vector2 oldPosition, int objType)
1945 {
1946 throw null;
1947 }
1948
1949 [global::Cpp2ILInjected.Token(Token = "0x6002798")]
1950 [global::Cpp2ILInjected.Address(RVA = "0x10B503C", Offset = "0x10B503C", Length = "0x5B0")]
1951 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1952 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "StickyMovement", ReturnType = typeof(void))]
1953 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1954 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
1955 {
1956 typeof(int),
1957 typeof(int)
1958 }, ReturnType = typeof(Tile))]
1959 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
1960 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
1961 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
1962 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
1963 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
1964 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
1965 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
1966 {
1967 typeof(float),
1968 typeof(float)
1969 }, ReturnType = typeof(void))]
1970 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dust), Member = "NewDust", MemberParameters = new object[]
1971 {
1972 typeof(Vector2),
1973 typeof(int),
1974 typeof(int),
1975 typeof(int),
1976 typeof(float),
1977 typeof(float),
1978 typeof(int),
1979 typeof(Color),
1980 typeof(float)
1981 }, ReturnType = typeof(int))]
1982 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 18)]
1983 public static Vector2 StickyTiles(Vector2 Position, Vector2 Velocity, int Width, int Height)
1984 {
1985 throw null;
1986 }
1987
1988 [global::Cpp2ILInjected.Token(Token = "0x6002799")]
1989 [global::Cpp2ILInjected.Address(RVA = "0x10B55EC", Offset = "0x10B55EC", Length = "0x110")]
1990 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1991 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities", ReturnType = typeof(void))]
1992 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
1993 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Swap", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
1994 {
1995 typeof(ref int),
1996 typeof(ref int)
1997 }, ReturnType = typeof(void))]
1998 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "SolidTiles", MemberParameters = new object[]
1999 {
2000 typeof(int),
2001 typeof(int),
2002 typeof(int),
2003 typeof(int)
2004 }, ReturnType = typeof(bool))]
2005 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
2006 public static bool SolidTilesVersatile(int startX, int endX, int startY, int endY)
2007 {
2008 throw null;
2009 }
2010
2011 [global::Cpp2ILInjected.Token(Token = "0x600279A")]
2012 [global::Cpp2ILInjected.Address(RVA = "0x10B5958", Offset = "0x10B5958", Length = "0xD0")]
2013 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2014 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_045_Golem", ReturnType = typeof(void))]
2015 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
2016 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Damage", ReturnType = typeof(void))]
2017 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_191_TrueNightsEdge", ReturnType = typeof(void))]
2018 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_045", ReturnType = typeof(void))]
2019 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
2020 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "SolidTiles", MemberParameters = new object[]
2021 {
2022 typeof(int),
2023 typeof(int),
2024 typeof(int),
2025 typeof(int)
2026 }, ReturnType = typeof(bool))]
2027 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
2028 public static bool SolidTiles(Vector2 position, int width, int height)
2029 {
2030 throw null;
2031 }
2032
2033 [global::Cpp2ILInjected.Token(Token = "0x600279B")]
2034 [global::Cpp2ILInjected.Address(RVA = "0x10B56FC", Offset = "0x10B56FC", Length = "0x25C")]
2035 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2036 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_AttemptToFindTeleportSpot", MemberParameters = new object[]
2037 {
2039 typeof(int),
2040 typeof(int),
2041 typeof(int),
2042 typeof(int),
2043 typeof(int),
2044 typeof(bool),
2045 typeof(bool)
2046 }, ReturnType = typeof(bool))]
2047 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
2048 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "BloodNautilus_CallForHelp", ReturnType = typeof(void))]
2049 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities", ReturnType = typeof(void))]
2050 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities_TeleportToHome", MemberParameters = new object[]
2051 {
2052 typeof(int),
2053 typeof(int)
2054 }, ReturnType = typeof(void))]
2055 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_003_Fighters", ReturnType = typeof(void))]
2056 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_084_LunaticCultist", ReturnType = typeof(void))]
2057 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "SlimeRainSpawns", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
2058 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "SpawnNPC", ReturnType = typeof(void))]
2059 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "HitEffect", MemberParameters = new object[]
2060 {
2061 typeof(int),
2062 typeof(double)
2063 }, ReturnType = typeof(void))]
2064 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_CheckCanUse", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(bool))]
2065 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "SolidTilesVersatile", MemberParameters = new object[]
2066 {
2067 typeof(int),
2068 typeof(int),
2069 typeof(int),
2070 typeof(int)
2071 }, ReturnType = typeof(bool))]
2072 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "SolidTiles", MemberParameters = new object[]
2073 {
2074 typeof(Vector2),
2075 typeof(int),
2076 typeof(int)
2077 }, ReturnType = typeof(bool))]
2078 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Wiring), Member = "HitWireSingle", MemberParameters = new object[]
2079 {
2080 typeof(int),
2081 typeof(int)
2082 }, ReturnType = typeof(void))]
2083 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "SpawnTravelNPC", ReturnType = typeof(void))]
2084 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "SpawnTownNPC", MemberParameters = new object[]
2085 {
2086 typeof(int),
2087 typeof(int)
2088 }, ReturnType = typeof(TownNPCSpawnResult))]
2089 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "ScoreRoom", MemberParameters = new object[]
2090 {
2091 typeof(int),
2092 typeof(int)
2093 }, ReturnType = typeof(void))]
2094 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "ShakeTree", MemberParameters = new object[]
2095 {
2096 typeof(int),
2097 typeof(int)
2098 }, ReturnType = typeof(void))]
2099 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "TriggerLunarApocalypse", ReturnType = typeof(void))]
2100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CultistRitual), Member = "CheckFloor", MemberParameters = new object[]
2101 {
2102 typeof(Vector2),
2103 typeof(ref Point[])
2104 }, ReturnType = typeof(bool))]
2105 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 30)]
2106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
2107 {
2108 typeof(int),
2109 typeof(int)
2110 }, ReturnType = typeof(Tile))]
2111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_IsLoaded", ReturnType = typeof(bool))]
2112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
2113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
2114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
2115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
2116 public static bool SolidTiles(int startX, int endX, int startY, int endY)
2117 {
2118 throw null;
2119 }
2120
2121 [global::Cpp2ILInjected.Token(Token = "0x600279C")]
2122 [global::Cpp2ILInjected.Address(RVA = "0x10B5A28", Offset = "0x10B5A28", Length = "0xD8")]
2123 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
2125 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
2126 public static bool SolidTiles(Vector2 position, int width, int height, bool allowTopSurfaces)
2127 {
2128 throw null;
2129 }
2130
2131 [global::Cpp2ILInjected.Token(Token = "0x600279D")]
2132 [global::Cpp2ILInjected.Address(RVA = "0x10B5B00", Offset = "0x10B5B00", Length = "0x258")]
2133 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2134 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
2135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
2136 {
2137 typeof(int),
2138 typeof(int)
2139 }, ReturnType = typeof(Tile))]
2140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
2141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
2142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
2143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
2144 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
2145 public static bool SolidTiles(int startX, int endX, int startY, int endY, bool allowTopSurfaces)
2146 {
2147 throw null;
2148 }
2149
2150 [global::Cpp2ILInjected.Token(Token = "0x600279E")]
2151 [global::Cpp2ILInjected.Address(RVA = "0x10B5D58", Offset = "0x10B5D58", Length = "0x4D8")]
2152 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2153 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities", ReturnType = typeof(void))]
2154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "DryCollision", MemberParameters = new object[]
2155 {
2156 typeof(bool),
2157 typeof(bool)
2158 }, ReturnType = typeof(void))]
2159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
2160 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
2161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "InWorld", MemberParameters = new object[]
2162 {
2163 typeof(int),
2164 typeof(int),
2165 typeof(int)
2166 }, ReturnType = typeof(bool))]
2167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "FloatIntersect", MemberParameters = new object[]
2168 {
2169 typeof(float),
2170 typeof(float),
2171 typeof(float),
2172 typeof(float),
2173 typeof(float),
2174 typeof(float),
2175 typeof(float),
2176 typeof(float)
2177 }, ReturnType = typeof(bool))]
2178 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
2179 public static void StepDown(ref Vector2 position, ref Vector2 velocity, int width, int height, ref float stepSpeed, ref float gfxOffY, int gravDir = 1, bool waterWalk = false)
2180 {
2181 throw null;
2182 }
2183
2184 [global::Cpp2ILInjected.Token(Token = "0x600279F")]
2185 [global::Cpp2ILInjected.Address(RVA = "0x10B6230", Offset = "0x10B6230", Length = "0x8D4")]
2186 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2187 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities", ReturnType = typeof(void))]
2188 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_107_ImprovedWalkers", ReturnType = typeof(void))]
2189 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "DryCollision", MemberParameters = new object[]
2190 {
2191 typeof(bool),
2192 typeof(bool)
2193 }, ReturnType = typeof(void))]
2194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
2195 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_067_FreakingPirates", ReturnType = typeof(void))]
2196 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_026", ReturnType = typeof(void))]
2197 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_063", ReturnType = typeof(void))]
2198 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
2199 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
2200 public static void StepUp(ref Vector2 position, ref Vector2 velocity, int width, int height, ref float stepSpeed, ref float gfxOffY, int gravDir = 1, bool holdsMatching = false, int specialChecksMode = 0)
2201 {
2202 throw null;
2203 }
2204
2205 [global::Cpp2ILInjected.Token(Token = "0x60027A0")]
2206 [global::Cpp2ILInjected.Address(RVA = "0x10B6B04", Offset = "0x10B6B04", Length = "0x2C")]
2207 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2208 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "InSmartCursorHighlightArea", MemberParameters = new object[]
2209 {
2210 typeof(int),
2211 typeof(int),
2212 typeof(ref bool)
2213 }, ReturnType = typeof(bool))]
2214 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_StaffOfRegrowth", MemberParameters = new object[]
2215 {
2216 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2217 typeof(ref int),
2218 typeof(ref int)
2219 }, ReturnType = typeof(void))]
2220 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_GrassSeeds", MemberParameters = new object[]
2221 {
2222 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2223 typeof(ref int),
2224 typeof(ref int)
2225 }, ReturnType = typeof(void))]
2226 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_ClayPots", MemberParameters = new object[]
2227 {
2228 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2229 typeof(ref int),
2230 typeof(ref int)
2231 }, ReturnType = typeof(void))]
2232 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_PlanterBox", MemberParameters = new object[]
2233 {
2234 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2235 typeof(ref int),
2236 typeof(ref int)
2237 }, ReturnType = typeof(void))]
2238 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_AlchemySeeds", MemberParameters = new object[]
2239 {
2240 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2241 typeof(ref int),
2242 typeof(ref int)
2243 }, ReturnType = typeof(void))]
2244 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Actuators", MemberParameters = new object[]
2245 {
2246 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2247 typeof(ref int),
2248 typeof(ref int)
2249 }, ReturnType = typeof(void))]
2250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_EmptyBuckets", MemberParameters = new object[]
2251 {
2252 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2253 typeof(ref int),
2254 typeof(ref int)
2255 }, ReturnType = typeof(void))]
2256 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_PaintScrapper", MemberParameters = new object[]
2257 {
2258 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2259 typeof(ref int),
2260 typeof(ref int)
2261 }, ReturnType = typeof(void))]
2262 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_PaintBrush", MemberParameters = new object[]
2263 {
2264 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2265 typeof(ref int),
2266 typeof(ref int)
2267 }, ReturnType = typeof(void))]
2268 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_PaintRoller", MemberParameters = new object[]
2269 {
2270 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2271 typeof(ref int),
2272 typeof(ref int)
2273 }, ReturnType = typeof(void))]
2274 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_BlocksLines", MemberParameters = new object[]
2275 {
2276 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2277 typeof(ref int),
2278 typeof(ref int)
2279 }, ReturnType = typeof(void))]
2280 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Boulders", MemberParameters = new object[]
2281 {
2282 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2283 typeof(ref int),
2284 typeof(ref int)
2285 }, ReturnType = typeof(void))]
2286 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Pigronata", MemberParameters = new object[]
2287 {
2288 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2289 typeof(ref int),
2290 typeof(ref int)
2291 }, ReturnType = typeof(void))]
2292 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_PumpkinSeeds", MemberParameters = new object[]
2293 {
2294 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2295 typeof(ref int),
2296 typeof(ref int)
2297 }, ReturnType = typeof(void))]
2298 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Walls", MemberParameters = new object[]
2299 {
2300 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2301 typeof(ref int),
2302 typeof(ref int)
2303 }, ReturnType = typeof(void))]
2304 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_MinecartTracks", MemberParameters = new object[]
2305 {
2306 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2307 typeof(ref int),
2308 typeof(ref int)
2309 }, ReturnType = typeof(void))]
2310 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Platforms", MemberParameters = new object[]
2311 {
2312 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2313 typeof(ref int),
2314 typeof(ref int)
2315 }, ReturnType = typeof(void))]
2316 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_WireCutter", MemberParameters = new object[]
2317 {
2318 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2319 typeof(ref int),
2320 typeof(ref int)
2321 }, ReturnType = typeof(void))]
2322 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_ActuationRod", MemberParameters = new object[]
2323 {
2324 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2325 typeof(ref int),
2326 typeof(ref int)
2327 }, ReturnType = typeof(void))]
2328 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Hammers", MemberParameters = new object[]
2329 {
2330 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2331 typeof(ref int),
2332 typeof(ref int)
2333 }, ReturnType = typeof(void))]
2334 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_MulticolorWrench", MemberParameters = new object[]
2335 {
2336 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2337 typeof(ref int),
2338 typeof(ref int)
2339 }, ReturnType = typeof(void))]
2340 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_ColoredWrenches", MemberParameters = new object[]
2341 {
2342 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2343 typeof(ref int),
2344 typeof(ref int)
2345 }, ReturnType = typeof(void))]
2346 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Acorns", MemberParameters = new object[]
2347 {
2348 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2349 typeof(ref int),
2350 typeof(ref int)
2351 }, ReturnType = typeof(void))]
2352 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_GemCorns", MemberParameters = new object[]
2353 {
2354 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2355 typeof(ref int),
2356 typeof(ref int)
2357 }, ReturnType = typeof(void))]
2358 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_ForceCursorToAnyMinableThing", MemberParameters = new object[]
2359 {
2360 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2361 typeof(ref int),
2362 typeof(ref int)
2363 }, ReturnType = typeof(void))]
2364 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Pickaxe_MineShinies", MemberParameters = new object[]
2365 {
2366 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2367 typeof(ref int),
2368 typeof(ref int)
2369 }, ReturnType = typeof(void))]
2370 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Pickaxe_MineSolids", MemberParameters = new object[]
2371 {
2372 typeof(Player),
2373 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2375 typeof(ref int),
2376 typeof(ref int)
2377 }, ReturnType = typeof(void))]
2378 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_Axe", MemberParameters = new object[]
2379 {
2380 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2381 typeof(ref int),
2382 typeof(ref int)
2383 }, ReturnType = typeof(void))]
2384 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_BlocksFilling", MemberParameters = new object[]
2385 {
2386 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2387 typeof(ref int),
2388 typeof(ref int)
2389 }, ReturnType = typeof(void))]
2390 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartCursorHelper), Member = "Step_LawnMower", MemberParameters = new object[]
2391 {
2392 "Terraria.GameContent.SmartCursorHelper.SmartCursorUsageInfo",
2393 typeof(ref int),
2394 typeof(ref int)
2395 }, ReturnType = typeof(void))]
2396 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileSmartInteractCandidateProvider), Member = "ProvideCandidate", MemberParameters = new object[]
2397 {
2400 }, ReturnType = typeof(bool))]
2401 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 45)]
2402 public static bool InTileBounds(int x, int y, int lx, int ly, int hx, int hy)
2403 {
2404 throw null;
2405 }
2406
2407 [global::Cpp2ILInjected.Token(Token = "0x60027A1")]
2408 [global::Cpp2ILInjected.Address(RVA = "0x10B6B30", Offset = "0x10B6B30", Length = "0x304")]
2409 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2410 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "UpdateFrame", MemberParameters = new object[]
2411 {
2412 typeof(Player),
2413 typeof(int),
2415 }, ReturnType = typeof(void))]
2416 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
2417 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
2418 {
2419 typeof(int),
2420 typeof(int)
2421 }, ReturnType = typeof(Tile))]
2422 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
2423 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
2424 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "blockType", ReturnType = typeof(int))]
2425 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameX", ReturnType = typeof(short))]
2426 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
2427 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
2428 public static float GetTileRotation(Vector2 position)
2429 {
2430 throw null;
2431 }
2432
2433 [global::Cpp2ILInjected.Token(Token = "0x60027A2")]
2434 [global::Cpp2ILInjected.Address(RVA = "0x10B6E34", Offset = "0x10B6E34", Length = "0x108")]
2435 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2436 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
2437 public static void GetEntityEdgeTopBottom(Entity entity, out int sx, out int ex, out int sy, out int ey)
2438 {
2439 throw null;
2440 }
2441
2442 [global::Cpp2ILInjected.Token(Token = "0x60027A3")]
2443 [global::Cpp2ILInjected.Address(RVA = "0x10B6F3C", Offset = "0x10B6F3C", Length = "0x114")]
2444 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2445 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "StepConveyorBelt", MemberParameters = new object[]
2446 {
2447 typeof(Entity),
2448 typeof(float)
2449 }, ReturnType = typeof(void))]
2450 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
2451 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Right", ReturnType = typeof(Vector2))]
2452 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Bottom", ReturnType = typeof(Vector2))]
2453 public static void GetEntityEdgeTilesExtents(Entity entity, out int minX, out int minY, out int maxX, out int maxY)
2454 {
2455 throw null;
2456 }
2457
2458 [global::Cpp2ILInjected.Token(Token = "0x60027A4")]
2459 [global::Cpp2ILInjected.Address(RVA = "0x10B7050", Offset = "0x10B7050", Length = "0x348")]
2460 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2461 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
2462 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Right", ReturnType = typeof(Vector2))]
2463 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Bottom", ReturnType = typeof(Vector2))]
2464 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
2465 {
2466 typeof(int),
2467 typeof(int)
2468 }, ReturnType = typeof(void))]
2469 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
2470 public static void GetEntityEdgeTiles(List<Point> p, Entity entity, bool left = true, bool right = true, bool up = true, bool down = true)
2471 {
2472 throw null;
2473 }
2474
2475 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
2476 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
2477 [global::Cpp2ILInjected.Token(Token = "0x60027A5")]
2478 [global::Cpp2ILInjected.Address(RVA = "0x10B7398", Offset = "0x10B7398", Length = "0x7E8")]
2479 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2480 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "MoveInWorld", MemberParameters = new object[]
2481 {
2482 typeof(float),
2483 typeof(float),
2485 typeof(int)
2486 }, ReturnType = typeof(void))]
2487 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "UpdateCollision", ReturnType = typeof(void))]
2488 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "DryCollision", MemberParameters = new object[]
2489 {
2490 typeof(bool),
2491 typeof(bool)
2492 }, ReturnType = typeof(void))]
2493 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
2494 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
2495 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "GetEntityEdgeTilesExtents", MemberParameters = new object[]
2496 {
2497 typeof(Entity),
2498 typeof(ref int),
2499 typeof(ref int),
2500 typeof(ref int),
2501 typeof(ref int)
2502 }, ReturnType = typeof(void))]
2503 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
2504 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
2505 {
2506 typeof(Vector2),
2508 }, ReturnType = typeof(Vector2))]
2509 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Size", ReturnType = typeof(Vector2))]
2510 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
2511 {
2512 typeof(Vector2),
2513 typeof(float)
2514 }, ReturnType = typeof(Vector2))]
2515 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
2516 {
2517 typeof(Vector2),
2519 }, ReturnType = typeof(Vector2))]
2520 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "CheckAABBvLineCollision2", MemberParameters = new object[]
2521 {
2522 typeof(Vector2),
2523 typeof(Vector2),
2524 typeof(Vector2),
2526 }, ReturnType = typeof(bool))]
2527 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Sign", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
2528 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
2529 {
2530 typeof(float),
2531 typeof(float)
2532 }, ReturnType = typeof(void))]
2533 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Normalize", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
2534 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "TileCollision", MemberParameters = new object[]
2535 {
2536 typeof(Vector2),
2537 typeof(Vector2),
2538 typeof(int),
2539 typeof(int),
2540 typeof(bool),
2541 typeof(bool),
2542 typeof(int)
2543 }, ReturnType = typeof(Vector2))]
2544 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
2545 public static void StepConveyorBelt(Entity entity, float gravDir)
2546 {
2547 throw null;
2548 }
2549
2550 [global::Cpp2ILInjected.Token(Token = "0x60027A6")]
2551 [global::Cpp2ILInjected.Address(RVA = "0x10B7B80", Offset = "0x10B7B80", Length = "0x274")]
2552 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2553 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UseQuickMineCartHook", ReturnType = typeof(bool))]
2554 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UseQuickMineCartSnapHook", ReturnType = typeof(bool))]
2555 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "QuickMinecart", ReturnType = typeof(void))]
2556 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "QuickMinecartSnap", ReturnType = typeof(bool))]
2557 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PressurePlateHelper), Member = "UpdatePlayerPosition", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
2558 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WindGrid), Member = "ScanPlayer", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
2559 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
2560 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToTileCoordinates", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
2561 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
2562 {
2563 typeof(int),
2564 typeof(int),
2565 typeof(int)
2566 }, ReturnType = "T")]
2567 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
2568 {
2569 typeof(int),
2570 typeof(int)
2571 }, ReturnType = typeof(Tile))]
2572 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
2573 {
2574 typeof(int),
2575 typeof(int)
2576 }, ReturnType = typeof(void))]
2577 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
2578 public static void GetTilesIn(Vector2 TopLeft, Vector2 BottomRight, List<Point> p)
2579 {
2580 throw null;
2581 }
2582
2583 [global::Cpp2ILInjected.Token(Token = "0x60027A7")]
2584 [global::Cpp2ILInjected.Address(RVA = "0x10B7DF4", Offset = "0x10B7DF4", Length = "0x218")]
2585 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2586 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProjDirect", MemberParameters = new object[]
2587 {
2589 typeof(int)
2590 }, ReturnType = typeof(void))]
2591 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
2592 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
2593 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StrayMethods), Member = "CanSpawnSandstormHostile", MemberParameters = new object[]
2594 {
2595 typeof(Vector2),
2596 typeof(int),
2597 typeof(int)
2598 }, ReturnType = typeof(bool))]
2599 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StrayMethods), Member = "CanSpawnSandstormFriendly", MemberParameters = new object[]
2600 {
2601 typeof(Vector2),
2602 typeof(int),
2603 typeof(int)
2604 }, ReturnType = typeof(bool))]
2605 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StrayMethods), Member = "CheckArenaScore", MemberParameters = new object[]
2606 {
2607 typeof(Vector2),
2608 typeof(ref Point),
2609 typeof(ref Point),
2610 typeof(int),
2611 typeof(int)
2612 }, ReturnType = typeof(void))]
2613 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StrayMethods), Member = "SendWalker", MemberParameters = new object[]
2614 {
2615 typeof(Point),
2616 typeof(int),
2617 typeof(int),
2618 typeof(ref int),
2619 typeof(ref Point),
2620 typeof(int),
2621 typeof(bool)
2622 }, ReturnType = typeof(void))]
2623 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
2624 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "InWorld", MemberParameters = new object[]
2625 {
2626 typeof(int),
2627 typeof(int),
2628 typeof(int)
2629 }, ReturnType = typeof(bool))]
2630 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
2631 {
2632 typeof(int),
2633 typeof(int)
2634 }, ReturnType = typeof(Tile))]
2635 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_IsLoaded", ReturnType = typeof(bool))]
2636 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "SolidTile3", MemberParameters = new object[]
2637 {
2638 typeof(int),
2639 typeof(int)
2640 }, ReturnType = typeof(bool))]
2641 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
2642 public static void ExpandVertically(int startX, int startY, out int topY, out int bottomY, int maxExpandUp = 100, int maxExpandDown = 100)
2643 {
2644 throw null;
2645 }
2646
2647 [global::Cpp2ILInjected.Token(Token = "0x60027A8")]
2648 [global::Cpp2ILInjected.Address(RVA = "0x10B800C", Offset = "0x10B800C", Length = "0xA28")]
2649 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2650 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "Collision_MoveSandshark", MemberParameters = new object[]
2651 {
2652 typeof(bool),
2653 typeof(Vector2),
2654 typeof(int),
2655 typeof(int)
2656 }, ReturnType = typeof(void))]
2657 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
2658 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
2659 {
2660 typeof(Vector2),
2662 }, ReturnType = typeof(Vector2))]
2663 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
2664 {
2665 typeof(int),
2666 typeof(int),
2667 typeof(int)
2668 }, ReturnType = "T")]
2669 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
2670 {
2671 typeof(int),
2672 typeof(int)
2673 }, ReturnType = typeof(Tile))]
2674 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
2675 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
2676 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
2677 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
2678 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
2679 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
2680 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 27)]
2681 public static Vector2 AdvancedTileCollision(bool[] forcedIgnoredTiles, Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough = false, bool fall2 = false, int gravDir = 1)
2682 {
2683 throw null;
2684 }
2685
2686 [global::Cpp2ILInjected.Token(Token = "0x60027A9")]
2687 [global::Cpp2ILInjected.Address(RVA = "0x10B8A34", Offset = "0x10B8A34", Length = "0x33C")]
2688 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2689 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
2690 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Collision), Member = "AimingLaserScan", MemberParameters = new object[]
2691 {
2692 typeof(Vector2),
2693 typeof(Vector2),
2694 typeof(float),
2695 typeof(int),
2697 typeof(ref float[])
2698 }, ReturnType = typeof(void))]
2699 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
2700 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "RotatedBy", MemberParameters = new object[]
2701 {
2702 typeof(Vector2),
2703 typeof(double),
2705 }, ReturnType = typeof(Vector2))]
2706 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
2707 {
2708 typeof(Vector2),
2709 typeof(float)
2710 }, ReturnType = typeof(Vector2))]
2711 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
2712 {
2713 typeof(Vector2),
2715 }, ReturnType = typeof(Vector2))]
2716 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "TupleHitLine", MemberParameters = new object[]
2717 {
2718 typeof(int),
2719 typeof(int),
2720 typeof(int),
2721 typeof(int),
2722 typeof(int),
2723 typeof(int),
2725 typeof(ref int),
2726 typeof(ref int)
2727 }, ReturnType = typeof(bool))]
2728 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
2729 {
2730 typeof(float),
2731 typeof(float)
2732 }, ReturnType = typeof(void))]
2733 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Length", ReturnType = typeof(float))]
2734 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
2736 {
2737 throw null;
2738 }
2739
2740 [global::Cpp2ILInjected.Token(Token = "0x60027AA")]
2741 [global::Cpp2ILInjected.Address(RVA = "0x10B8D70", Offset = "0x10B8D70", Length = "0x1BC")]
2742 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "FindSharpTearsSpot", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
2743 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CommandForbiddenStorm", ReturnType = typeof(void))]
2744 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
2745 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
2746 {
2747 typeof(Vector2),
2749 }, ReturnType = typeof(Vector2))]
2750 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "SafeNormalize", MemberParameters = new object[]
2751 {
2752 typeof(Vector2),
2754 }, ReturnType = typeof(Vector2))]
2755 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Length", ReturnType = typeof(float))]
2756 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "LaserScan", MemberParameters = new object[]
2757 {
2758 typeof(Vector2),
2759 typeof(Vector2),
2760 typeof(float),
2761 typeof(float),
2762 typeof(float[])
2763 }, ReturnType = typeof(void))]
2764 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
2766 {
2767 throw null;
2768 }
2769
2770 [global::Cpp2ILInjected.Token(Token = "0x60027AB")]
2771 [global::Cpp2ILInjected.Address(RVA = "0x10B8F2C", Offset = "0x10B8F2C", Length = "0x8")]
2772 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
2773 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
2774 public Collision()
2775 {
2776 throw null;
2777 }
2778
2779 // Note: this type is marked as 'beforefieldinit'.
2780 [global::Cpp2ILInjected.Token(Token = "0x60027AC")]
2781 [global::Cpp2ILInjected.Address(RVA = "0x10B8F34", Offset = "0x10B8F34", Length = "0x144")]
2782 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2783 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
2784 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>), Member = ".ctor", ReturnType = typeof(void))]
2785 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<int>), Member = ".ctor", ReturnType = typeof(void))]
2786 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
2787 static Collision()
2788 {
2789 throw null;
2790 }
2791
2792 [global::Cpp2ILInjected.Token(Token = "0x40033A8")]
2793 public static bool stair;
2794
2795 [global::Cpp2ILInjected.Token(Token = "0x40033A9")]
2796 public static bool stairFall;
2797
2798 [global::Cpp2ILInjected.Token(Token = "0x40033AA")]
2799 public static bool honey;
2800
2801 [global::Cpp2ILInjected.Token(Token = "0x40033AB")]
2802 public static bool shimmer;
2803
2804 [global::Cpp2ILInjected.Token(Token = "0x40033AC")]
2805 public static bool sloping;
2806
2807 [global::Cpp2ILInjected.Token(Token = "0x40033AD")]
2808 public static bool landMine;
2809
2810 [global::Cpp2ILInjected.Token(Token = "0x40033AE")]
2811 public static bool up;
2812
2813 [global::Cpp2ILInjected.Token(Token = "0x40033AF")]
2814 public static bool down;
2815
2816 [global::Cpp2ILInjected.Token(Token = "0x40033B0")]
2817 public unsafe static uint* tileLookup;
2818
2819 [global::Cpp2ILInjected.Token(Token = "0x40033B1")]
2820 public unsafe static ushort* tileTypeData;
2821
2822 [global::Cpp2ILInjected.Token(Token = "0x40033B2")]
2823 public unsafe static ushort* tileTypeWall;
2824
2825 [global::Cpp2ILInjected.Token(Token = "0x40033B3")]
2826 public unsafe static short* tileTypeSHeader;
2827
2828 [global::Cpp2ILInjected.Token(Token = "0x40033B4")]
2829 public unsafe static byte* tileTypeLiquid;
2830
2831 [global::Cpp2ILInjected.Token(Token = "0x40033B5")]
2832 public static float Epsilon;
2833
2834 [global::Cpp2ILInjected.Token(Token = "0x40033B6")]
2835 private static bool[] cSlopes;
2836
2837 [global::Cpp2ILInjected.Token(Token = "0x40033B7")]
2838 private static bool retesting;
2839
2840 [global::Cpp2ILInjected.Token(Token = "0x40033B8")]
2842
2843 [global::Cpp2ILInjected.Token(Token = "0x40033B9")]
2845
2846 [global::Cpp2ILInjected.Token(Token = "0x40033BA")]
2848
2849 [global::Cpp2ILInjected.Token(Token = "0x2000426")]
2850 public struct HurtTile
2851 {
2852 [global::Cpp2ILInjected.Token(Token = "0x40033BB")]
2853 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
2854 public int type;
2855
2856 [global::Cpp2ILInjected.Token(Token = "0x40033BC")]
2857 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
2858 public int x;
2859
2860 [global::Cpp2ILInjected.Token(Token = "0x40033BD")]
2861 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
2862 public int y;
2863 }
2864 }
2865}
class f__AnonymousType0<< Count > j__TPar
static bool CanHit(Entity source, Entity target)
Definition Collision.cs:295
static void GetEntityEdgeTilesExtents(Entity entity, out int minX, out int minY, out int maxX, out int maxY)
static bool InTileBounds(int x, int y, int lx, int ly, int hx, int hy)
static bool SolidTiles(int startX, int endX, int startY, int endY, bool allowTopSurfaces)
static bool CanHitWithCheck(Vector2 Position1, int Width1, int Height1, Vector2 Position2, int Width2, int Height2, Utils.TileActionAttempt check)
Definition Collision.cs:490
static List< int > dummyLaserScanList
static bool down
static float[] FindOverlapPoints(float relativePoint1, float relativePoint2)
Definition Collision.cs:152
static bool SolidTiles(int startX, int endX, int startY, int endY)
static Vector2[] OneDimensionalIntersection(Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2)
Definition Collision.cs:125
static bool WetCollision(Vector2 Position, int Width, int Height)
Definition Collision.cs:984
static bool stair
static Vector2 WaterCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough=false, bool fall2=false, bool lavaWalk=true)
static Vector2[] CheckLinevLine(Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2)
Definition Collision.cs:54
static bool DrownCollision(Vector2 Position, int Width, int Height, float gravDir=-1f, bool includeSlopes=false)
Definition Collision.cs:786
static bool CanTileHurt(ushort type, int i, int j, Player player)
static int collisionOutcode(Vector2 aabbPosition, Vector2 aabbDimensions, Vector2 point)
Definition Collision.cs:179
static unsafe ushort * tileTypeWall
static float GetTileRotation(Vector2 position)
static bool GetWaterLineIterate(Point pt, out float waterLineHeight)
Definition Collision.cs:853
static List< Point > FindCollisionTile(int Direction, Vector2 position, float testMagnitude, int Width, int Height, bool fallThrough=false, bool fall2=false, int gravDir=1, bool checkCardinals=true, bool checkSlopes=false)
static void HitTiles(Vector2 Position, Vector2 Velocity, int Width, int Height)
static unsafe byte * tileTypeLiquid
static bool SolidTiles(Vector2 position, int width, int height, bool allowTopSurfaces)
static void ExpandVertically(int startX, int startY, out int topY, out int bottomY, int maxExpandUp=100, int maxExpandDown=100)
static void AimingLaserScan(Vector2 startPoint, Vector2 endPoint, float samplingWidth, int samplesToTake, out Vector2 vectorTowardsTarget, out float[] samples)
static bool GetWaterLine(int X, int Y, out float waterLineHeight)
Definition Collision.cs:843
static bool honey
static bool stairFall
static bool CheckAABBvLineCollision(Vector2 aabbPosition, Vector2 aabbDimensions, Vector2 lineStart, Vector2 lineEnd)
Definition Collision.cs:195
static bool CanHitLine(Vector2 Position1, int Width1, int Height1, Vector2 Position2, int Width2, int Height2)
Definition Collision.cs:585
static bool AnyHurtingTiles(Vector2 Position, int Width, int Height)
static bool FindCollisionDirection(out int Direction, Vector2 position, int Width, int Height, bool fallThrough=false, bool fall2=false, int gravDir=1)
static Vector4 WalkDownSlope(Vector2 Position, Vector2 Velocity, int Width, int Height, float gravity=0f)
static bool IsWorldPointSolid(Vector2 pos, bool treatPlatformsAsNonSolid=false)
Definition Collision.cs:814
static bool sloping
static bool CheckAABBvLineCollision2(Vector2 aabbPosition, Vector2 aabbDimensions, Vector2 lineStart, Vector2 lineEnd)
Definition Collision.cs:231
static unsafe ushort * tileTypeData
static bool EmptyTile(int i, int j, bool ignoreTiles=false)
Definition Collision.cs:746
static List< Point > _cacheForConveyorBelts
static bool[] cSlopes
static bool CanHit(Entity source, NPCAimedTarget target)
Definition Collision.cs:314
static bool SolidCollision(Vector2 Position, int Width, int Height, bool acceptTopSurfaces)
static bool retesting
static void TupleHitLineWall(int x1, int y1, int x2, int y2, out int resX, out int resY)
Definition Collision.cs:641
static void StepDown(ref Vector2 position, ref Vector2 velocity, int width, int height, ref float stepSpeed, ref float gfxOffY, int gravDir=1, bool waterWalk=false)
static void GetEntityEdgeTopBottom(Entity entity, out int sx, out int ex, out int sy, out int ey)
static double DistFromSeg(Vector2 p, Vector2 q0, Vector2 q1, double radius, ref float u)
Definition Collision.cs:71
static bool CheckAABBvLineCollision(Vector2 objectPosition, Vector2 objectDimensions, Vector2 lineStart, Vector2 lineEnd, float lineWidth, ref float collisionPoint)
Definition Collision.cs:281
static unsafe uint * tileLookup
static Vector2 OldTileCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough=false, bool fall2=false, int gravDir=1)
static Vector2 StickyTiles(Vector2 Position, Vector2 Velocity, int Width, int Height)
static Vector2 AdvancedTileCollision(bool[] forcedIgnoredTiles, Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough=false, bool fall2=false, int gravDir=1)
static Vector2 noSlopeCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool fallThrough=false, bool fall2=false)
static bool GetWaterLineIterate(int X, int Y, out float waterLineHeight)
Definition Collision.cs:874
static Collision.HurtTile HurtTiles(Vector2 Position, int Width, int Height, Player player)
static bool shimmer
static List< Point > EntityEdgeTiles
static void LaserScan(Vector2 samplingPoint, Vector2 directionUnit, float samplingWidth, float maxDistance, float[] samples)
static void GetTilesIn(Vector2 TopLeft, Vector2 BottomRight, List< Point > p)
static void StepUp(ref Vector2 position, ref Vector2 velocity, int width, int height, ref float stepSpeed, ref float gfxOffY, int gravDir=1, bool holdsMatching=false, int specialChecksMode=0)
static bool LavaCollision(Vector2 Position, int Width, int Height)
static Vector2 TileCollision(Vector2 oldPosition, Vector2 oldVelocity, int Width, int Height, bool fallThrough=false, bool fall2=false, int gravDir=1)
static bool SolidTilesVersatile(int startX, int endX, int startY, int endY)
static bool SolidCollision(Vector2 Position, int Width, int Height)
static bool landMine
static bool SwitchTiles(Vector2 Position, int Width, int Height, Vector2 oldPosition, int objType)
static Vector2 AnyCollision(Vector2 Position, Vector2 Velocity, int Width, int Height, bool evenActuated=false)
static bool PointOnLine(Vector2 p, Vector2 a1, Vector2 a2)
Definition Collision.cs:96
static bool CanHit(Vector2 Position1, int Width1, int Height1, Vector2 Position2, int Width2, int Height2)
Definition Collision.cs:442
static Vector2 AnyCollisionWithSpecificTiles(Vector2 Position, Vector2 Velocity, int Width, int Height, bool[] tilesWeCanCollideWithByType, bool evenActuated=false)
bool SwitchTilesNew(Vector2 Position, int Width, int Height, Vector2 oldPosition, int objType)
static void StepConveyorBelt(Entity entity, float gravDir)
static bool IsClearSpotTest(Vector2 position, float testMagnitude, int Width, int Height, bool fallThrough=false, bool fall2=false, int gravDir=1, bool checkCardinals=true, bool checkSlopes=false)
static Vector4 SlopeCollision(Vector2 oldPosition, Vector2 oldVelocity, int Width, int Height, float gravity=0f, bool fall=false)
static bool SolidTiles(Vector2 position, int width, int height)
static float Epsilon
static bool HitWallSubstep(int x, int y)
Definition Collision.cs:674
static bool TupleHitLine(int x1, int y1, int x2, int y2, int ignoreX, int ignoreY, List< int > ignoreTargets, out int colX, out int colY)
Definition Collision.cs:613
static bool CheckAABBvAABBCollision(Vector2 position1, Vector2 dimensions1, Vector2 position2, Vector2 dimensions2)
Definition Collision.cs:163
static void GetEntityEdgeTiles(List< Point > p, Entity entity, bool left=true, bool right=true, bool up=true, bool down=true)
static bool GetWaterLine(Point pt, out float waterLineHeight)
Definition Collision.cs:827
static unsafe short * tileTypeSHeader
static bool CanHit(Point Position1, int Width1, int Height1, Point Position2, int Width2, int Height2)
Definition Collision.cs:469
delegate bool TileActionAttempt(int x, int y)