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

◆ DrawToggleButton()

void Terraria.GameContent.Creative.CreativeUI.DrawToggleButton ( SpriteBatch spritebatch,
Vector2 location )
inlineprivate

Definition at line 163 of file CreativeUI.cs.

164 {
166 if (!true)
167 {
168 }
169 Vector2 vector = Utils.Size(buttonTexture);
170 if (!true)
171 {
172 }
173 if (this._buttonTexture == null)
174 {
175 }
176 if (!true)
177 {
178 }
179 if (!true)
180 {
181 }
182 Player localPlayer = Main.LocalPlayer;
183 Vector2 mouseScreen = Main.MouseScreen;
184 if (!true)
185 {
186 }
189 bool flag = this.<Enabled>k__BackingField;
190 if (!true)
191 {
192 }
193 if (this._buttonBorderTexture == null)
194 {
195 }
196 if (!true)
197 {
198 }
199 if (!true)
200 {
201 }
202 bool mouseLeft = Main.mouseLeft;
203 if (!true)
204 {
205 }
206 bool mouseLeftRelease = Main.mouseLeftRelease;
207 this.ToggleMenu();
208 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.GameContent.Creative.CreativeUI._buttonBorderTexture, Terraria.GameContent.Creative.CreativeUI._buttonTexture, Terraria.GameContent.Creative.CreativeUI.Enabled, j__TPar, Terraria.GameContent.Creative.CreativeUI.k__BackingField, Terraria.Main.LocalPlayer, Terraria.Main.mouseLeft, Terraria.Main.mouseLeftRelease, Terraria.Main.MouseScreen, Terraria.Utils.Size(), and Terraria.GameContent.Creative.CreativeUI.ToggleMenu().