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

◆ CommandWasPressed

bool InControl.InputDevice.CommandWasPressed
getinherited

Definition at line 1689 of file InputDevice.cs.

1690 {
1691 get
1692 {
1693 InputControl control;
1694 if (this.cachedCommand == null)
1695 {
1696 control = this.GetControl(InputControlType.Command);
1697 this.cachedCommand = control;
1698 }
1699 if (control.enabled && control.ownerEnabled)
1700 {
1701 InputControlState thisState = control.thisState;
1702 return;
1703 }
1704 }
1705 }
class f__AnonymousType0<< Count > j__TPar
InputControl GetControl(InputControlType controlType)
InputControl cachedCommand