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 GUIPanel.Draw ( Panel_Layout layout,
bool cursorOver = false,
[Optional] Color? overloadBacking,
[Optional] Color? overloadBorder,
[Optional] Color? overloadHighlight )
inlinestatic

Definition at line 78 of file GUIPanel.cs.

79 {
81 Vector2 location = layout.Location;
82 float x = layout.Location.X;
83 float y = layout.Location.Y;
84 if (!true)
85 {
86 }
87 bool anchorForSize = layout.AnchorForSize;
88 if (anchorForSize)
89 {
91 Vector2 sizeLocation = layout.SizeLocation;
92 float x2 = layout.SizeLocation.X;
93 float y2 = layout.SizeLocation.Y;
94 if (!anchorForSize)
95 {
96 }
97 if (!anchorForSize)
98 {
99 }
100 return;
101 }
102 float x3 = layout.Size.X;
103 float y3 = layout.Size.Y;
104 if (!anchorForSize)
105 {
106 }
107 Texture2D texture = layout.Backing.Texture;
108 Texture_Layout border = layout.Border;
109 Texture2D texture2 = border.Texture;
110 if (texture != null)
111 {
112 return;
113 }
114 if (texture2 != null)
115 {
116 if (border != null)
117 {
118 return;
119 }
120 Color borderColor = layout.BorderColor;
121 }
122 if (layout.CursorHighlight.Texture != null)
123 {
124 if (border != null)
125 {
126 return;
127 }
128 Color highlightColor = layout.HighlightColor;
129 }
130 }
class f__AnonymousType0<< Count > j__TPar
Texture2D Texture

References j__TPar, and Texture_Layout.Texture.