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

◆ SpawnReturnPortalDust()

void Terraria.GameContent.PotionOfReturnGateHelper.SpawnReturnPortalDust ( )
inline

Definition at line 36 of file PotionOfReturnGateHelper.cs.

37 {
39 if (!true)
40 {
41 }
42 Vector2 vector;
43 if (gateType != PotionOfReturnGateHelper.GateType.EntryPoint)
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 {
68 if (gateType2 == PotionOfReturnGateHelper.GateType.EntryPoint)
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 }
class f__AnonymousType0<< Count > j__TPar
PotionOfReturnGateHelper(PotionOfReturnGateHelper.GateType gateType, Vector2 worldPosition, float opacity)
readonly PotionOfReturnGateHelper.GateType _gateType

References Terraria.GameContent.PotionOfReturnGateHelper._gateType, Terraria.GameContent.PotionOfReturnGateHelper._position, j__TPar, Terraria.Dust.position, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.

Referenced by Terraria.GameContent.PotionOfReturnGateHelper.Update().