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

◆ Draw()

override void Terraria.GameContent.Skies.SolarSky.Draw ( SpriteBatch spriteBatch,
float minDepth,
float maxDepth )
inline

Definition at line 60 of file SolarSky.cs.

61 {
62 int num = 1;
63 if (num == 0)
64 {
65 }
66 int screenWidth = Main.screenWidth;
67 int screenHeight = Main.screenHeight;
68 if (num == 0)
69 {
70 }
71 long num2 = 0L;
72 Vector2 screenPosition = Main.screenPosition;
73 int num3 = 32768;
74 int num4 = Math.Max(0, (int)num2);
75 int screenWidth2 = Main.screenWidth;
76 int screenHeight2 = Main.screenHeight;
77 Vector2 screenPosition2 = Main.screenPosition;
78 float num5 = Math.Min(minDepth, maxDepth);
79 float num6 = Math.Max(num5, num5);
80 int screenWidth3 = Main.screenWidth;
81 int screenHeight3 = Main.screenHeight;
82 Vector2 screenPosition3 = Main.screenPosition;
84 Color color = color2 * num6;
85 if (num3 == 0)
86 {
87 }
88 }
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

References j__TPar, System.L, System.Math.Max(), System.Math.Min(), Terraria.Main.screenHeight, Terraria.Main.screenPosition, and Terraria.Main.screenWidth.