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

◆ Perform()

override bool Terraria.GameContent.Generation.ShapeRunner.Perform ( Point origin,
GenAction action )
inline

Definition at line 20 of file ShapeRunner.cs.

21 {
22 int num = 1;
23 int steps = this._steps;
24 double startStrength = this._startStrength;
25 double x = this._startVelocity.X;
26 if (num == 0)
27 {
28 }
29 int num2 = 1;
30 if (num2 == 0)
31 {
32 }
33 int value = num2.m_value;
35 long num3 = 0L;
36 double x2 = this._startVelocity.X;
37 double startStrength2 = this._startStrength;
38 int num4 = Math.Max(1, (int)num3);
39 int num5 = Math.Max(1, (int)num3);
40 if (!true)
41 {
42 }
43 int num6 = Math.Min(int.MinValue, (int)num3);
44 int num7 = 1;
45 if (num7 == 0)
46 {
47 }
48 int num8 = Math.Min(int.MinValue, (int)num3);
49 if (num7 == 0)
50 {
51 }
53 int num9 = 11;
54 int num10 = random2.Next((int)num3, num9);
55 if (num7 == 0)
56 {
57 }
58 long num11 = 16457L;
59 if (num11 == 0L)
60 {
61 }
62 if (num11 == 0L)
63 {
64 }
66 if (num6 != 0)
67 {
68 }
69 Vector2D vector2D2 = Utils.RandomVector2D(GenBase._random, x2, startStrength);
70 if (!true)
71 {
72 }
73 if (!true)
74 {
75 return;
76 }
77 }
class f__AnonymousType0<< Count > j__TPar
static byte Min(byte val1, byte val2)
Definition Math.cs:152
static byte Max(byte val1, byte val2)
Definition Math.cs:111
static UnifiedRandom _random
Definition GenBase.cs:13

References Terraria.WorldBuilding.GenBase._random, Terraria.GameContent.Generation.ShapeRunner._startStrength, Terraria.GameContent.Generation.ShapeRunner._startVelocity, Terraria.GameContent.Generation.ShapeRunner._steps, j__TPar, System.L, System.Math.Max(), System.Math.Min(), Terraria.Utilities.UnifiedRandom.Next(), Terraria.Utils.RandomVector2D(), System.value, and ReLogic.Utilities.Vector2D.X.