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

◆ DetachDevice()

static void InControl.InputManager.DetachDevice ( InputDevice inputDevice)
inlinestatic

Definition at line 860 of file InputManager.cs.

861 {
862 if (!true)
863 {
864 }
865 if (!true)
866 {
867 }
868 bool <IsAttached>k__BackingField = inputDevice.<IsAttached>k__BackingField;
869 if (<IsAttached>k__BackingField)
870 {
871 if (!<IsAttached>k__BackingField)
872 {
873 }
874 InputDevice inputDevice2 = InputManager.ActiveDevice;
875 inputDevice.OnDetached();
876 if (!<IsAttached>k__BackingField)
877 {
878 }
879 return;
880 }
881 }
class f__AnonymousType0<< Count > j__TPar
static bool< CommandWasPressed > k__BackingField

References InControl.InputManager.ActiveDevice, j__TPar, InControl.InputManager.k__BackingField, and InControl.InputDevice.OnDetached().

Referenced by VirtualDeviceExample.VirtualDeviceExample.OnDisable().