terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
PotionOfReturnGateHelper.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x0200080C RID: 2060
11 {
12 // Token: 0x060041E1 RID: 16865 RVA: 0x00248E58 File Offset: 0x00247058
14 {
15 int num = 1;
17 if (num == 0)
18 {
19 Vector2 position = this._position;
20 }
21 int num2 = 16928;
23 }
24
25 // Token: 0x060041E2 RID: 16866 RVA: 0x00248E88 File Offset: 0x00247088
26 public void Update()
27 {
28 Vector2 position = this._position;
29 if (!true)
30 {
31 }
33 }
34
35 // Token: 0x060041E3 RID: 16867 RVA: 0x00248EA8 File Offset: 0x002470A8
37 {
39 if (!true)
40 {
41 }
42 Vector2 vector;
44 {
45 int num;
46 if (num == 0)
47 {
48 if (!true)
49 {
50 }
51 if (!true)
52 {
53 }
54 Vector2 position = this._position;
55 Dust dust;
56 dust.noGravity = true;
58 dust.fadeIn = (float)16128;
60 float x = dust.position.X;
61 float y = dust.position.Y;
62 return;
63 }
64 }
65 else if (vector == null)
66 {
69 {
70 }
71 if (!true)
72 {
73 }
74 int num2;
75 if (num2 != 0)
76 {
78 Dust dust2;
79 dust2.noGravity = true;
80 dust2.noLight = true;
82 return;
83 }
85 Dust dust3;
86 dust3.noGravity = true;
89 dust3.fadeIn = (float)16128;
91 float x2 = dust3.position.X;
92 float y2 = dust3.position.Y;
93 float x3 = dust3.velocity.X;
94 float y3 = dust3.velocity.Y;
95 }
96 }
97
98 // Token: 0x060041E4 RID: 16868 RVA: 0x000021DB File Offset: 0x000003DB
100 {
101 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
102 }
103
104 // Token: 0x040080A7 RID: 32935
106
107 // Token: 0x040080A8 RID: 32936
108 private readonly float _opacity;
109
110 // Token: 0x040080A9 RID: 32937
112
113 // Token: 0x040080AA RID: 32938
115
116 // Token: 0x0200080D RID: 2061
117 public enum GateType
118 {
119 // Token: 0x040080AC RID: 32940
121 // Token: 0x040080AD RID: 32941
123 }
124 }
125}
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Dust.cs:438
void DrawToDrawData(List< DrawData > drawDataList, int selectionMode)
PotionOfReturnGateHelper(PotionOfReturnGateHelper.GateType gateType, Vector2 worldPosition, float opacity)
readonly PotionOfReturnGateHelper.GateType _gateType