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

◆ ItemOver()

void GUICoins.ItemOver ( int index)
inline

Definition at line 55 of file GUICoins.cs.

56 {
57 int myPlayer = Main.myPlayer;
63 global::Cursor cursor;
64 if (cursor != null)
65 {
66 return;
67 }
68 long num = 0L;
69 global::Cursor cursor2;
70 if (cursor2 != null)
71 {
72 return;
73 }
75 if (this.rightClickHeld)
76 {
77 int num2 = this.lastItemClicked;
78 int num3 = this.lastItemClicked;
79 if (num3 == 0)
80 {
81 }
82 bool mouseLeft = Main.mouseLeft;
83 int type;
84 if (num3 != 0)
85 {
86 if (num3 == 0)
87 {
88 }
89 if (Main.mouseItem != null)
90 {
91 if (num3 == 0)
92 {
93 }
94 type = Main.mouseItem.type;
95 if (type != 0)
96 {
97 }
98 }
99 }
100 if (type == 0)
101 {
102 }
104 int myPlayer7 = Main.myPlayer;
105 bool mouseRight = Main.mouseRight;
106 int myPlayer8 = Main.myPlayer;
107 return;
108 }
109 if (num == 0L)
110 {
111 float num4 = this.doubleClickTimer;
112 int num5 = this.lastItemClicked;
114 }
115 int myPlayer9 = Main.myPlayer;
118 Recipe.FindRecipes(false);
120 if (guicontrollerCoins != null)
121 {
123 return;
124 }
125 }
class f__AnonymousType0<< Count > j__TPar
float doubleClickTimer
Definition GUICoins.cs:254
int lastItemClicked
Definition GUICoins.cs:251
bool rightClickHeld
Definition GUICoins.cs:257
bool IsAir
Definition Item.cs:1820
static int myPlayer
Definition Main.cs:2337
static bool mouseRight
Definition Main.cs:685
static Item mouseItem
Definition Main.cs:2155
static bool mouseLeft
Definition Main.cs:671
static void FindRecipes(bool canDelayCheck=false)
Definition Recipe.cs:204

References doubleClickTimer, Terraria.Recipe.FindRecipes(), System.index, Terraria.Item.IsAir, j__TPar, Microsoft.Xna.Framework.Input.L, lastItemClicked, Terraria.Main.mouseItem, Terraria.Main.mouseLeft, Terraria.Main.mouseRight, Terraria.Main.myPlayer, rightClickHeld, and Terraria.Item.type.

Referenced by ItemDraw().