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

◆ RefreshProfile()

void InControl.UnityInputDevice.RefreshProfile ( )
inline

Definition at line 43 of file UnityInputDevice.cs.

44 {
45 base.ClearControls();
46 InputDeviceProfile inputDeviceProfile = this.profile;
47 InputDeviceClass deviceClass = inputDeviceProfile.deviceClass;
48 bool invert = inputDeviceProfile.analogMappings.invert;
49 string deviceNotes = inputDeviceProfile.deviceNotes;
50 if (inputDeviceProfile == null)
51 {
52 }
53 string text;
54 string text2;
55 if (("Cannot map control \"" == null || "Cannot map control \"" != null) && (text == null || text != null) && ("\" as InputControlType." == null || "\" as InputControlType." != null) && (text2 == null || text2 != null) && (" in profile \"" == null || " in profile \"" != null))
56 {
57 string deviceName = this.profile.deviceName;
58 if ((deviceName == null || deviceName != null) && ("\" because this target is reserved as an alias. The mapping will be ignored." == null || "\" because this target is reserved as an alias. The mapping will be ignored." != null))
59 {
60 string text3;
62 return;
63 }
64 }
66 }
class f__AnonymousType0<< Count > j__TPar
readonly InputDeviceProfile profile
static void LogError(object message)
Definition Debug.cs:62

References InControl.InputDeviceProfile.deviceClass, InControl.InputDeviceProfile.deviceName, j__TPar, UnityEngine.Debug.LogError(), InControl.UnityInputDevice.profile, and System.text.