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

◆ CommitRightStick()

void InControl.InputDevice.CommitRightStick ( )
inlineinherited

Definition at line 662 of file InputDevice.cs.

663 {
664 InputControl control;
665 if (this.cachedRightStickUp == null)
666 {
667 control = this.GetControl(InputControlType.RightStickUp);
668 this.cachedRightStickUp = control;
669 }
670 control.Commit();
671 InputControl control2;
672 if (this.cachedRightStickDown == null)
673 {
674 control2 = this.GetControl(InputControlType.RightStickDown);
676 }
677 control2.Commit();
678 InputControl control3;
679 if (this.cachedRightStickLeft == null)
680 {
681 control3 = this.GetControl(InputControlType.RightStickLeft);
683 }
684 control3.Commit();
685 InputControl control4;
686 if (this.cachedRightStickRight == null)
687 {
688 control4 = this.GetControl(InputControlType.RightStickRight);
690 }
691 control4.Commit();
692 }
class f__AnonymousType0<< Count > j__TPar
InputControl GetControl(InputControlType controlType)
InputControl cachedRightStickRight
InputControl cachedRightStickLeft
InputControl cachedRightStickUp
InputControl cachedRightStickDown

References InControl.InputDevice.cachedRightStickDown, InControl.InputDevice.cachedRightStickLeft, InControl.InputDevice.cachedRightStickRight, InControl.InputDevice.cachedRightStickUp, InControl.OneAxisInputControl.Commit(), InControl.InputDevice.GetControl(), and j__TPar.

Referenced by InControl.TouchControl.CommitAnalog().