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
CustomInputDeviceProfile.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x020000B9 RID: 185
10 {
11 // Token: 0x060005FB RID: 1531 RVA: 0x000174B8 File Offset: 0x000156B8
13 {
14 if (2 == 0)
15 {
16 }
17 base..ctor();
19 }
20
21 // Token: 0x060005FC RID: 1532 RVA: 0x000174DC File Offset: 0x000156DC
23 {
24 if (2 == 0)
25 {
26 }
27 base..ctor();
28 }
29
30 // Token: 0x060005FD RID: 1533 RVA: 0x000174FC File Offset: 0x000156FC
31 public string Save()
32 {
33 string text;
34 return Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(Regex.Replace(text, "\\t\"JoystickRegex\": null,?\\n", ""), "\\t\"LastResortRegex\": null,?\\n", ""), "\\t\\t\\t\"Invert\": false,?\\n", ""), "\\t\\t\\t\"Scale\": 1,?\\n", ""), "\\t\\t\\t\"Raw\": false,?\\n", ""), "\\t\\t\\t\"IgnoreInitialZeroValue\": false,?\\n", ""), "\\t\\t\\t\"Sensitivity\": 1,?\\n", ""), "\\t\\t\\t\"LowerDeadZone\": 0,?\\n", ""), "\\t\\t\\t\"UpperDeadZone\": 1,?\\n", ""), "\\t\"Sensitivity\": 1,?\\n", ""), "\\t\"LowerDeadZone\": 0.2,?\\n", ""), "\\t\"UpperDeadZone\": 0.9,?\\n", ""), "\\t\\t\\t\"(Source|Target)Range\": {\\n\\t\\t\\t\\t\"Value0\": -1,\\n\\t\\t\\t\\t\"Value1\": 1\\n\\t\\t\\t},?\\n", ""), "\\t\"MinUnityVersion\": {\\n\\t\\t\"Major\": 3,\\n\\t\\t\"Minor\": 0,\\n\\t\\t\"Patch\": 0,\\n\\t\\t\"Build\": 0\\n\\t},?\\n", ""), "\\t\"MaxUnityVersion\": {\\n\\t\\t\"Major\": 9,\\n\\t\\t\"Minor\": 0,\\n\\t\\t\"Patch\": 0,\\n\\t\\t\"Build\": 0\\n\\t},?\\n", "");
35 }
36
37 // Token: 0x060005FE RID: 1534 RVA: 0x000175F4 File Offset: 0x000157F4
38 public static CustomInputDeviceProfile Load(string data)
39 {
40 }
41
42 // Token: 0x060005FF RID: 1535 RVA: 0x00017604 File Offset: 0x00015804
43 public void SaveToFile()
44 {
45 string text = this.Save();
47 string deviceName = this.deviceName;
49 }
50
51 // Token: 0x06000600 RID: 1536 RVA: 0x00017640 File Offset: 0x00015840
53 {
54 if (!true)
55 {
56 }
57 string text;
59 }
60
61 // Token: 0x04000411 RID: 1041
62 [JsonProperty]
63 public bool Configured;
64
65 // Token: 0x04000412 RID: 1042
66 [JsonProperty]
67 public int ForcedScheme = 2;
68 }
69}
class f__AnonymousType0<< Count > j__TPar
static CustomInputDeviceProfile Load(string data)
static CustomInputDeviceProfile LoadFromFile(string filePath)
static void WriteToFile(string path, string data)
Definition Utility.cs:169
static string Replace(string input, string pattern, string replacement)
Definition Regex.cs:269