using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.InteropServices; 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_InputActionMap_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.InputActionMap); 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_asset", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_asset_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_enabled", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_enabled_3); args = new Type[]{}; method = type.GetMethod("get_actions", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_actions_4); args = new Type[]{}; method = type.GetMethod("get_bindings", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_bindings_5); args = new Type[]{}; method = type.GetMethod("get_controlSchemes", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_controlSchemes_6); args = new Type[]{}; method = type.GetMethod("get_bindingMask", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_bindingMask_7); args = new Type[]{typeof(System.Nullable)}; method = type.GetMethod("set_bindingMask", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_bindingMask_8); args = new Type[]{}; method = type.GetMethod("get_devices", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_devices_9); args = new Type[]{typeof(System.Nullable>)}; method = type.GetMethod("set_devices", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_devices_10); args = new Type[]{typeof(System.String)}; method = type.GetMethod("get_Item", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_Item_11); args = new Type[]{typeof(System.Action)}; method = type.GetMethod("add_actionTriggered", flag, null, args, null); app.RegisterCLRMethodRedirection(method, add_actionTriggered_12); args = new Type[]{typeof(System.Action)}; method = type.GetMethod("remove_actionTriggered", flag, null, args, null); app.RegisterCLRMethodRedirection(method, remove_actionTriggered_13); args = new Type[]{}; method = type.GetMethod("Dispose", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Dispose_14); args = new Type[]{typeof(System.String), typeof(System.Boolean)}; method = type.GetMethod("FindAction", flag, null, args, null); app.RegisterCLRMethodRedirection(method, FindAction_15); args = new Type[]{typeof(System.Guid)}; method = type.GetMethod("FindAction", flag, null, args, null); app.RegisterCLRMethodRedirection(method, FindAction_16); args = new Type[]{typeof(UnityEngine.InputSystem.InputDevice)}; method = type.GetMethod("IsUsableWithDevice", flag, null, args, null); app.RegisterCLRMethodRedirection(method, IsUsableWithDevice_17); args = new Type[]{}; method = type.GetMethod("Enable", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Enable_18); args = new Type[]{}; method = type.GetMethod("Disable", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Disable_19); args = new Type[]{}; method = type.GetMethod("Clone", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Clone_20); args = new Type[]{typeof(UnityEngine.InputSystem.InputAction)}; method = type.GetMethod("Contains", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Contains_21); args = new Type[]{}; method = type.GetMethod("ToString", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ToString_22); args = new Type[]{}; method = type.GetMethod("GetEnumerator", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetEnumerator_23); args = new Type[]{typeof(UnityEngine.InputSystem.InputBinding), typeof(UnityEngine.InputSystem.InputAction).MakeByRefType()}; method = type.GetMethod("FindBinding", flag, null, args, null); app.RegisterCLRMethodRedirection(method, FindBinding_24); args = new Type[]{typeof(System.String)}; method = type.GetMethod("FromJson", flag, null, args, null); app.RegisterCLRMethodRedirection(method, FromJson_25); args = new Type[]{typeof(System.Collections.Generic.IEnumerable)}; method = type.GetMethod("ToJson", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ToJson_26); args = new Type[]{}; method = type.GetMethod("ToJson", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ToJson_27); args = new Type[]{}; method = type.GetMethod("OnBeforeSerialize", flag, null, args, null); app.RegisterCLRMethodRedirection(method, OnBeforeSerialize_28); args = new Type[]{}; method = type.GetMethod("OnAfterDeserialize", flag, null, args, null); app.RegisterCLRMethodRedirection(method, OnAfterDeserialize_29); app.RegisterCLRCreateDefaultInstance(type, () => new UnityEngine.InputSystem.InputActionMap()); app.RegisterCLRCreateArrayInstance(type, s => new UnityEngine.InputSystem.InputActionMap[s]); args = new Type[]{}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_0); args = new Type[]{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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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_asset_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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.asset; 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_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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_enabled_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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* get_actions_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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.actions; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_bindings_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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_controlSchemes_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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.controlSchemes; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_bindingMask_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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_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, 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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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_devices_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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.devices; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_devices_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, 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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.devices = value; return __ret; } static StackObject* get_Item_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @actionNameOrId = (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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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[actionNameOrId]; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* add_actionTriggered_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, 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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.actionTriggered += value; return __ret; } static StackObject* remove_actionTriggered_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, 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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.actionTriggered -= value; return __ret; } static StackObject* Dispose_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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* FindAction_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, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @throwIfNotFound = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String @actionNameOrId = (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); UnityEngine.InputSystem.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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.FindAction(@actionNameOrId, @throwIfNotFound); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* FindAction_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.Guid @id = (System.Guid)typeof(System.Guid).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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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.FindAction(@id); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* IsUsableWithDevice_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); UnityEngine.InputSystem.InputDevice @device = (UnityEngine.InputSystem.InputDevice)typeof(UnityEngine.InputSystem.InputDevice).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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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.IsUsableWithDevice(@device); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* Enable_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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* Contains_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction @action = (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); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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.Contains(@action); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* ToString_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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* GetEnumerator_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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.GetEnumerator(); 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* FindBinding_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, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputAction @action = (UnityEngine.InputSystem.InputAction)typeof(UnityEngine.InputSystem.InputAction).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputBinding @mask = (UnityEngine.InputSystem.InputBinding)typeof(UnityEngine.InputSystem.InputBinding).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.InputSystem.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); var result_of_this_method = instance_of_this_method.FindBinding(@mask, out @action); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @action; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @action; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @action); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @action; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @action); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.InputSystem.InputAction[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @action; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); __intp.FreeStackValueType(ptr_of_this_method); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); __intp.Free(ptr_of_this_method); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* FromJson_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); System.String @json = (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 = UnityEngine.InputSystem.InputActionMap.FromJson(@json); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* ToJson_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); System.Collections.Generic.IEnumerable @maps = (System.Collections.Generic.IEnumerable)typeof(System.Collections.Generic.IEnumerable).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 = UnityEngine.InputSystem.InputActionMap.ToJson(@maps); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* ToJson_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).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.ToJson(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* OnBeforeSerialize_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.OnBeforeSerialize(); return __ret; } static StackObject* OnAfterDeserialize_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.InputActionMap instance_of_this_method = (UnityEngine.InputSystem.InputActionMap)typeof(UnityEngine.InputSystem.InputActionMap).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.OnAfterDeserialize(); return __ret; } 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.InputActionMap(); 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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); 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.InputActionMap(@name); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } } }