using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.InteropServices; using UnityEngine; using UnityFusion.CLR.TypeSystem; using UnityFusion.CLR.Method; using UnityFusion.Runtime.Enviorment; using UnityFusion.Runtime.Intepreter; using UnityFusion.Runtime.Stack; using UnityFusion.Reflection; using UnityFusion.CLR.Utils; #if DEBUG && !DISABLE_UNITYFUSION_DEBUG using AutoList = System.Collections.Generic.List; #else using AutoList = UnityFusion.Other.UncheckedList; #endif namespace UnityFusion.Runtime.Generated { unsafe class UnityEngine_InputSystem_InputAction_Binding { public static void Register(UnityFusion.Runtime.Enviorment.AppDomain app) { BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly; MethodBase method; Type[] args; Type type = typeof(UnityEngine.InputSystem.InputAction); args = new Type[] { }; method = type.GetMethod("get_name", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_name_0); args = new Type[] { }; method = type.GetMethod("get_type", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_type_1); args = new Type[] { }; method = type.GetMethod("get_id", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_id_2); args = new Type[] { }; method = type.GetMethod("get_expectedControlType", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_expectedControlType_3); args = new Type[] {typeof(System.String)}; method = type.GetMethod("set_expectedControlType", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_expectedControlType_4); args = new Type[] { }; method = type.GetMethod("get_processors", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_processors_5); args = new Type[] { }; method = type.GetMethod("get_interactions", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_interactions_6); args = new Type[] { }; method = type.GetMethod("get_actionMap", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_actionMap_7); args = new Type[] { }; method = type.GetMethod("get_bindingMask", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_bindingMask_8); args = new Type[] {typeof(System.Nullable)}; method = type.GetMethod("set_bindingMask", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_bindingMask_9); args = new Type[] { }; method = type.GetMethod("get_bindings", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_bindings_10); args = new Type[] { }; method = type.GetMethod("get_controls", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_controls_11); args = new Type[] { }; method = type.GetMethod("get_phase", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_phase_12); args = new Type[] { }; method = type.GetMethod("get_inProgress", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_inProgress_13); args = new Type[] { }; method = type.GetMethod("get_enabled", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_enabled_14); args = new Type[] {typeof(System.Action)}; method = type.GetMethod("add_started", flag, null, args, null); app.RegisterCLRMethodRedirection(method, add_started_15); args = new Type[] {typeof(System.Action)}; method = type.GetMethod("remove_started", flag, null, args, null); app.RegisterCLRMethodRedirection(method, remove_started_16); args = new Type[] {typeof(System.Action)}; method = type.GetMethod("add_canceled", flag, null, args, null); app.RegisterCLRMethodRedirection(method, add_canceled_17); args = new Type[] {typeof(System.Action)}; method = type.GetMethod("remove_canceled", flag, null, args, null); app.RegisterCLRMethodRedirection(method, remove_canceled_18); args = new Type[] {typeof(System.Action)}; method = type.GetMethod("add_performed", flag, null, args, null); app.RegisterCLRMethodRedirection(method, add_performed_19); args = new Type[] {typeof(System.Action)}; method = type.GetMethod("remove_performed", flag, null, args, null); app.RegisterCLRMethodRedirection(method, remove_performed_20); args = new Type[] { }; method = type.GetMethod("get_triggered", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_triggered_21); args = new Type[] { }; method = type.GetMethod("get_activeControl", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_activeControl_22); args = new Type[] { }; method = type.GetMethod("get_wantsInitialStateCheck", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_wantsInitialStateCheck_23); args = new Type[] {typeof(System.Boolean)}; method = type.GetMethod("set_wantsInitialStateCheck", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_wantsInitialStateCheck_24); args = new Type[] { }; method = type.GetMethod("Dispose", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Dispose_25); args = new Type[] { }; method = type.GetMethod("ToString", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ToString_26); args = new Type[] { }; method = type.GetMethod("Enable", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Enable_27); args = new Type[] { }; method = type.GetMethod("Disable", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Disable_28); args = new Type[] { }; method = type.GetMethod("Clone", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Clone_29); args = new Type[] { }; method = type.GetMethod("ReadValueAsObject", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ReadValueAsObject_30); args = new Type[] { }; method = type.GetMethod("Reset", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Reset_31); args = new Type[] { }; method = type.GetMethod("IsPressed", flag, null, args, null); app.RegisterCLRMethodRedirection(method, IsPressed_32); args = new Type[] { }; method = type.GetMethod("IsInProgress", flag, null, args, null); app.RegisterCLRMethodRedirection(method, IsInProgress_33); args = new Type[] { }; method = type.GetMethod("WasPressedThisFrame", flag, null, args, null); app.RegisterCLRMethodRedirection(method, WasPressedThisFrame_34); args = new Type[] { }; method = type.GetMethod("WasReleasedThisFrame", flag, null, args, null); app.RegisterCLRMethodRedirection(method, WasReleasedThisFrame_35); args = new Type[] { }; method = type.GetMethod("WasPerformedThisFrame", flag, null, args, null); app.RegisterCLRMethodRedirection(method, WasPerformedThisFrame_36); args = new Type[] { }; method = type.GetMethod("GetTimeoutCompletionPercentage", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetTimeoutCompletionPercentage_37); args = new Type[] { }; method = type.GetMethod("ReadValue", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ReadValue_38); app.RegisterCLRCreateDefaultInstance(type, () => new UnityEngine.InputSystem.InputAction()); app.RegisterCLRCreateArrayInstance(type, s => new UnityEngine.InputSystem.InputAction[s]); args = new Type[] { }; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_0); args = new Type[] { typeof(System.String), typeof(UnityEngine.InputSystem.InputActionType), typeof(System.String), typeof(System.String), typeof(System.String), typeof(System.String) }; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_1); } static StackObject* get_name_0(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.name; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_type_1(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.type; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_id_2(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.id; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_expectedControlType_3(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.expectedControlType; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_expectedControlType_4(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @value = (System.String) typeof(System.String).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.expectedControlType = value; return __ret; } static StackObject* get_processors_5(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.processors; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_interactions_6(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.interactions; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_actionMap_7(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.actionMap; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_bindingMask_8(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.bindingMask; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_bindingMask_9(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Nullable @value = (System.Nullable) typeof(System.Nullable).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.bindingMask = value; return __ret; } static StackObject* get_bindings_10(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.bindings; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_controls_11(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.controls; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_phase_12(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.phase; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_inProgress_13(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.inProgress; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* get_enabled_14(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.enabled; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* add_started_15(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Action @value = (System.Action) typeof(System.Action).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 8); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.started += value; return __ret; } static StackObject* remove_started_16(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Action @value = (System.Action) typeof(System.Action).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 8); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.started -= value; return __ret; } static StackObject* add_canceled_17(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Action @value = (System.Action) typeof(System.Action).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 8); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.canceled += value; return __ret; } static StackObject* remove_canceled_18(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Action @value = (System.Action) typeof(System.Action).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 8); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.canceled -= value; return __ret; } static StackObject* add_performed_19(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Action @value = (System.Action) typeof(System.Action).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 8); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.performed += value; return __ret; } static StackObject* remove_performed_20(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Action @value = (System.Action) typeof(System.Action).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 8); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.performed -= value; return __ret; } static StackObject* get_triggered_21(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.triggered; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* get_activeControl_22(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.activeControl; object obj_result_of_this_method = result_of_this_method; if (obj_result_of_this_method is CrossBindingAdaptorType) { return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType) obj_result_of_this_method).ILInstance); } return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_wantsInitialStateCheck_23(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.wantsInitialStateCheck; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_wantsInitialStateCheck_24(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.wantsInitialStateCheck = value; return __ret; } static StackObject* Dispose_25(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.Dispose(); return __ret; } static StackObject* ToString_26(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.ToString(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* Enable_27(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.Enable(); return __ret; } static StackObject* Disable_28(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.Disable(); return __ret; } static StackObject* Clone_29(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.Clone(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* ReadValueAsObject_30(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.ReadValueAsObject(); object obj_result_of_this_method = result_of_this_method; if (obj_result_of_this_method is CrossBindingAdaptorType) { return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType) obj_result_of_this_method).ILInstance, true); } return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method, true); } static StackObject* Reset_31(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.Reset(); return __ret; } static StackObject* IsPressed_32(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.IsPressed(); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* IsInProgress_33(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.IsInProgress(); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* WasPressedThisFrame_34(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.WasPressedThisFrame(); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* WasReleasedThisFrame_35(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.WasReleasedThisFrame(); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* WasPerformedThisFrame_36(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.WasPerformedThisFrame(); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* GetTimeoutCompletionPercentage_37(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.GetTimeoutCompletionPercentage(); __ret->ObjectType = ObjectTypes.Float; *(float*) &__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* ReadValue_38(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction instance_of_this_method = (UnityEngine.InputSystem.InputAction) typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); if (__method.GenericArguments == null || __method.GenericArguments.Length != 1) return __ret; var tmp_GenericType = __method.GenericArguments[0].TypeForCLR; if (tmp_GenericType == typeof(UnityEngine.Vector2)) { Vector2 obj_result_of_this_method = instance_of_this_method.ReadValue(); return ILIntepreter.PushObject(__ret, __mStack, obj_result_of_this_method); } if (tmp_GenericType == typeof(float)) { var result_of_this_method = instance_of_this_method.ReadValue(); __ret->ObjectType = ObjectTypes.Float; *(float*) &__ret->Value = result_of_this_method; return __ret + 1; } if (tmp_GenericType == typeof(bool)) { var result_of_this_method = instance_of_this_method.ReadValue(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } return ILIntepreter.PushObject(__ret, __mStack, null); } static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* __ret = ILIntepreter.Minus(__esp, 0); var result_of_this_method = new UnityEngine.InputSystem.InputAction(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* Ctor_1(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 6); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @expectedControlType = (System.String) typeof(System.String).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String @processors = (System.String) typeof(System.String).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.String @interactions = (System.String) typeof(System.String).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); System.String @binding = (System.String) typeof(System.String).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 5); UnityEngine.InputSystem.InputActionType @type = (UnityEngine.InputSystem.InputActionType) typeof(UnityEngine.InputSystem.InputActionType).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 6); System.String @name = (System.String) typeof(System.String).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); var result_of_this_method = new UnityEngine.InputSystem.InputAction(@name, @type, @binding, @interactions, @processors, @expectedControlType); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } } }