terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
GamepadTranslator.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x200034B")]
9 internal class GamepadTranslator
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6001592")]
12 [global::Cpp2ILInjected.Address(RVA = "0xA9A538", Offset = "0xA9A538", Length = "0x1A8")]
13 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = ".ctor", ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Split", MemberParameters = new object[]
18 {
19 typeof(char),
21 }, ReturnType = typeof(string[]))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Convert), Member = "ToInt32", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = "Add", MemberParameters = new object[]
26 {
27 typeof(object),
28 typeof(object)
29 }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
31 public GamepadTranslator(string config)
32 {
33 throw null;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x6001593")]
37 [global::Cpp2ILInjected.Address(RVA = "0xA9A6E0", Offset = "0xA9A6E0", Length = "0xC4")]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GamepadTranslator), Member = "ButtonPressed", MemberParameters = new object[]
39 {
40 typeof(string),
42 }, ReturnType = typeof(bool))]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GamepadTranslator), Member = "AxisPressed", MemberParameters = new object[]
44 {
45 typeof(string),
46 typeof(JoystickState)
47 }, ReturnType = typeof(float))]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GamepadTranslator), Member = "DpadPressed", MemberParameters = new object[]
49 {
50 typeof(string),
51 typeof(JoystickState)
52 }, ReturnType = typeof(bool))]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GamepadTranslator), Member = "TriggerPressed", MemberParameters = new object[]
54 {
55 typeof(string),
56 typeof(JoystickState)
57 }, ReturnType = typeof(float))]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = "ContainsKey", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = "get_Item", MemberParameters = new object[] { typeof(object) }, ReturnType = "TValue")]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
63 public ButtonType Read(string button)
64 {
65 throw null;
66 }
67
68 [global::Cpp2ILInjected.Token(Token = "0x6001594")]
69 [global::Cpp2ILInjected.Address(RVA = "0xA9A7A4", Offset = "0xA9A7A4", Length = "0x68")]
70 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GamepadTranslator), Member = "Read", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ButtonType))]
73 public bool ButtonPressed(string button, JoystickState state)
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x6001595")]
79 [global::Cpp2ILInjected.Address(RVA = "0xA9A80C", Offset = "0xA9A80C", Length = "0x38")]
80 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GamepadTranslator), Member = "Read", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ButtonType))]
83 public float AxisPressed(string axis, JoystickState state)
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x6001596")]
89 [global::Cpp2ILInjected.Address(RVA = "0xA9A844", Offset = "0xA9A844", Length = "0xFC")]
90 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GamepadTranslator), Member = "Read", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ButtonType))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
94 {
95 typeof(string),
96 typeof(string)
97 }, ReturnType = typeof(bool))]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
99 public bool DpadPressed(string dpad, JoystickState state)
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x6001597")]
105 [global::Cpp2ILInjected.Address(RVA = "0xA9A940", Offset = "0xA9A940", Length = "0xCC")]
106 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
107 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GamepadTranslator), Member = "Read", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ButtonType))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
110 {
111 typeof(float),
112 typeof(float)
113 }, ReturnType = typeof(float))]
114 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
116 {
117 throw null;
118 }
119
120 [global::Cpp2ILInjected.Token(Token = "0x4002322")]
121 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
123 }
124}
class f__AnonymousType0<< Count > j__TPar
float AxisPressed(string axis, JoystickState state)
float TriggerPressed(string trigger, JoystickState state)
bool ButtonPressed(string button, JoystickState state)
bool DpadPressed(string dpad, JoystickState state)