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

◆ CommandIsPressed

bool InControl.InputDevice.CommandIsPressed
getinherited

Definition at line 1669 of file InputDevice.cs.

1670 {
1671 get
1672 {
1673 InputControl control;
1674 if (this.cachedCommand == null)
1675 {
1676 control = this.GetControl(InputControlType.Command);
1677 this.cachedCommand = control;
1678 }
1679 if (control.enabled && control.ownerEnabled)
1680 {
1681 InputControlState thisState = control.thisState;
1682 return;
1683 }
1684 }
1685 }
class f__AnonymousType0<< Count > j__TPar
InputControl GetControl(InputControlType controlType)
InputControl cachedCommand