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

◆ NPCOver()

void GUIHousingMenu.NPCOver ( int index)
inline

Definition at line 110 of file GUIHousingMenu.cs.

111 {
112 int num = 1;
114 if (num == 0)
115 {
116 }
118 if (index == 0)
119 {
120 bool mouseLeft = Main.mouseLeft;
121 if (Main.mouseItem.type == 0)
122 {
124 if (guicontrollerHousing != null)
125 {
126 long num2 = 0L;
129 }
130 if (this._lastNPCOVer != 0)
131 {
132 return;
133 }
134 }
135 if (Main.mouseItem.type == 0)
136 {
137 int num3 = 1;
138 this._npcOver = num3 != 0;
139 }
140 return;
141 }
143 if (num == 0)
144 {
145 }
147 string text;
150 if (Main.mouseItem.type == 0)
151 {
154 if (guicontrollerHousing2 != null)
155 {
158 }
159 bool mouseLeftRelease = Main.mouseLeftRelease;
160 int lastNPCOVer = this._lastNPCOVer;
163 object syncRoot = this._activeNPCEntries._syncRoot;
164 Main.mouseLeftRelease = false;
165 return;
166 }
167 string text2 = this.npcString;
168 }
class f__AnonymousType0<< Count > j__TPar
List< int > _activeNPCEntries
static bool mouseLeftRelease
Definition Main.cs:2029
static Item mouseItem
Definition Main.cs:2155
static bool mouseLeft
Definition Main.cs:671
static void UpdateTooltipContext(int context, int slot)
Definition ItemSlot.cs:972

References _activeNPCEntries, _lastNPCOVer, System.Collections.Generic.List< T >._syncRoot, GUIControllerDynamicGridNavigator.Activate(), System.index, j__TPar, System.L, Terraria.Main.mouseItem, Terraria.Main.mouseLeft, Terraria.Main.mouseLeftRelease, npcString, System.text, Terraria.Item.type, and Terraria.UI.ItemSlot.UpdateTooltipContext().