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

◆ ItemDraw()

void GUIChest.ItemDraw ( ItemGrid_Layout gridLayout,
int index,
Microsoft::Xna::Framework::Vector2 position,
float scale )
inline

Definition at line 188 of file GUIChest.cs.

189 {
190 if (!true)
191 {
192 }
193 int myPlayer = Main.myPlayer;
194 if (this.dummySlots == null)
195 {
196 Item[] array = this.dummySlots;
197 return;
198 }
199 int num = this.cursorOver;
200 if (!true)
201 {
202 }
203 if (this.itemOver == 0)
204 {
205 }
208 ItemSlot.SetSelectHighlight(true, scale);
209 }
class f__AnonymousType0<< Count > j__TPar
Item[] dummySlots
Definition GUIChest.cs:282
int itemOver
Definition GUIChest.cs:234
int cursorOver
Definition GUIChest.cs:240
static int myPlayer
Definition Main.cs:2337
static void SetSelectHighlight(bool hasFocus, float highlightScale=-1f)
Definition ItemSlot.cs:702
static bool ControllerModeLocked

References System.array, XNAUnityRunner.ControllerModeLocked, cursorOver, dummySlots, PageControllerLayoutDefinition< T >.Instance, itemOver, j__TPar, Terraria.Main.myPlayer, and Terraria.UI.ItemSlot.SetSelectHighlight().