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

◆ ReplaceBinding()

bool InControl.PlayerAction.ReplaceBinding ( BindingSource findBinding,
BindingSource withBinding )
inline

Definition at line 184 of file PlayerAction.cs.

185 {
186 if (findBinding != null && withBinding != null)
187 {
188 PlayerAction <BoundTo>k__BackingField = withBinding.<BoundTo>k__BackingField;
189 string text2;
190 if (<BoundTo>k__BackingField != null)
191 {
192 string text = <BoundTo>k__BackingField.<Name>k__BackingField;
193 text2 = "Binding source is already bound to action " + text;
194 if ("Binding source is already bound to action " == null)
195 {
196 }
197 Debug.LogWarning(text2);
198 }
199 withBinding.<BoundTo>k__BackingField = text2;
200 }
201 return true;
202 }
class f__AnonymousType0<< Count > j__TPar
string< Name > k__BackingField
static void LogWarning(object message)
Definition Debug.cs:117

References j__TPar, InControl.PlayerAction.k__BackingField, UnityEngine.Debug.LogWarning(), InControl.PlayerAction.Name, and System.text.