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

◆ GetControlTag() [1/2]

string GUIControlsBanner.GetControlTag ( ControllerActionButton action)
inline

Definition at line 80 of file GUIControlsBanner.cs.

81 {
82 bool hasMapping = action.HasMapping;
85 string text;
86 if (requiredState != null)
87 {
89 if (requiredState.state)
90 {
91 Buttons button2 = requiredState.Button2;
92 }
94 bool state = requiredState.state2;
95 long num = 0L;
96 if (requiredState.state)
97 {
98 }
99 bool state2 = requiredState.state2;
100 long num2 = 0L;
101 if (num != 0L)
102 {
103 }
104 if (num2 != 0L)
105 {
106 string text2;
107 string text3;
108 text = text2 + "[cb:" + text3 + "]";
109 }
110 }
111 if (firstEntry.MappingType != ControllerActionButton.Entry.Type.Axis)
112 {
113 Buttons button4 = firstEntry.Button;
114 }
115 string text4;
116 return text + "[ca:" + text4 + "]";
117 }
class f__AnonymousType0<< Count > j__TPar

References System.action, Controller.ControllerActionButton.RequiredButtonState.Button, j__TPar, System.L, System.state, and System.text.