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

◆ Commit()

void InControl.InputDevice.Commit ( ulong updateTick,
float deltaTime )
inlineinherited

Definition at line 1478 of file InputDevice.cs.

1479 {
1480 this.ProcessLeftStick(updateTick, deltaTime);
1481 this.ProcessRightStick(updateTick, deltaTime);
1482 this.ProcessDPad(updateTick, deltaTime);
1484 if (this.<Controls>k__BackingField != null)
1485 {
1486 }
1487 InputControl[] array = this.<ControlsByTarget>k__BackingField;
1488 long num = 0L;
1489 InputControl inputControl = this.cachedCommand;
1490 if (inputControl != null)
1491 {
1492 inputControl.Passive = num != 0L;
1493 return;
1494 }
1495 InputControl inputControl2;
1497 inputControl2.Passive = num != 0L;
1498 int num2;
1499 InputControl inputControl3;
1500 if (inputControl2 == null)
1501 {
1502 num2 = 300;
1504 }
1505 inputControl3.CommitWithState(num2 != 0, updateTick, deltaTime);
1506 int num3 = 1;
1507 if (this.<Controls>k__BackingField != null && num == 0L)
1508 {
1509 this.<LastInputTick>k__BackingField = updateTick;
1510 this.<IsActive>k__BackingField = num3 != 0;
1511 }
1512 }
class f__AnonymousType0<< Count > j__TPar
void ProcessLeftStick(ulong updateTick, float deltaTime)
void ProcessRightStick(ulong updateTick, float deltaTime)
string< Name > k__BackingField
ReadOnlyCollection< InputControl > Controls
void ProcessDPad(ulong updateTick, float deltaTime)
InputControl cachedCommand
InputControl[] ControlsByTarget

References System.array, InControl.InputDevice.cachedCommand, InControl.OneAxisInputControl.CommitWithState(), InControl.InputDevice.Controls, InControl.InputDevice.ControlsByTarget, InControl.InputDevice.IsActive, j__TPar, InControl.InputDevice.k__BackingField, InControl.L, InControl.InputDevice.LastInputTick, InControl.InputDevice.ProcessDPad(), InControl.InputDevice.ProcessLeftStick(), and InControl.InputDevice.ProcessRightStick().