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

◆ Define()

override void InControl.UnityDeviceProfiles.AppleMFiUnityProfile.Define ( )
inlinevirtual

Reimplemented from InControl.InputDeviceProfile.

Definition at line 11 of file AppleMFiUnityProfile.cs.

12 {
13 base.Define();
14 this.deviceName = "Apple MFi Controller";
15 this.deviceClass.value__ = (int)4E-45f;
16 this.deviceNotes = "Apple MFi Controller on iOS";
17 if (("iPhone" == null || "iPhone" != null) && ("iPad" == null || "iPad" != null))
18 {
19 base.LowerDeadZone = 4E-45f;
20 base.UpperDeadZone = 4E-45f;
21 if ("A" == null)
22 {
23 }
24 InputControlSource inputControlSource = InputDeviceProfile.Button(14);
25 InputControlSource inputControlSource2 = InputDeviceProfile.Button(13);
26 InputControlSource inputControlSource3 = InputDeviceProfile.Button(15);
27 InputControlSource inputControlSource4 = InputDeviceProfile.Button(12);
28 InputControlSource inputControlSource5 = InputDeviceProfile.Button(4);
29 InputControlSource inputControlSource6 = InputDeviceProfile.Button(int.MinValue);
30 if (-2147483648 == 0 || -2147483648 != 0)
31 {
32 InputControlSource inputControlSource7 = InputDeviceProfile.Button(7);
33 if (-2147483648 == 0 || -2147483648 != 0)
34 {
35 InputControlSource inputControlSource8 = InputDeviceProfile.Button(5);
36 if (-2147483648 == 0 || -2147483648 != 0)
37 {
38 InputControlSource inputControlSource9 = InputDeviceProfile.Button(8);
39 if (-2147483648 == 0 || -2147483648 != 0)
40 {
41 InputControlSource inputControlSource10 = InputDeviceProfile.Button(9);
42 if (-2147483648 == 0 || -2147483648 != 0)
43 {
44 InputControlSource inputControlSource11 = InputDeviceProfile.Button(0);
45 if (-2147483648 == 0 || -2147483648 != 0)
46 {
47 InputControlMapping inputControlMapping = InputDeviceProfile.LeftStickLeftMapping(0);
48 if (inputControlMapping == null || inputControlMapping != null)
49 {
50 InputControlMapping inputControlMapping2 = InputDeviceProfile.LeftStickRightMapping(0);
51 if (inputControlMapping2 == null || inputControlMapping2 != null)
52 {
53 InputControlMapping inputControlMapping3 = InputDeviceProfile.LeftStickUpMapping(1);
54 if (inputControlMapping3 == null || inputControlMapping3 != null)
55 {
56 InputControlMapping inputControlMapping4 = InputDeviceProfile.LeftStickDownMapping(1);
57 if (inputControlMapping4 == null || inputControlMapping4 != null)
58 {
59 InputControlMapping inputControlMapping5 = InputDeviceProfile.RightStickLeftMapping(2);
60 if (inputControlMapping5 == null || inputControlMapping5 != null)
61 {
62 InputControlMapping inputControlMapping6 = InputDeviceProfile.RightStickRightMapping(2);
63 if (inputControlMapping6 == null || inputControlMapping6 != null)
64 {
65 InputControlMapping inputControlMapping7 = InputDeviceProfile.RightStickUpMapping(3);
66 if (inputControlMapping7 == null || inputControlMapping7 != null)
67 {
68 InputControlMapping inputControlMapping8 = InputDeviceProfile.RightStickDownMapping(3);
69 if (inputControlMapping8 == null || inputControlMapping8 != null)
70 {
71 InputControlSource inputControlSource12 = InputDeviceProfile.Analog(10);
72 if (-2147483648 == 0 || -2147483648 != 0)
73 {
74 InputControlSource inputControlSource13 = InputDeviceProfile.Analog(11);
75 if (-2147483648 == 0 || -2147483648 != 0)
76 {
77 return;
78 }
79 }
80 }
81 }
82 }
83 }
84 }
85 }
86 }
87 }
88 }
89 }
90 }
91 }
92 }
93 }
94 }
96 }
class f__AnonymousType0<< Count > j__TPar

References InControl.InputDeviceProfile.Analog(), InControl.InputDeviceProfile.Button(), InControl.E, j__TPar, InControl.InputDeviceProfile.LeftStickDownMapping(), InControl.InputDeviceProfile.LeftStickLeftMapping(), InControl.InputDeviceProfile.LeftStickRightMapping(), InControl.InputDeviceProfile.LeftStickUpMapping(), InControl.InputDeviceProfile.RightStickDownMapping(), InControl.InputDeviceProfile.RightStickLeftMapping(), InControl.InputDeviceProfile.RightStickRightMapping(), and InControl.InputDeviceProfile.RightStickUpMapping().