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
PortalHelper.cs
Go to the documentation of this file.
1using System;
11using Terraria.ID;
14
16{
17 [global::Cpp2ILInjected.Token(Token = "0x20007B1")]
18 public class PortalHelper
19 {
20 [global::Cpp2ILInjected.Token(Token = "0x6004022")]
21 [global::Cpp2ILInjected.Address(RVA = "0x750328", Offset = "0x750328", Length = "0x384")]
22 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
23 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
25 {
26 typeof(float),
27 typeof(float)
28 }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
30 {
31 typeof(int),
32 typeof(int)
33 }, ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Normalize", ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "GetLength", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
36 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
37 static PortalHelper()
38 {
39 throw null;
40 }
41
42 [global::Cpp2ILInjected.Token(Token = "0x6004023")]
43 [global::Cpp2ILInjected.Address(RVA = "0x7506AC", Offset = "0x7506AC", Length = "0x38C")]
44 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdate", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "GetLength", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FloatArray_3), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(float))]
49 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
50 public static void UpdatePortalPoints()
51 {
52 throw null;
53 }
54
55 [global::Cpp2ILInjected.Token(Token = "0x6004024")]
56 [global::Cpp2ILInjected.Address(RVA = "0x750A38", Offset = "0x750A38", Length = "0xF20")]
57 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "TryPortalJumping", ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TryPortalJumping", ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "GetLength", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Center", ReturnType = typeof(Vector2))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FloatArray_3), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(float))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "GetPortalEdges", MemberParameters = new object[]
65 {
67 typeof(float),
70 }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
72 {
75 }, ReturnType = typeof(Vector2))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Size", ReturnType = typeof(Vector2))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "CheckAABBvLineCollision", MemberParameters = new object[]
78 {
83 typeof(float),
84 typeof(ref float)
85 }, ReturnType = typeof(bool))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Hitbox", ReturnType = typeof(Rectangle))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Distance", MemberParameters = new object[]
88 {
91 }, ReturnType = typeof(float))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "GetPortalOutingPoint", MemberParameters = new object[]
93 {
96 typeof(float),
97 typeof(ref int),
98 typeof(ref int)
99 }, ReturnType = typeof(Vector2))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
101 {
102 typeof(float),
103 typeof(float)
104 }, ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Normalize", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
107 {
109 typeof(float)
110 }, ReturnType = typeof(Vector2))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
112 {
115 }, ReturnType = typeof(Vector2))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "TileCollision", MemberParameters = new object[]
117 {
120 typeof(int),
121 typeof(int),
122 typeof(bool),
123 typeof(bool),
124 typeof(int)
125 }, ReturnType = typeof(Vector2))]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Inequality", MemberParameters = new object[]
127 {
130 }, ReturnType = typeof(bool))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_UnaryNegation", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Equality", MemberParameters = new object[]
133 {
136 }, ReturnType = typeof(bool))]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToRotationVector2", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(Vector2))]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Length", ReturnType = typeof(float))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Normalize", ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "HasNaNs", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(bool))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Sign", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(int))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "Teleport", MemberParameters = new object[]
143 {
145 typeof(int),
146 typeof(int)
147 }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetHost", ReturnType = typeof(bool))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
150 {
151 typeof(int),
152 typeof(int),
153 typeof(int),
155 typeof(int),
156 typeof(float),
157 typeof(float),
158 typeof(float),
159 typeof(int),
160 typeof(int),
161 typeof(int)
162 }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "Teleport", MemberParameters = new object[]
164 {
166 typeof(int),
167 typeof(int)
168 }, ReturnType = typeof(void))]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClient", ReturnType = typeof(bool))]
170 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 63)]
172 {
173 throw null;
174 }
175
176 [global::Cpp2ILInjected.Token(Token = "0x6004025")]
177 [global::Cpp2ILInjected.Address(RVA = "0x751CE8", Offset = "0x751CE8", Length = "0x61C")]
178 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
179 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "HandleMovement", MemberParameters = new object[]
180 {
182 typeof(ref int),
183 typeof(ref int)
184 }, ReturnType = typeof(void))]
185 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Length", ReturnType = typeof(float))]
187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
188 {
190 typeof(float)
191 }, ReturnType = typeof(Vector2))]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
193 {
196 }, ReturnType = typeof(Vector2))]
197 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
198 {
200 typeof(float)
201 }, ReturnType = typeof(Vector2))]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "FindCollision", MemberParameters = new object[]
203 {
206 }, ReturnType = typeof(Vector2))]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToTileCoordinates", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
209 {
210 typeof(int),
211 typeof(int)
212 }, ReturnType = typeof(Tile))]
213 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
214 {
215 typeof(float),
216 typeof(float)
217 }, ReturnType = typeof(void))]
218 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "SolidOrSlopedTile", MemberParameters = new object[] { typeof(Tile) }, ReturnType = typeof(bool))]
219 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
220 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
221 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Dot", MemberParameters = new object[]
222 {
225 }, ReturnType = typeof(float))]
226 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "FindValidLine", MemberParameters = new object[]
227 {
228 typeof(Point),
229 typeof(int),
230 typeof(int),
232 }, ReturnType = typeof(bool))]
233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_UnaryNegation", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FloatArray_3), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(float))]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
236 {
239 }, ReturnType = typeof(Vector2))]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "AddPortal", MemberParameters = new object[]
241 {
244 typeof(float),
245 typeof(int),
246 typeof(int)
247 }, ReturnType = typeof(int))]
248 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 26)]
250 {
251 throw null;
252 }
253
254 [global::Cpp2ILInjected.Token(Token = "0x6004026")]
255 [global::Cpp2ILInjected.Address(RVA = "0x752458", Offset = "0x752458", Length = "0x128")]
256 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "TryPlacingPortal", MemberParameters = new object[]
257 {
261 }, ReturnType = typeof(int))]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "IsValidLine", MemberParameters = new object[]
264 {
265 typeof(Point),
266 typeof(int),
267 typeof(int)
268 }, ReturnType = typeof(bool))]
269 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
270 {
271 typeof(int),
272 typeof(int)
273 }, ReturnType = typeof(void))]
274 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
275 private static bool FindValidLine(Point position, int xOffset, int yOffset, out Point bestPosition)
276 {
277 throw null;
278 }
279
280 [global::Cpp2ILInjected.Token(Token = "0x6004027")]
281 [global::Cpp2ILInjected.Address(RVA = "0x7526FC", Offset = "0x7526FC", Length = "0x27C")]
282 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "FindValidLine", MemberParameters = new object[]
283 {
284 typeof(Point),
285 typeof(int),
286 typeof(int),
288 }, ReturnType = typeof(bool))]
289 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
291 {
292 typeof(int),
293 typeof(int)
294 }, ReturnType = typeof(Tile))]
295 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "BlockPortals", MemberParameters = new object[] { typeof(Tile) }, ReturnType = typeof(bool))]
296 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "CanPlacePortalOn", MemberParameters = new object[] { typeof(Tile) }, ReturnType = typeof(bool))]
297 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "HasSameSlope", MemberParameters = new object[] { typeof(Tile) }, ReturnType = typeof(bool))]
298 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
299 private static bool IsValidLine(Point position, int xOffset, int yOffset)
300 {
301 throw null;
302 }
303
304 [global::Cpp2ILInjected.Token(Token = "0x6004028")]
305 [global::Cpp2ILInjected.Address(RVA = "0x752A84", Offset = "0x752A84", Length = "0xB0")]
306 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
307 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "IsValidLine", MemberParameters = new object[]
308 {
309 typeof(Point),
310 typeof(int),
311 typeof(int)
312 }, ReturnType = typeof(bool))]
313 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
314 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
315 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "SolidOrSlopedTile", MemberParameters = new object[] { typeof(Tile) }, ReturnType = typeof(bool))]
316 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
317 private static bool CanPlacePortalOn(Tile t)
318 {
319 throw null;
320 }
321
322 [global::Cpp2ILInjected.Token(Token = "0x6004029")]
323 [global::Cpp2ILInjected.Address(RVA = "0x752B34", Offset = "0x752B34", Length = "0x10")]
324 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
325 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
326 private static bool DoesTileTypeSupportPortals(ushort tileType)
327 {
328 throw null;
329 }
330
331 [global::Cpp2ILInjected.Token(Token = "0x600402A")]
332 [global::Cpp2ILInjected.Address(RVA = "0x752978", Offset = "0x752978", Length = "0x10C")]
333 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "IsValidLine", MemberParameters = new object[]
334 {
335 typeof(Point),
336 typeof(int),
337 typeof(int)
338 }, ReturnType = typeof(bool))]
339 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
340 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
341 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
342 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
343 private static bool BlockPortals(Tile t)
344 {
345 throw null;
346 }
347
348 [global::Cpp2ILInjected.Token(Token = "0x600402B")]
349 [global::Cpp2ILInjected.Address(RVA = "0x752304", Offset = "0x752304", Length = "0x154")]
350 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
351 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "TryPlacingPortal", MemberParameters = new object[]
352 {
356 }, ReturnType = typeof(int))]
357 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
358 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper.<>c__DisplayClass17_0), Member = ".ctor", ReturnType = typeof(void))]
359 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToTileCoordinates", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
360 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils.TileActionAttempt), Member = ".ctor", MemberParameters = new object[]
361 {
362 typeof(object),
364 }, ReturnType = typeof(void))]
365 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "PlotLine", MemberParameters = new object[]
366 {
367 typeof(Point),
368 typeof(Point),
370 typeof(bool)
371 }, ReturnType = typeof(bool))]
372 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
373 {
374 typeof(float),
375 typeof(float)
376 }, ReturnType = typeof(void))]
377 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
378 private static Vector2 FindCollision(Vector2 startPosition, Vector2 stopPosition)
379 {
380 throw null;
381 }
382
383 [global::Cpp2ILInjected.Token(Token = "0x600402C")]
384 [global::Cpp2ILInjected.Address(RVA = "0x752580", Offset = "0x752580", Length = "0x17C")]
385 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
386 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "TryPlacingPortal", MemberParameters = new object[]
387 {
391 }, ReturnType = typeof(int))]
392 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
393 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "SupportedTilesAreFine", MemberParameters = new object[]
394 {
396 typeof(float)
397 }, ReturnType = typeof(bool))]
398 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "RemoveMyOldPortal", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
399 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "RemoveIntersectingPortals", MemberParameters = new object[]
400 {
402 typeof(float)
403 }, ReturnType = typeof(void))]
404 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Projectile), Member = "InheritSource", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(IEntitySource))]
405 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
406 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Projectile), Member = "NewProjectile", MemberParameters = new object[]
407 {
409 typeof(float),
410 typeof(float),
411 typeof(float),
412 typeof(float),
413 typeof(int),
414 typeof(int),
415 typeof(float),
416 typeof(int),
417 typeof(float),
418 typeof(float),
419 typeof(float)
420 }, ReturnType = typeof(int))]
421 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
422 private static int AddPortal(Projectile sourceProjectile, Vector2 position, float angle, int form, int direction)
423 {
424 throw null;
425 }
426
427 [global::Cpp2ILInjected.Token(Token = "0x600402D")]
428 [global::Cpp2ILInjected.Address(RVA = "0x753060", Offset = "0x753060", Length = "0xEC")]
429 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
430 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "AddPortal", MemberParameters = new object[]
431 {
434 typeof(float),
435 typeof(int),
436 typeof(int)
437 }, ReturnType = typeof(int))]
438 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
439 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
440 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FloatArray_3), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(float))]
441 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Projectile), Member = "Kill", ReturnType = typeof(void))]
442 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
443 private static void RemoveMyOldPortal(int form)
444 {
445 throw null;
446 }
447
448 [global::Cpp2ILInjected.Token(Token = "0x600402E")]
449 [global::Cpp2ILInjected.Address(RVA = "0x75314C", Offset = "0x75314C", Length = "0x2AC")]
450 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
451 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "AddPortal", MemberParameters = new object[]
452 {
455 typeof(float),
456 typeof(int),
457 typeof(int)
458 }, ReturnType = typeof(int))]
459 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
460 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "GetPortalEdges", MemberParameters = new object[]
461 {
463 typeof(float),
466 }, ReturnType = typeof(void))]
467 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Center", ReturnType = typeof(Vector2))]
468 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FloatArray_3), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(float))]
469 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "CheckLinevLine", MemberParameters = new object[]
470 {
475 }, ReturnType = typeof(Vector2[]))]
476 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
477 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_LogicClient", ReturnType = typeof(bool))]
478 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
479 {
480 typeof(int),
481 typeof(int),
482 typeof(int),
484 typeof(int),
485 typeof(float),
486 typeof(float),
487 typeof(float),
488 typeof(int),
489 typeof(int),
490 typeof(int)
491 }, ReturnType = typeof(void))]
492 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Projectile), Member = "Kill", ReturnType = typeof(void))]
493 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
494 private static void RemoveIntersectingPortals(Vector2 position, float angle)
495 {
496 throw null;
497 }
498
499 [global::Cpp2ILInjected.Token(Token = "0x600402F")]
500 [global::Cpp2ILInjected.Address(RVA = "0x7533F8", Offset = "0x7533F8", Length = "0x6C")]
501 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
502 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "TeleportEffect", MemberParameters = new object[]
503 {
505 typeof(int),
506 typeof(int),
507 typeof(float),
510 }, ReturnType = typeof(void))]
511 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "UpdateNPC_TeleportVisuals", ReturnType = typeof(void))]
512 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateTeleportVisuals", ReturnType = typeof(void))]
513 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
514 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "GetPortalColor", MemberParameters = new object[]
515 {
516 typeof(int),
517 typeof(int)
518 }, ReturnType = typeof(Color))]
519 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
520 public static Color GetPortalColor(int colorIndex)
521 {
522 throw null;
523 }
524
525 [global::Cpp2ILInjected.Token(Token = "0x6004030")]
526 [global::Cpp2ILInjected.Address(RVA = "0x753464", Offset = "0x753464", Length = "0x140")]
527 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
528 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProjDirect", MemberParameters = new object[]
529 {
531 typeof(int)
532 }, ReturnType = typeof(void))]
533 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
534 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_001", ReturnType = typeof(void))]
535 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Kill", ReturnType = typeof(void))]
536 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "GetAlpha", MemberParameters = new object[] { typeof(Color) }, ReturnType = typeof(Color))]
537 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "ExportTo", MemberParameters = new object[]
538 {
539 typeof(int),
540 typeof(int),
541 typeof(int),
542 typeof(int),
543 typeof(int),
544 typeof(int),
546 }, ReturnType = typeof(void))]
547 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "ApplyTileLight", MemberParameters = new object[]
548 {
549 typeof(Tile),
550 typeof(int),
551 typeof(int),
554 }, ReturnType = typeof(void))]
555 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "GetPortalColor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Color))]
556 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawTiles", MemberParameters = new object[]
557 {
560 typeof(int),
561 typeof(int),
562 typeof(int),
563 typeof(int),
564 typeof(bool),
565 typeof(bool),
566 typeof(bool),
567 typeof(int)
568 }, ReturnType = typeof(void))]
569 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
570 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "hslToRgb", MemberParameters = new object[]
571 {
572 typeof(float),
573 typeof(float),
574 typeof(float),
575 typeof(byte)
576 }, ReturnType = typeof(Color))]
577 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
578 public static Color GetPortalColor(int player, int portal)
579 {
580 throw null;
581 }
582
583 [global::Cpp2ILInjected.Token(Token = "0x6004031")]
584 [global::Cpp2ILInjected.Address(RVA = "0x751958", Offset = "0x751958", Length = "0x110")]
585 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "TryGoingThroughPortals", MemberParameters = new object[] { typeof(Entity) }, ReturnType = typeof(void))]
586 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "RemoveIntersectingPortals", MemberParameters = new object[]
587 {
589 typeof(float)
590 }, ReturnType = typeof(void))]
591 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
592 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToRotationVector2", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(Vector2))]
593 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
594 {
596 typeof(float)
597 }, ReturnType = typeof(Vector2))]
598 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
599 {
602 }, ReturnType = typeof(Vector2))]
603 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
604 private static void GetPortalEdges(Vector2 position, float angle, out Vector2 start, out Vector2 end)
605 {
606 throw null;
607 }
608
609 [global::Cpp2ILInjected.Token(Token = "0x6004032")]
610 [global::Cpp2ILInjected.Address(RVA = "0x751A68", Offset = "0x751A68", Length = "0x280")]
611 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
612 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "TryGoingThroughPortals", MemberParameters = new object[] { typeof(Entity) }, ReturnType = typeof(void))]
613 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
614 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MathHelper), Member = "WrapAngle", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(float))]
615 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
616 {
617 typeof(float),
618 typeof(float)
619 }, ReturnType = typeof(void))]
620 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
621 {
624 }, ReturnType = typeof(Vector2))]
625 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
627 {
628 throw null;
629 }
630
631 [global::Cpp2ILInjected.Token(Token = "0x6004033")]
632 [global::Cpp2ILInjected.Address(RVA = "0x7535A4", Offset = "0x7535A4", Length = "0x368")]
633 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
634 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
635 {
636 typeof(byte[]),
637 typeof(int),
638 typeof(ref int)
639 }, ReturnType = typeof(void))]
640 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
641 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>), Member = ".ctor", ReturnType = typeof(void))]
642 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Center", ReturnType = typeof(Vector2))]
643 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "GetSectionX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
644 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "GetSectionY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
645 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
646 {
647 typeof(int),
648 typeof(int)
649 }, ReturnType = typeof(void))]
650 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>), Member = "Contains", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(bool))]
651 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
653 {
654 throw null;
655 }
656
657 [global::Cpp2ILInjected.Token(Token = "0x6004034")]
658 [global::Cpp2ILInjected.Address(RVA = "0x75390C", Offset = "0x75390C", Length = "0xEC")]
659 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
660 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
661 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
662 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemoteClient), Member = "CheckSection", MemberParameters = new object[]
663 {
664 typeof(int),
666 typeof(int)
667 }, ReturnType = typeof(void))]
668 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
670 {
671 throw null;
672 }
673
674 [global::Cpp2ILInjected.Token(Token = "0x6004035")]
675 [global::Cpp2ILInjected.Address(RVA = "0x752B44", Offset = "0x752B44", Length = "0x51C")]
676 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
677 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
678 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "AddPortal", MemberParameters = new object[]
679 {
682 typeof(float),
683 typeof(int),
684 typeof(int)
685 }, ReturnType = typeof(int))]
686 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
687 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToTileCoordinates", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
688 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MathHelper), Member = "WrapAngle", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(float))]
689 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "SupportedSlope", MemberParameters = new object[]
690 {
691 typeof(int),
692 typeof(int),
693 typeof(int)
694 }, ReturnType = typeof(bool))]
695 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "SupportedNormal", MemberParameters = new object[]
696 {
697 typeof(int),
698 typeof(int)
699 }, ReturnType = typeof(bool))]
700 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "SupportedHalfbrick", MemberParameters = new object[]
701 {
702 typeof(int),
703 typeof(int)
704 }, ReturnType = typeof(bool))]
705 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
706 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(float), Member = "ToString", ReturnType = typeof(string))]
707 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
708 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "NewText", MemberParameters = new object[]
709 {
710 typeof(string),
711 typeof(byte),
712 typeof(byte),
713 typeof(byte)
714 }, ReturnType = typeof(void))]
715 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 33)]
717 {
718 throw null;
719 }
720
721 [global::Cpp2ILInjected.Token(Token = "0x6004036")]
722 [global::Cpp2ILInjected.Address(RVA = "0x7539F8", Offset = "0x7539F8", Length = "0x1AC")]
723 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
724 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "SupportedTilesAreFine", MemberParameters = new object[]
725 {
727 typeof(float)
728 }, ReturnType = typeof(bool))]
729 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
730 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
731 {
732 typeof(int),
733 typeof(int)
734 }, ReturnType = typeof(Tile))]
735 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "nactive", ReturnType = typeof(bool))]
736 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
737 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
738 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
739 private static bool SupportedSlope(int x, int y, int slope)
740 {
741 throw null;
742 }
743
744 [global::Cpp2ILInjected.Token(Token = "0x6004037")]
745 [global::Cpp2ILInjected.Address(RVA = "0x753D88", Offset = "0x753D88", Length = "0x19C")]
746 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
747 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "SupportedTilesAreFine", MemberParameters = new object[]
748 {
750 typeof(float)
751 }, ReturnType = typeof(bool))]
752 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
753 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
754 {
755 typeof(int),
756 typeof(int)
757 }, ReturnType = typeof(Tile))]
758 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "nactive", ReturnType = typeof(bool))]
759 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
760 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
761 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
762 private static bool SupportedHalfbrick(int x, int y)
763 {
764 throw null;
765 }
766
767 [global::Cpp2ILInjected.Token(Token = "0x6004038")]
768 [global::Cpp2ILInjected.Address(RVA = "0x753BA4", Offset = "0x753BA4", Length = "0x1E4")]
769 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
770 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "SupportedTilesAreFine", MemberParameters = new object[]
771 {
773 typeof(float)
774 }, ReturnType = typeof(bool))]
775 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
776 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
777 {
778 typeof(int),
779 typeof(int)
780 }, ReturnType = typeof(Tile))]
781 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "nactive", ReturnType = typeof(bool))]
782 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
783 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
784 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
785 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
786 private static bool SupportedNormal(int x, int y)
787 {
788 throw null;
789 }
790
791 [global::Cpp2ILInjected.Token(Token = "0x6004039")]
792 [global::Cpp2ILInjected.Address(RVA = "0x753F24", Offset = "0x753F24", Length = "0x8")]
793 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
794 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
796 {
797 throw null;
798 }
799
800 [global::Cpp2ILInjected.Token(Token = "0x4007E01")]
801 private static int[,] FoundPortals;
802
803 [global::Cpp2ILInjected.Token(Token = "0x4007E02")]
804 private static int[] PortalCooldownForPlayers;
805
806 [global::Cpp2ILInjected.Token(Token = "0x4007E03")]
807 private static int[] PortalCooldownForNPCs;
808
809 [global::Cpp2ILInjected.Token(Token = "0x4007E04")]
810 private static bool anyPortalAtAll;
811
812 [global::Cpp2ILInjected.Token(Token = "0x4007E05")]
813 public const int PORTALS_PER_PERSON = 2;
814
815 [global::Cpp2ILInjected.Token(Token = "0x4007E06")]
816 private static readonly Vector2[] EDGES;
817
818 [global::Cpp2ILInjected.Token(Token = "0x4007E07")]
819 private static readonly Vector2[] SLOPE_EDGES;
820
821 [global::Cpp2ILInjected.Token(Token = "0x4007E08")]
822 private static readonly Point[] SLOPE_OFFSETS;
823
825 [global::Cpp2ILInjected.Token(Token = "0x20007B2")]
826 private sealed class <>c__DisplayClass17_0
827 {
828 [global::Cpp2ILInjected.Token(Token = "0x600403A")]
829 [global::Cpp2ILInjected.Address(RVA = "0x76AFBC", Offset = "0x76AFBC", Length = "0x8")]
830 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "FindCollision", MemberParameters = new object[]
831 {
834 }, ReturnType = typeof(Vector2))]
835 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
836 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
838 {
839 throw null;
840 }
841
842 [global::Cpp2ILInjected.Token(Token = "0x600403B")]
843 [global::Cpp2ILInjected.Address(RVA = "0x76AFC4", Offset = "0x76AFC4", Length = "0x7C")]
844 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
845 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
846 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "SolidOrSlopedTile", MemberParameters = new object[]
847 {
848 typeof(int),
849 typeof(int)
850 }, ReturnType = typeof(bool))]
851 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
852 internal bool <FindCollision>b__0(int x, int y)
853 {
854 throw null;
855 }
856
857 [global::Cpp2ILInjected.Token(Token = "0x4007E09")]
858 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
859 public int lastX;
860
861 [global::Cpp2ILInjected.Token(Token = "0x4007E0A")]
862 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
863 public int lastY;
864 }
865 }
866}
class f__AnonymousType0<< Count > j__TPar
static void RemoveMyOldPortal(int form)
static readonly Point[] SLOPE_OFFSETS
static bool DoesTileTypeSupportPortals(ushort tileType)
static Color GetPortalColor(int player, int portal)
static Color GetPortalColor(int colorIndex)
static int AddPortal(Projectile sourceProjectile, Vector2 position, float angle, int form, int direction)
static bool SupportedHalfbrick(int x, int y)
static int TryPlacingPortal(Projectile theBolt, Vector2 velocity, Vector2 theCrashVelocity)
static bool CanPlacePortalOn(Tile t)
static bool SupportedSlope(int x, int y, int slope)
static void RemoveIntersectingPortals(Vector2 position, float angle)
static Vector2 GetPortalOutingPoint(Vector2 objectSize, Vector2 portalPosition, float portalAngle, out int bonusX, out int bonusY)
static Vector2 FindCollision(Vector2 startPosition, Vector2 stopPosition)
static readonly Vector2[] EDGES
static bool FindValidLine(Point position, int xOffset, int yOffset, out Point bestPosition)
static bool IsValidLine(Point position, int xOffset, int yOffset)
static void GetPortalEdges(Vector2 position, float angle, out Vector2 start, out Vector2 end)
static void SyncPortalSections(Vector2 portalPosition, int fluff)
static void TryGoingThroughPortals(Entity ent)
static void SyncPortalsOnPlayerJoin(int plr, int fluff, List< Point > dontInclude, out List< Point > portalSections)
static bool SupportedTilesAreFine(Vector2 portalCenter, float portalAngle)
static bool SupportedNormal(int x, int y)
static readonly Vector2[] SLOPE_EDGES
delegate bool TileActionAttempt(int x, int y)