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

◆ UpdateRightStickWithRawValue()

void InControl.InputDevice.UpdateRightStickWithRawValue ( Vector2 value,
ulong updateTick,
float deltaTime )
inlineinherited

Definition at line 622 of file InputDevice.cs.

623 {
624 if (this.cachedRightStickLeft == null)
625 {
626 InputControl control = this.GetControl(InputControlType.RightStickLeft);
628 }
629 if (this.cachedRightStickRight == null)
630 {
631 InputControl control2 = this.GetControl(InputControlType.RightStickRight);
633 }
634 if (!true)
635 {
636 }
637 if (!true)
638 {
639 }
640 if (this.cachedRightStickUp != null)
641 {
642 if (this.cachedRightStickDown == null)
643 {
644 InputControl control3 = this.GetControl(InputControlType.RightStickDown);
646 return;
647 }
648 }
649 else
650 {
651 InputControl control4 = this.GetControl(InputControlType.RightStickUp);
653 if (this.cachedRightStickDown == null)
654 {
655 InputControl control5 = this.GetControl(InputControlType.RightStickDown);
657 }
658 }
659 }
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.InputDevice.GetControl(), and j__TPar.

Referenced by InControl.TouchControl.SubmitRawAnalogValue().