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

◆ CraftButtonOver()

void GUICrafting.CraftButtonOver ( GUITransactionButton::InputState state)
inline

Definition at line 283 of file GUICrafting.cs.

284 {
285 if (!true)
286 {
287 }
288 int focusRecipe = Main.focusRecipe;
290 if (this.Filter.Expanded)
291 {
293 }
295 {
296 int type = Main.mouseItem.type;
297 if (type != 0)
298 {
299 if (type == 0)
300 {
301 }
303 if (stack != 0)
304 {
305 if (stack == 0)
306 {
307 }
308 Item mouseItem = Main.mouseItem;
309 int[] availableRecipe = Main.availableRecipe;
310 }
311 }
312 }
313 int type2 = Main.mouseItem.type;
314 int maxStack;
315 if (type2 != 0)
316 {
317 if (type2 == 0)
318 {
319 }
324 maxStack = Main.mouseItem.maxStack;
325 int num = this.multiCraftRecipe;
326 if (maxStack == 0)
327 {
328 }
330 }
331 if (maxStack == 0)
332 {
333 }
334 int myPlayer = Main.myPlayer;
335 }
class f__AnonymousType0<< Count > j__TPar
int multiCraftRecipe
GUIItemFilter Filter
int maxStack
Definition Item.cs:2225
static int myPlayer
Definition Main.cs:2337
static int focusRecipe
Definition Main.cs:2323
static Item mouseItem
Definition Main.cs:2155
static int[] availableRecipe
Definition Main.cs:2281

References Controller.ControllerActionManager.AnyControllerConnected, Terraria.Main.availableRecipe, GUIItemFilter.Expanded, Filter, Terraria.Main.focusRecipe, j__TPar, Terraria.Item.maxStack, Terraria.Main.mouseItem, multiCraftRecipe, Terraria.Main.myPlayer, System.stack, Terraria.Item.stack, System.state, and Terraria.Item.type.