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

◆ ControlInUse

bool Terraria.UI.ItemSlot.ControlInUse
staticget

Definition at line 56 of file ItemSlot.cs.

57 {
58 get
59 {
60 global::Cursor cursor;
61 if (cursor != null)
62 {
63 bool key = KeyboardInput.GetKey(KeyCode.LeftControl);
64 return true;
65 }
66 return KeyboardInput.GetKey(KeyCode.RightControl);
67 }
68 }
class f__AnonymousType0<< Count > j__TPar
static bool GetKey(KeyCode keycode)

Referenced by Terraria.UI.ItemSlot.LeftClick_SellOrTrash(), and Terraria.UI.ItemSlot.OverrideHover().