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()

void GUIHousingMenu.Draw ( )
inline

Definition at line 206 of file GUIHousingMenu.cs.

207 {
209 int myPlayer = Main.myPlayer;
210 int myPlayer2 = Main.myPlayer;
212 this.RefreshNPCEntries();
213 bool npcOver = this._npcOver;
214 if (!npcOver)
215 {
216 this._lastNPCOVer = (npcOver ? 1 : 0);
217 }
218 this.over = (npcOver ? 1 : 0);
222 int itemCount = draggableItemGrid_Layout.ItemCount;
224 if (rectangle == null)
225 {
226 }
227 int mouseX = Main.mouseX;
228 int mouseY = Main.mouseY;
231 int size = activeNPCEntries._size;
232 if (activeNPCEntries == null)
233 {
234 }
236 if (guicontrollerHousing != null)
237 {
240 }
241 bool npcOver2 = this._npcOver;
242 if (npcOver2)
243 {
244 if (!npcOver2)
245 {
246 }
247 bool npcOver3 = this._npcOver;
248 int num;
249 this._lastNPCOVer = num;
250 if (npcOver3)
251 {
252 if (!npcOver3)
253 {
254 }
255 string text = this.npcString;
256 return;
257 }
258 }
259 else
260 {
261 bool npcOver3;
262 this._lastNPCOVer = (npcOver3 ? 1 : 0);
263 }
264 }
class f__AnonymousType0<< Count > j__TPar
List< int > _activeNPCEntries
void UpdateHotbarNavigation()
void RefreshNPCEntries()
static int myPlayer
Definition Main.cs:2337
static int mouseY
Definition Main.cs:601
static int mouseX
Definition Main.cs:587

References _activeNPCEntries, _npcOver, System.Collections.Generic.List< T >._size, GUIControllerDynamicGridNavigator.DisableScrollUntilChange(), PageControllerLayoutDefinition< T >.Instance, ItemGrid_Layout.ItemCount, j__TPar, Terraria.Main.mouseX, Terraria.Main.mouseY, Terraria.Main.myPlayer, npcString, RefreshNPCEntries(), System.text, and UpdateHotbarNavigation().