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.GameCubeWindowsUnityProfile.Define ( )
inlinevirtual

Reimplemented from InControl.InputDeviceProfile.

Definition at line 11 of file GameCubeWindowsUnityProfile.cs.

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

References InControl.InputDeviceProfile.Button(), 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().