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

◆ UpdateLeftStickWithRawValue()

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

Definition at line 509 of file InputDevice.cs.

510 {
511 if (this.cachedLeftStickLeft == null)
512 {
513 InputControl control = this.GetControl(InputControlType.LeftStickLeft);
514 this.cachedLeftStickLeft = control;
515 }
516 if (this.cachedLeftStickRight == null)
517 {
518 InputControl control2 = this.GetControl(InputControlType.LeftStickRight);
520 }
521 if (!true)
522 {
523 }
524 if (!true)
525 {
526 }
527 if (this.cachedLeftStickUp != null)
528 {
529 if (this.cachedLeftStickDown == null)
530 {
531 InputControl control3 = this.GetControl(InputControlType.LeftStickDown);
533 return;
534 }
535 }
536 else
537 {
538 InputControl control4 = this.GetControl(InputControlType.LeftStickUp);
540 if (this.cachedLeftStickDown == null)
541 {
542 InputControl control5 = this.GetControl(InputControlType.LeftStickDown);
544 }
545 }
546 }
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.InputDevice.GetControl(), and j__TPar.

Referenced by InControl.TouchControl.SubmitRawAnalogValue().