Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ HandleItemSlotLogic()

void Terraria.GameContent.UI.Elements.UIItemSlot.HandleItemSlotLogic ( )
inlineprivate

Definition at line 24 of file UIItemSlot.cs.

25 {
26 if (base.IsMouseHovering)
27 {
28 Main.LocalPlayer.mouseInterface = true;
35 }
36 }
static void OverrideHover(ref Item inv, int context=0)
Definition ItemSlot.cs:322
static void RightClick(ref Item inv, int context=0)
Definition ItemSlot.cs:1313
static void LeftClick(ref Item inv, int context=0)
Definition ItemSlot.cs:630
static void MouseHover(int context=0)
Definition ItemSlot.cs:2445

References Terraria.GameContent.UI.Elements.UIItemSlot._itemArray, Terraria.GameContent.UI.Elements.UIItemSlot._itemIndex, Terraria.GameContent.UI.Elements.UIItemSlot._itemSlotContext, Terraria.UI.ItemSlot.LeftClick(), Terraria.UI.ItemSlot.MouseHover(), Terraria.UI.ItemSlot.OverrideHover(), and Terraria.UI.ItemSlot.RightClick().

Referenced by Terraria.GameContent.UI.Elements.UIItemSlot.DrawSelf().