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

◆ Save()

string InControl.UnityDeviceProfiles.CustomInputDeviceProfile.Save ( )
inline

Definition at line 31 of file CustomInputDeviceProfile.cs.

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 }
static string Replace(string input, string pattern, string replacement)
Definition Regex.cs:269

References System.Text.RegularExpressions.Regex.Replace(), and System.text.

Referenced by InControl.UnityDeviceProfiles.CustomInputDeviceProfile.SaveToFile().