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

◆ CommitLeftStick()

void InControl.InputDevice.CommitLeftStick ( )
inlineinherited

Definition at line 549 of file InputDevice.cs.

550 {
551 InputControl control;
552 if (this.cachedLeftStickUp == null)
553 {
554 control = this.GetControl(InputControlType.LeftStickUp);
555 this.cachedLeftStickUp = control;
556 }
557 control.Commit();
558 InputControl control2;
559 if (this.cachedLeftStickDown == null)
560 {
561 control2 = this.GetControl(InputControlType.LeftStickDown);
563 }
564 control2.Commit();
565 InputControl control3;
566 if (this.cachedLeftStickLeft == null)
567 {
568 control3 = this.GetControl(InputControlType.LeftStickLeft);
570 }
571 control3.Commit();
572 InputControl control4;
573 if (this.cachedLeftStickRight == null)
574 {
575 control4 = this.GetControl(InputControlType.LeftStickRight);
577 }
578 control4.Commit();
579 }
class f__AnonymousType0<< Count > j__TPar
InputControl cachedLeftStickDown
InputControl cachedLeftStickRight
InputControl GetControl(InputControlType controlType)
InputControl cachedLeftStickUp
InputControl cachedLeftStickLeft

References InControl.InputDevice.cachedLeftStickDown, InControl.InputDevice.cachedLeftStickLeft, InControl.InputDevice.cachedLeftStickRight, InControl.InputDevice.cachedLeftStickUp, InControl.OneAxisInputControl.Commit(), InControl.InputDevice.GetControl(), and j__TPar.

Referenced by InControl.TouchControl.CommitAnalog().