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
CustomInputDeviceProfile.cs
Go to the documentation of this file.
1using System;
7using UnityEngine;
8
10{
12 [global::Cpp2ILInjected.Token(Token = "0x20000B9")]
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x60005FB")]
16 [global::Cpp2ILInjected.Address(RVA = "0x19E0BC0", Offset = "0x19E0BC0", Length = "0xA4")]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityInputDeviceManager), Member = "DetectJoystickDevice", MemberParameters = new object[]
18 {
19 typeof(int),
20 typeof(string)
21 }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InputDeviceProfile), Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x60005FC")]
31 [global::Cpp2ILInjected.Address(RVA = "0x19E0C64", Offset = "0x19E0C64", Length = "0x60")]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomInputDeviceProfile), Member = "Load", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(CustomInputDeviceProfile))]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InputDeviceProfile), Member = ".ctor", ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
37 {
38 throw null;
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x60005FD")]
42 [global::Cpp2ILInjected.Address(RVA = "0x19E0CC4", Offset = "0x19E0CC4", Length = "0x488")]
43 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomInputDeviceProfile), Member = "SaveToFile", ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JsonSerializerSettings), Member = ".ctor", ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JsonSerializerSettings), Member = "set_TypeNameHandling", MemberParameters = new object[] { typeof(TypeNameHandling) }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JsonSerializerSettings), Member = "set_MetadataPropertyHandling", MemberParameters = new object[] { typeof(MetadataPropertyHandling) }, ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringEnumConverter), Member = ".ctor", ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JsonConvert), Member = "SerializeObject", MemberParameters = new object[]
51 {
52 typeof(object),
55 }, ReturnType = typeof(string))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Regex), Member = "Replace", MemberParameters = new object[]
57 {
58 typeof(string),
59 typeof(string),
60 typeof(string)
61 }, ReturnType = typeof(string))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "Log", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 38)]
64 public string Save()
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x60005FE")]
70 [global::Cpp2ILInjected.Address(RVA = "0x19E114C", Offset = "0x19E114C", Length = "0x1B8")]
71 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityInputDeviceManager), Member = "LoadDeviceProfile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomInputDeviceProfile), Member = "LoadFromFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(CustomInputDeviceProfile))]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JsonSerializerSettings), Member = ".ctor", ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JsonSerializerSettings), Member = "set_TypeNameHandling", MemberParameters = new object[] { typeof(TypeNameHandling) }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JsonSerializerSettings), Member = "set_MetadataPropertyHandling", MemberParameters = new object[] { typeof(MetadataPropertyHandling) }, ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringEnumConverter), Member = ".ctor", ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomInputDeviceProfile), Member = ".ctor", ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JsonConvert), Member = "PopulateObject", MemberParameters = new object[]
81 {
82 typeof(string),
83 typeof(object),
85 }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
87 public static CustomInputDeviceProfile Load(string data)
88 {
89 throw null;
90 }
91
92 [global::Cpp2ILInjected.Token(Token = "0x60005FF")]
93 [global::Cpp2ILInjected.Address(RVA = "0x19E1304", Offset = "0x19E1304", Length = "0xBC")]
94 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "GUIControllerHardwareProfile", Member = "UpdateAndSaveCurrentProfile", ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityInputDeviceManager), Member = "DetectJoystickDevice", MemberParameters = new object[]
96 {
97 typeof(int),
98 typeof(string)
99 }, ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomInputDeviceProfile), Member = "Save", ReturnType = typeof(string))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnityInputDeviceManager), Member = "get_CustomProfileFolder", ReturnType = typeof(string))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
104 {
105 typeof(string),
106 typeof(string),
107 typeof(string),
108 typeof(string)
109 }, ReturnType = typeof(string))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utility), Member = "WriteToFile", MemberParameters = new object[]
111 {
112 typeof(string),
113 typeof(string)
114 }, ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
116 public void SaveToFile()
117 {
118 throw null;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x6000600")]
122 [global::Cpp2ILInjected.Address(RVA = "0x19E13C0", Offset = "0x19E13C0", Length = "0x5C")]
123 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityInputDeviceManager), Member = "LoadDeviceProfileFromFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnityInputDeviceManager), Member = "LoadDeviceProfilesFromPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utility), Member = "ReadFromFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomInputDeviceProfile), Member = "Load", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(CustomInputDeviceProfile))]
128 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
130 {
131 throw null;
132 }
133
134 [JsonProperty]
135 [global::Cpp2ILInjected.Token(Token = "0x4000411")]
136 [global::Cpp2ILInjected.FieldOffset(Offset = "0x98")]
137 public bool Configured;
138
139 [JsonProperty]
140 [global::Cpp2ILInjected.Token(Token = "0x4000412")]
141 [global::Cpp2ILInjected.FieldOffset(Offset = "0x9C")]
142 public int ForcedScheme;
143 }
144}
class f__AnonymousType0<< Count > j__TPar
static CustomInputDeviceProfile Load(string data)
static CustomInputDeviceProfile LoadFromFile(string filePath)