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()

static void GUIProgressBar.Draw ( ProgressBar_Layout layout,
float value )
inlinestatic

Definition at line 9 of file GUIProgressBar.cs.

10 {
12 Vector2 location = layout.Location;
13 float x = layout.Location.X;
14 float y = layout.Location.Y;
15 if (!true)
16 {
17 }
18 float x2 = layout.FillingLocation.X;
19 float y2 = layout.FillingLocation.Y;
20 float backingScale = layout.BackingScale;
21 if (!true)
22 {
23 }
24 float x3 = layout.FillingSize.X;
25 float y3 = layout.FillingSize.Y;
26 float backingScale2 = layout.BackingScale;
27 Texture2D texture = layout.Backing.Texture;
28 int width = texture.Width;
29 int height = texture.Height;
30 float backingScale3 = layout.BackingScale;
31 Color fillingColor = layout.FillingColor;
32 if (32768 == 0)
33 {
34 }
35 Color fillingColorEmpty = layout.FillingColorEmpty;
36 int width2 = texture.Width;
37 int arraySize = texture.ArraySize;
38 float backingScale4 = layout.BackingScale;
39 }
class f__AnonymousType0<< Count > j__TPar

References Microsoft.Xna.Framework.Graphics.Texture2D.ArraySize, Microsoft.Xna.Framework.Graphics.Texture2D.Height, j__TPar, and Microsoft.Xna.Framework.Graphics.Texture2D.Width.