1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381 |
- #include "il2cpp-config.h"
- #ifndef _MSC_VER
- # include <alloca.h>
- #else
- # include <malloc.h>
- #endif
- #include <cstring>
- #include <string.h>
- #include <stdio.h>
- #include <cmath>
- #include <limits>
- #include <assert.h>
- #include <stdint.h>
- #include "il2cpp-class-internals.h"
- #include "codegen/il2cpp-codegen.h"
- #include "il2cpp-object-internals.h"
- template <typename T1>
- struct VirtActionInvoker1
- {
- typedef void (*Action)(void*, T1, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
- }
- };
- template <typename T1, typename T2>
- struct VirtActionInvoker2
- {
- typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
- }
- };
- template <typename T1>
- struct GenericVirtActionInvoker1
- {
- typedef void (*Action)(void*, T1, const RuntimeMethod*);
- static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
- {
- VirtualInvokeData invokeData;
- il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
- ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
- }
- };
- template <typename T1, typename T2>
- struct GenericVirtActionInvoker2
- {
- typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
- static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
- {
- VirtualInvokeData invokeData;
- il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
- ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
- }
- };
- template <typename T1>
- struct InterfaceActionInvoker1
- {
- typedef void (*Action)(void*, T1, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
- }
- };
- template <typename T1, typename T2>
- struct InterfaceActionInvoker2
- {
- typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
- }
- };
- template <typename T1>
- struct GenericInterfaceActionInvoker1
- {
- typedef void (*Action)(void*, T1, const RuntimeMethod*);
- static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
- {
- VirtualInvokeData invokeData;
- il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
- ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
- }
- };
- template <typename T1, typename T2>
- struct GenericInterfaceActionInvoker2
- {
- typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
- static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
- {
- VirtualInvokeData invokeData;
- il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
- ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
- }
- };
- // UnityEngineInternal.Input.NativeInputDeviceInfo
- struct NativeInputDeviceInfo_t3032009285;
- // UnityEngineInternal.Input.NativeDeviceDiscoveredCallback
- struct NativeDeviceDiscoveredCallback_t3494240628;
- // System.IAsyncResult
- struct IAsyncResult_t767004451;
- // System.AsyncCallback
- struct AsyncCallback_t3962456242;
- // UnityEngineInternal.Input.NativeEventCallback
- struct NativeEventCallback_t83445637;
- // UnityEngineInternal.Input.NativeUpdateCallback
- struct NativeUpdateCallback_t2379345390;
- // System.Char[]
- struct CharU5BU5D_t3528271667;
- // System.String
- struct String_t;
- // System.Void
- struct Void_t1185182177;
- // System.Reflection.MethodInfo
- struct MethodInfo_t;
- // System.DelegateData
- struct DelegateData_t1677132599;
- struct NativeInputDeviceInfo_t3032009285_marshaled_pinvoke;
- struct NativeInputDeviceInfo_t3032009285;;
- struct NativeInputDeviceInfo_t3032009285_marshaled_pinvoke;;
- extern RuntimeClass* NativeInputDeviceInfo_t3032009285_il2cpp_TypeInfo_var;
- extern const uint32_t NativeDeviceDiscoveredCallback_BeginInvoke_m2259466034_MetadataUsageId;
- extern RuntimeClass* Int32_t2950945753_il2cpp_TypeInfo_var;
- extern RuntimeClass* IntPtr_t_il2cpp_TypeInfo_var;
- extern const uint32_t NativeEventCallback_BeginInvoke_m1567248734_MetadataUsageId;
- extern RuntimeClass* NativeInputSystem_t922881982_il2cpp_TypeInfo_var;
- extern const uint32_t NativeInputSystem_NotifyUpdate_m2959317749_MetadataUsageId;
- extern const uint32_t NativeInputSystem_NotifyEvents_m2206082579_MetadataUsageId;
- extern const uint32_t NativeInputSystem_NotifyDeviceDiscovered_m207573541_MetadataUsageId;
- extern RuntimeClass* NativeInputUpdateType_t3942820534_il2cpp_TypeInfo_var;
- extern const uint32_t NativeUpdateCallback_BeginInvoke_m1903744170_MetadataUsageId;
- #ifndef RUNTIMEOBJECT_H
- #define RUNTIMEOBJECT_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Object
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // RUNTIMEOBJECT_H
- #ifndef U3CMODULEU3E_T692745543_H
- #define U3CMODULEU3E_T692745543_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // <Module>
- struct U3CModuleU3E_t692745543
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // U3CMODULEU3E_T692745543_H
- #ifndef STRING_T_H
- #define STRING_T_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.String
- struct String_t : public RuntimeObject
- {
- public:
- // System.Int32 System.String::length
- int32_t ___length_0;
- // System.Char System.String::start_char
- Il2CppChar ___start_char_1;
- public:
- inline static int32_t get_offset_of_length_0() { return static_cast<int32_t>(offsetof(String_t, ___length_0)); }
- inline int32_t get_length_0() const { return ___length_0; }
- inline int32_t* get_address_of_length_0() { return &___length_0; }
- inline void set_length_0(int32_t value)
- {
- ___length_0 = value;
- }
- inline static int32_t get_offset_of_start_char_1() { return static_cast<int32_t>(offsetof(String_t, ___start_char_1)); }
- inline Il2CppChar get_start_char_1() const { return ___start_char_1; }
- inline Il2CppChar* get_address_of_start_char_1() { return &___start_char_1; }
- inline void set_start_char_1(Il2CppChar value)
- {
- ___start_char_1 = value;
- }
- };
- struct String_t_StaticFields
- {
- public:
- // System.String System.String::Empty
- String_t* ___Empty_2;
- // System.Char[] System.String::WhiteChars
- CharU5BU5D_t3528271667* ___WhiteChars_3;
- public:
- inline static int32_t get_offset_of_Empty_2() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_2)); }
- inline String_t* get_Empty_2() const { return ___Empty_2; }
- inline String_t** get_address_of_Empty_2() { return &___Empty_2; }
- inline void set_Empty_2(String_t* value)
- {
- ___Empty_2 = value;
- Il2CppCodeGenWriteBarrier((&___Empty_2), value);
- }
- inline static int32_t get_offset_of_WhiteChars_3() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___WhiteChars_3)); }
- inline CharU5BU5D_t3528271667* get_WhiteChars_3() const { return ___WhiteChars_3; }
- inline CharU5BU5D_t3528271667** get_address_of_WhiteChars_3() { return &___WhiteChars_3; }
- inline void set_WhiteChars_3(CharU5BU5D_t3528271667* value)
- {
- ___WhiteChars_3 = value;
- Il2CppCodeGenWriteBarrier((&___WhiteChars_3), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // STRING_T_H
- #ifndef NATIVEINPUTSYSTEM_T922881982_H
- #define NATIVEINPUTSYSTEM_T922881982_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngineInternal.Input.NativeInputSystem
- struct NativeInputSystem_t922881982 : public RuntimeObject
- {
- public:
- public:
- };
- struct NativeInputSystem_t922881982_StaticFields
- {
- public:
- // UnityEngineInternal.Input.NativeUpdateCallback UnityEngineInternal.Input.NativeInputSystem::onUpdate
- NativeUpdateCallback_t2379345390 * ___onUpdate_0;
- // UnityEngineInternal.Input.NativeEventCallback UnityEngineInternal.Input.NativeInputSystem::onEvents
- NativeEventCallback_t83445637 * ___onEvents_1;
- // UnityEngineInternal.Input.NativeDeviceDiscoveredCallback UnityEngineInternal.Input.NativeInputSystem::s_OnDeviceDiscoveredCallback
- NativeDeviceDiscoveredCallback_t3494240628 * ___s_OnDeviceDiscoveredCallback_2;
- public:
- inline static int32_t get_offset_of_onUpdate_0() { return static_cast<int32_t>(offsetof(NativeInputSystem_t922881982_StaticFields, ___onUpdate_0)); }
- inline NativeUpdateCallback_t2379345390 * get_onUpdate_0() const { return ___onUpdate_0; }
- inline NativeUpdateCallback_t2379345390 ** get_address_of_onUpdate_0() { return &___onUpdate_0; }
- inline void set_onUpdate_0(NativeUpdateCallback_t2379345390 * value)
- {
- ___onUpdate_0 = value;
- Il2CppCodeGenWriteBarrier((&___onUpdate_0), value);
- }
- inline static int32_t get_offset_of_onEvents_1() { return static_cast<int32_t>(offsetof(NativeInputSystem_t922881982_StaticFields, ___onEvents_1)); }
- inline NativeEventCallback_t83445637 * get_onEvents_1() const { return ___onEvents_1; }
- inline NativeEventCallback_t83445637 ** get_address_of_onEvents_1() { return &___onEvents_1; }
- inline void set_onEvents_1(NativeEventCallback_t83445637 * value)
- {
- ___onEvents_1 = value;
- Il2CppCodeGenWriteBarrier((&___onEvents_1), value);
- }
- inline static int32_t get_offset_of_s_OnDeviceDiscoveredCallback_2() { return static_cast<int32_t>(offsetof(NativeInputSystem_t922881982_StaticFields, ___s_OnDeviceDiscoveredCallback_2)); }
- inline NativeDeviceDiscoveredCallback_t3494240628 * get_s_OnDeviceDiscoveredCallback_2() const { return ___s_OnDeviceDiscoveredCallback_2; }
- inline NativeDeviceDiscoveredCallback_t3494240628 ** get_address_of_s_OnDeviceDiscoveredCallback_2() { return &___s_OnDeviceDiscoveredCallback_2; }
- inline void set_s_OnDeviceDiscoveredCallback_2(NativeDeviceDiscoveredCallback_t3494240628 * value)
- {
- ___s_OnDeviceDiscoveredCallback_2 = value;
- Il2CppCodeGenWriteBarrier((&___s_OnDeviceDiscoveredCallback_2), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // NATIVEINPUTSYSTEM_T922881982_H
- struct Il2CppArrayBounds;
- #ifndef RUNTIMEARRAY_H
- #define RUNTIMEARRAY_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Array
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // RUNTIMEARRAY_H
- #ifndef VALUETYPE_T3640485471_H
- #define VALUETYPE_T3640485471_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.ValueType
- struct ValueType_t3640485471 : public RuntimeObject
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- // Native definition for P/Invoke marshalling of System.ValueType
- struct ValueType_t3640485471_marshaled_pinvoke
- {
- };
- // Native definition for COM marshalling of System.ValueType
- struct ValueType_t3640485471_marshaled_com
- {
- };
- #endif // VALUETYPE_T3640485471_H
- #ifndef BOOLEAN_T97287965_H
- #define BOOLEAN_T97287965_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Boolean
- struct Boolean_t97287965
- {
- public:
- // System.Boolean System.Boolean::m_value
- bool ___m_value_2;
- public:
- inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Boolean_t97287965, ___m_value_2)); }
- inline bool get_m_value_2() const { return ___m_value_2; }
- inline bool* get_address_of_m_value_2() { return &___m_value_2; }
- inline void set_m_value_2(bool value)
- {
- ___m_value_2 = value;
- }
- };
- struct Boolean_t97287965_StaticFields
- {
- public:
- // System.String System.Boolean::FalseString
- String_t* ___FalseString_0;
- // System.String System.Boolean::TrueString
- String_t* ___TrueString_1;
- public:
- inline static int32_t get_offset_of_FalseString_0() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___FalseString_0)); }
- inline String_t* get_FalseString_0() const { return ___FalseString_0; }
- inline String_t** get_address_of_FalseString_0() { return &___FalseString_0; }
- inline void set_FalseString_0(String_t* value)
- {
- ___FalseString_0 = value;
- Il2CppCodeGenWriteBarrier((&___FalseString_0), value);
- }
- inline static int32_t get_offset_of_TrueString_1() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___TrueString_1)); }
- inline String_t* get_TrueString_1() const { return ___TrueString_1; }
- inline String_t** get_address_of_TrueString_1() { return &___TrueString_1; }
- inline void set_TrueString_1(String_t* value)
- {
- ___TrueString_1 = value;
- Il2CppCodeGenWriteBarrier((&___TrueString_1), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // BOOLEAN_T97287965_H
- #ifndef ENUM_T4135868527_H
- #define ENUM_T4135868527_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Enum
- struct Enum_t4135868527 : public ValueType_t3640485471
- {
- public:
- public:
- };
- struct Enum_t4135868527_StaticFields
- {
- public:
- // System.Char[] System.Enum::split_char
- CharU5BU5D_t3528271667* ___split_char_0;
- public:
- inline static int32_t get_offset_of_split_char_0() { return static_cast<int32_t>(offsetof(Enum_t4135868527_StaticFields, ___split_char_0)); }
- inline CharU5BU5D_t3528271667* get_split_char_0() const { return ___split_char_0; }
- inline CharU5BU5D_t3528271667** get_address_of_split_char_0() { return &___split_char_0; }
- inline void set_split_char_0(CharU5BU5D_t3528271667* value)
- {
- ___split_char_0 = value;
- Il2CppCodeGenWriteBarrier((&___split_char_0), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- // Native definition for P/Invoke marshalling of System.Enum
- struct Enum_t4135868527_marshaled_pinvoke
- {
- };
- // Native definition for COM marshalling of System.Enum
- struct Enum_t4135868527_marshaled_com
- {
- };
- #endif // ENUM_T4135868527_H
- #ifndef INT32_T2950945753_H
- #define INT32_T2950945753_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Int32
- struct Int32_t2950945753
- {
- public:
- // System.Int32 System.Int32::m_value
- int32_t ___m_value_2;
- public:
- inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Int32_t2950945753, ___m_value_2)); }
- inline int32_t get_m_value_2() const { return ___m_value_2; }
- inline int32_t* get_address_of_m_value_2() { return &___m_value_2; }
- inline void set_m_value_2(int32_t value)
- {
- ___m_value_2 = value;
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // INT32_T2950945753_H
- #ifndef NATIVEINPUTDEVICEINFO_T3032009285_H
- #define NATIVEINPUTDEVICEINFO_T3032009285_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngineInternal.Input.NativeInputDeviceInfo
- struct NativeInputDeviceInfo_t3032009285
- {
- public:
- // System.Int32 UnityEngineInternal.Input.NativeInputDeviceInfo::deviceId
- int32_t ___deviceId_0;
- // System.String UnityEngineInternal.Input.NativeInputDeviceInfo::deviceDescriptor
- String_t* ___deviceDescriptor_1;
- public:
- inline static int32_t get_offset_of_deviceId_0() { return static_cast<int32_t>(offsetof(NativeInputDeviceInfo_t3032009285, ___deviceId_0)); }
- inline int32_t get_deviceId_0() const { return ___deviceId_0; }
- inline int32_t* get_address_of_deviceId_0() { return &___deviceId_0; }
- inline void set_deviceId_0(int32_t value)
- {
- ___deviceId_0 = value;
- }
- inline static int32_t get_offset_of_deviceDescriptor_1() { return static_cast<int32_t>(offsetof(NativeInputDeviceInfo_t3032009285, ___deviceDescriptor_1)); }
- inline String_t* get_deviceDescriptor_1() const { return ___deviceDescriptor_1; }
- inline String_t** get_address_of_deviceDescriptor_1() { return &___deviceDescriptor_1; }
- inline void set_deviceDescriptor_1(String_t* value)
- {
- ___deviceDescriptor_1 = value;
- Il2CppCodeGenWriteBarrier((&___deviceDescriptor_1), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- // Native definition for P/Invoke marshalling of UnityEngineInternal.Input.NativeInputDeviceInfo
- struct NativeInputDeviceInfo_t3032009285_marshaled_pinvoke
- {
- int32_t ___deviceId_0;
- char* ___deviceDescriptor_1;
- };
- // Native definition for COM marshalling of UnityEngineInternal.Input.NativeInputDeviceInfo
- struct NativeInputDeviceInfo_t3032009285_marshaled_com
- {
- int32_t ___deviceId_0;
- Il2CppChar* ___deviceDescriptor_1;
- };
- #endif // NATIVEINPUTDEVICEINFO_T3032009285_H
- #ifndef VOID_T1185182177_H
- #define VOID_T1185182177_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void
- struct Void_t1185182177
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // VOID_T1185182177_H
- #ifndef INTPTR_T_H
- #define INTPTR_T_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.IntPtr
- struct IntPtr_t
- {
- public:
- // System.Void* System.IntPtr::m_value
- void* ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
- inline void* get_m_value_0() const { return ___m_value_0; }
- inline void** get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(void* value)
- {
- ___m_value_0 = value;
- }
- };
- struct IntPtr_t_StaticFields
- {
- public:
- // System.IntPtr System.IntPtr::Zero
- intptr_t ___Zero_1;
- public:
- inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
- inline intptr_t get_Zero_1() const { return ___Zero_1; }
- inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
- inline void set_Zero_1(intptr_t value)
- {
- ___Zero_1 = value;
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // INTPTR_T_H
- #ifndef NATIVEINPUTUPDATETYPE_T3942820534_H
- #define NATIVEINPUTUPDATETYPE_T3942820534_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngineInternal.Input.NativeInputUpdateType
- struct NativeInputUpdateType_t3942820534
- {
- public:
- // System.Int32 UnityEngineInternal.Input.NativeInputUpdateType::value__
- int32_t ___value___1;
- public:
- inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(NativeInputUpdateType_t3942820534, ___value___1)); }
- inline int32_t get_value___1() const { return ___value___1; }
- inline int32_t* get_address_of_value___1() { return &___value___1; }
- inline void set_value___1(int32_t value)
- {
- ___value___1 = value;
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // NATIVEINPUTUPDATETYPE_T3942820534_H
- #ifndef DELEGATE_T1188392813_H
- #define DELEGATE_T1188392813_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Delegate
- struct Delegate_t1188392813 : public RuntimeObject
- {
- public:
- // System.IntPtr System.Delegate::method_ptr
- Il2CppMethodPointer ___method_ptr_0;
- // System.IntPtr System.Delegate::invoke_impl
- intptr_t ___invoke_impl_1;
- // System.Object System.Delegate::m_target
- RuntimeObject * ___m_target_2;
- // System.IntPtr System.Delegate::method
- intptr_t ___method_3;
- // System.IntPtr System.Delegate::delegate_trampoline
- intptr_t ___delegate_trampoline_4;
- // System.IntPtr System.Delegate::method_code
- intptr_t ___method_code_5;
- // System.Reflection.MethodInfo System.Delegate::method_info
- MethodInfo_t * ___method_info_6;
- // System.Reflection.MethodInfo System.Delegate::original_method_info
- MethodInfo_t * ___original_method_info_7;
- // System.DelegateData System.Delegate::data
- DelegateData_t1677132599 * ___data_8;
- public:
- inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_ptr_0)); }
- inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
- inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
- inline void set_method_ptr_0(Il2CppMethodPointer value)
- {
- ___method_ptr_0 = value;
- }
- inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___invoke_impl_1)); }
- inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
- inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
- inline void set_invoke_impl_1(intptr_t value)
- {
- ___invoke_impl_1 = value;
- }
- inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___m_target_2)); }
- inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
- inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
- inline void set_m_target_2(RuntimeObject * value)
- {
- ___m_target_2 = value;
- Il2CppCodeGenWriteBarrier((&___m_target_2), value);
- }
- inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_3)); }
- inline intptr_t get_method_3() const { return ___method_3; }
- inline intptr_t* get_address_of_method_3() { return &___method_3; }
- inline void set_method_3(intptr_t value)
- {
- ___method_3 = value;
- }
- inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___delegate_trampoline_4)); }
- inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
- inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
- inline void set_delegate_trampoline_4(intptr_t value)
- {
- ___delegate_trampoline_4 = value;
- }
- inline static int32_t get_offset_of_method_code_5() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_code_5)); }
- inline intptr_t get_method_code_5() const { return ___method_code_5; }
- inline intptr_t* get_address_of_method_code_5() { return &___method_code_5; }
- inline void set_method_code_5(intptr_t value)
- {
- ___method_code_5 = value;
- }
- inline static int32_t get_offset_of_method_info_6() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_info_6)); }
- inline MethodInfo_t * get_method_info_6() const { return ___method_info_6; }
- inline MethodInfo_t ** get_address_of_method_info_6() { return &___method_info_6; }
- inline void set_method_info_6(MethodInfo_t * value)
- {
- ___method_info_6 = value;
- Il2CppCodeGenWriteBarrier((&___method_info_6), value);
- }
- inline static int32_t get_offset_of_original_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___original_method_info_7)); }
- inline MethodInfo_t * get_original_method_info_7() const { return ___original_method_info_7; }
- inline MethodInfo_t ** get_address_of_original_method_info_7() { return &___original_method_info_7; }
- inline void set_original_method_info_7(MethodInfo_t * value)
- {
- ___original_method_info_7 = value;
- Il2CppCodeGenWriteBarrier((&___original_method_info_7), value);
- }
- inline static int32_t get_offset_of_data_8() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___data_8)); }
- inline DelegateData_t1677132599 * get_data_8() const { return ___data_8; }
- inline DelegateData_t1677132599 ** get_address_of_data_8() { return &___data_8; }
- inline void set_data_8(DelegateData_t1677132599 * value)
- {
- ___data_8 = value;
- Il2CppCodeGenWriteBarrier((&___data_8), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // DELEGATE_T1188392813_H
- #ifndef MULTICASTDELEGATE_T_H
- #define MULTICASTDELEGATE_T_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.MulticastDelegate
- struct MulticastDelegate_t : public Delegate_t1188392813
- {
- public:
- // System.MulticastDelegate System.MulticastDelegate::prev
- MulticastDelegate_t * ___prev_9;
- // System.MulticastDelegate System.MulticastDelegate::kpm_next
- MulticastDelegate_t * ___kpm_next_10;
- public:
- inline static int32_t get_offset_of_prev_9() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___prev_9)); }
- inline MulticastDelegate_t * get_prev_9() const { return ___prev_9; }
- inline MulticastDelegate_t ** get_address_of_prev_9() { return &___prev_9; }
- inline void set_prev_9(MulticastDelegate_t * value)
- {
- ___prev_9 = value;
- Il2CppCodeGenWriteBarrier((&___prev_9), value);
- }
- inline static int32_t get_offset_of_kpm_next_10() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___kpm_next_10)); }
- inline MulticastDelegate_t * get_kpm_next_10() const { return ___kpm_next_10; }
- inline MulticastDelegate_t ** get_address_of_kpm_next_10() { return &___kpm_next_10; }
- inline void set_kpm_next_10(MulticastDelegate_t * value)
- {
- ___kpm_next_10 = value;
- Il2CppCodeGenWriteBarrier((&___kpm_next_10), value);
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // MULTICASTDELEGATE_T_H
- #ifndef ASYNCCALLBACK_T3962456242_H
- #define ASYNCCALLBACK_T3962456242_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.AsyncCallback
- struct AsyncCallback_t3962456242 : public MulticastDelegate_t
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // ASYNCCALLBACK_T3962456242_H
- #ifndef NATIVEUPDATECALLBACK_T2379345390_H
- #define NATIVEUPDATECALLBACK_T2379345390_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngineInternal.Input.NativeUpdateCallback
- struct NativeUpdateCallback_t2379345390 : public MulticastDelegate_t
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // NATIVEUPDATECALLBACK_T2379345390_H
- #ifndef NATIVEEVENTCALLBACK_T83445637_H
- #define NATIVEEVENTCALLBACK_T83445637_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngineInternal.Input.NativeEventCallback
- struct NativeEventCallback_t83445637 : public MulticastDelegate_t
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // NATIVEEVENTCALLBACK_T83445637_H
- #ifndef NATIVEDEVICEDISCOVEREDCALLBACK_T3494240628_H
- #define NATIVEDEVICEDISCOVEREDCALLBACK_T3494240628_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngineInternal.Input.NativeDeviceDiscoveredCallback
- struct NativeDeviceDiscoveredCallback_t3494240628 : public MulticastDelegate_t
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // NATIVEDEVICEDISCOVEREDCALLBACK_T3494240628_H
- extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke(const NativeInputDeviceInfo_t3032009285& unmarshaled, NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled);
- extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke_back(const NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled, NativeInputDeviceInfo_t3032009285& unmarshaled);
- extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke_cleanup(NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled);
- // System.Void UnityEngineInternal.Input.NativeDeviceDiscoveredCallback::Invoke(UnityEngineInternal.Input.NativeInputDeviceInfo)
- extern "C" IL2CPP_METHOD_ATTR void NativeDeviceDiscoveredCallback_Invoke_m2547691835 (NativeDeviceDiscoveredCallback_t3494240628 * __this, NativeInputDeviceInfo_t3032009285 ___deviceInfo0, const RuntimeMethod* method);
- // System.Void UnityEngineInternal.Input.NativeEventCallback::Invoke(System.Int32,System.IntPtr)
- extern "C" IL2CPP_METHOD_ATTR void NativeEventCallback_Invoke_m3430740557 (NativeEventCallback_t83445637 * __this, int32_t ___eventCount0, intptr_t ___eventData1, const RuntimeMethod* method);
- // System.Void UnityEngineInternal.Input.NativeInputSystem::set_hasDeviceDiscoveredCallback(System.Boolean)
- extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293 (RuntimeObject * __this /* static, unused */, bool ___value0, const RuntimeMethod* method);
- // System.Void UnityEngineInternal.Input.NativeUpdateCallback::Invoke(UnityEngineInternal.Input.NativeInputUpdateType)
- extern "C" IL2CPP_METHOD_ATTR void NativeUpdateCallback_Invoke_m2703513789 (NativeUpdateCallback_t2379345390 * __this, int32_t ___updateType0, const RuntimeMethod* method);
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- extern "C" void DelegatePInvokeWrapper_NativeDeviceDiscoveredCallback_t3494240628 (NativeDeviceDiscoveredCallback_t3494240628 * __this, NativeInputDeviceInfo_t3032009285 ___deviceInfo0, const RuntimeMethod* method)
- {
- typedef void (DEFAULT_CALL *PInvokeFunc)(NativeInputDeviceInfo_t3032009285_marshaled_pinvoke);
- PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
- // Marshaling of parameter '___deviceInfo0' to native representation
- NativeInputDeviceInfo_t3032009285_marshaled_pinvoke ____deviceInfo0_marshaled = {};
- NativeInputDeviceInfo_t3032009285_marshal_pinvoke(___deviceInfo0, ____deviceInfo0_marshaled);
- // Native function invocation
- il2cppPInvokeFunc(____deviceInfo0_marshaled);
- // Marshaling cleanup of parameter '___deviceInfo0' native representation
- NativeInputDeviceInfo_t3032009285_marshal_pinvoke_cleanup(____deviceInfo0_marshaled);
- }
- // System.Void UnityEngineInternal.Input.NativeDeviceDiscoveredCallback::.ctor(System.Object,System.IntPtr)
- extern "C" IL2CPP_METHOD_ATTR void NativeDeviceDiscoveredCallback__ctor_m3062146467 (NativeDeviceDiscoveredCallback_t3494240628 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
- {
- __this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
- __this->set_method_3(___method1);
- __this->set_m_target_2(___object0);
- }
- // System.Void UnityEngineInternal.Input.NativeDeviceDiscoveredCallback::Invoke(UnityEngineInternal.Input.NativeInputDeviceInfo)
- extern "C" IL2CPP_METHOD_ATTR void NativeDeviceDiscoveredCallback_Invoke_m2547691835 (NativeDeviceDiscoveredCallback_t3494240628 * __this, NativeInputDeviceInfo_t3032009285 ___deviceInfo0, const RuntimeMethod* method)
- {
- if(__this->get_prev_9() != NULL)
- {
- NativeDeviceDiscoveredCallback_Invoke_m2547691835((NativeDeviceDiscoveredCallback_t3494240628 *)__this->get_prev_9(), ___deviceInfo0, method);
- }
- Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
- RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
- RuntimeObject* targetThis = __this->get_m_target_2();
- il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
- bool ___methodIsStatic = MethodIsStatic(targetMethod);
- if (___methodIsStatic)
- {
- if (il2cpp_codegen_method_parameter_count(targetMethod) == 1)
- {
- // open
- {
- typedef void (*FunctionPointerType) (RuntimeObject *, NativeInputDeviceInfo_t3032009285 , const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(NULL, ___deviceInfo0, targetMethod);
- }
- }
- else
- {
- // closed
- {
- typedef void (*FunctionPointerType) (RuntimeObject *, void*, NativeInputDeviceInfo_t3032009285 , const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___deviceInfo0, targetMethod);
- }
- }
- }
- else
- {
- {
- // closed
- if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
- {
- if (il2cpp_codegen_method_is_generic_instance(targetMethod))
- {
- if (il2cpp_codegen_method_is_interface_method(targetMethod))
- GenericInterfaceActionInvoker1< NativeInputDeviceInfo_t3032009285 >::Invoke(targetMethod, targetThis, ___deviceInfo0);
- else
- GenericVirtActionInvoker1< NativeInputDeviceInfo_t3032009285 >::Invoke(targetMethod, targetThis, ___deviceInfo0);
- }
- else
- {
- if (il2cpp_codegen_method_is_interface_method(targetMethod))
- InterfaceActionInvoker1< NativeInputDeviceInfo_t3032009285 >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___deviceInfo0);
- else
- VirtActionInvoker1< NativeInputDeviceInfo_t3032009285 >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___deviceInfo0);
- }
- }
- else
- {
- typedef void (*FunctionPointerType) (void*, NativeInputDeviceInfo_t3032009285 , const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(targetThis, ___deviceInfo0, targetMethod);
- }
- }
- }
- }
- // System.IAsyncResult UnityEngineInternal.Input.NativeDeviceDiscoveredCallback::BeginInvoke(UnityEngineInternal.Input.NativeInputDeviceInfo,System.AsyncCallback,System.Object)
- extern "C" IL2CPP_METHOD_ATTR RuntimeObject* NativeDeviceDiscoveredCallback_BeginInvoke_m2259466034 (NativeDeviceDiscoveredCallback_t3494240628 * __this, NativeInputDeviceInfo_t3032009285 ___deviceInfo0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___object2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_method (NativeDeviceDiscoveredCallback_BeginInvoke_m2259466034_MetadataUsageId);
- s_Il2CppMethodInitialized = true;
- }
- void *__d_args[2] = {0};
- __d_args[0] = Box(NativeInputDeviceInfo_t3032009285_il2cpp_TypeInfo_var, &___deviceInfo0);
- return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback1, (RuntimeObject*)___object2);
- }
- // System.Void UnityEngineInternal.Input.NativeDeviceDiscoveredCallback::EndInvoke(System.IAsyncResult)
- extern "C" IL2CPP_METHOD_ATTR void NativeDeviceDiscoveredCallback_EndInvoke_m1177959544 (NativeDeviceDiscoveredCallback_t3494240628 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
- {
- il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- extern "C" void DelegatePInvokeWrapper_NativeEventCallback_t83445637 (NativeEventCallback_t83445637 * __this, int32_t ___eventCount0, intptr_t ___eventData1, const RuntimeMethod* method)
- {
- typedef void (DEFAULT_CALL *PInvokeFunc)(int32_t, intptr_t);
- PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
- // Native function invocation
- il2cppPInvokeFunc(___eventCount0, ___eventData1);
- }
- // System.Void UnityEngineInternal.Input.NativeEventCallback::.ctor(System.Object,System.IntPtr)
- extern "C" IL2CPP_METHOD_ATTR void NativeEventCallback__ctor_m2794133785 (NativeEventCallback_t83445637 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
- {
- __this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
- __this->set_method_3(___method1);
- __this->set_m_target_2(___object0);
- }
- // System.Void UnityEngineInternal.Input.NativeEventCallback::Invoke(System.Int32,System.IntPtr)
- extern "C" IL2CPP_METHOD_ATTR void NativeEventCallback_Invoke_m3430740557 (NativeEventCallback_t83445637 * __this, int32_t ___eventCount0, intptr_t ___eventData1, const RuntimeMethod* method)
- {
- if(__this->get_prev_9() != NULL)
- {
- NativeEventCallback_Invoke_m3430740557((NativeEventCallback_t83445637 *)__this->get_prev_9(), ___eventCount0, ___eventData1, method);
- }
- Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
- RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
- RuntimeObject* targetThis = __this->get_m_target_2();
- il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
- bool ___methodIsStatic = MethodIsStatic(targetMethod);
- if (___methodIsStatic)
- {
- if (il2cpp_codegen_method_parameter_count(targetMethod) == 2)
- {
- // open
- {
- typedef void (*FunctionPointerType) (RuntimeObject *, int32_t, intptr_t, const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(NULL, ___eventCount0, ___eventData1, targetMethod);
- }
- }
- else
- {
- // closed
- {
- typedef void (*FunctionPointerType) (RuntimeObject *, void*, int32_t, intptr_t, const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___eventCount0, ___eventData1, targetMethod);
- }
- }
- }
- else
- {
- {
- // closed
- if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
- {
- if (il2cpp_codegen_method_is_generic_instance(targetMethod))
- {
- if (il2cpp_codegen_method_is_interface_method(targetMethod))
- GenericInterfaceActionInvoker2< int32_t, intptr_t >::Invoke(targetMethod, targetThis, ___eventCount0, ___eventData1);
- else
- GenericVirtActionInvoker2< int32_t, intptr_t >::Invoke(targetMethod, targetThis, ___eventCount0, ___eventData1);
- }
- else
- {
- if (il2cpp_codegen_method_is_interface_method(targetMethod))
- InterfaceActionInvoker2< int32_t, intptr_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___eventCount0, ___eventData1);
- else
- VirtActionInvoker2< int32_t, intptr_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___eventCount0, ___eventData1);
- }
- }
- else
- {
- typedef void (*FunctionPointerType) (void*, int32_t, intptr_t, const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(targetThis, ___eventCount0, ___eventData1, targetMethod);
- }
- }
- }
- }
- // System.IAsyncResult UnityEngineInternal.Input.NativeEventCallback::BeginInvoke(System.Int32,System.IntPtr,System.AsyncCallback,System.Object)
- extern "C" IL2CPP_METHOD_ATTR RuntimeObject* NativeEventCallback_BeginInvoke_m1567248734 (NativeEventCallback_t83445637 * __this, int32_t ___eventCount0, intptr_t ___eventData1, AsyncCallback_t3962456242 * ___callback2, RuntimeObject * ___object3, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_method (NativeEventCallback_BeginInvoke_m1567248734_MetadataUsageId);
- s_Il2CppMethodInitialized = true;
- }
- void *__d_args[3] = {0};
- __d_args[0] = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &___eventCount0);
- __d_args[1] = Box(IntPtr_t_il2cpp_TypeInfo_var, &___eventData1);
- return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback2, (RuntimeObject*)___object3);
- }
- // System.Void UnityEngineInternal.Input.NativeEventCallback::EndInvoke(System.IAsyncResult)
- extern "C" IL2CPP_METHOD_ATTR void NativeEventCallback_EndInvoke_m975817557 (NativeEventCallback_t83445637 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
- {
- il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // Conversion methods for marshalling of: UnityEngineInternal.Input.NativeInputDeviceInfo
- extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke(const NativeInputDeviceInfo_t3032009285& unmarshaled, NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled)
- {
- marshaled.___deviceId_0 = unmarshaled.get_deviceId_0();
- marshaled.___deviceDescriptor_1 = il2cpp_codegen_marshal_string(unmarshaled.get_deviceDescriptor_1());
- }
- extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke_back(const NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled, NativeInputDeviceInfo_t3032009285& unmarshaled)
- {
- int32_t unmarshaled_deviceId_temp_0 = 0;
- unmarshaled_deviceId_temp_0 = marshaled.___deviceId_0;
- unmarshaled.set_deviceId_0(unmarshaled_deviceId_temp_0);
- unmarshaled.set_deviceDescriptor_1(il2cpp_codegen_marshal_string_result(marshaled.___deviceDescriptor_1));
- }
- // Conversion method for clean up from marshalling of: UnityEngineInternal.Input.NativeInputDeviceInfo
- extern "C" void NativeInputDeviceInfo_t3032009285_marshal_pinvoke_cleanup(NativeInputDeviceInfo_t3032009285_marshaled_pinvoke& marshaled)
- {
- il2cpp_codegen_marshal_free(marshaled.___deviceDescriptor_1);
- marshaled.___deviceDescriptor_1 = NULL;
- }
- // Conversion methods for marshalling of: UnityEngineInternal.Input.NativeInputDeviceInfo
- extern "C" void NativeInputDeviceInfo_t3032009285_marshal_com(const NativeInputDeviceInfo_t3032009285& unmarshaled, NativeInputDeviceInfo_t3032009285_marshaled_com& marshaled)
- {
- marshaled.___deviceId_0 = unmarshaled.get_deviceId_0();
- marshaled.___deviceDescriptor_1 = il2cpp_codegen_marshal_bstring(unmarshaled.get_deviceDescriptor_1());
- }
- extern "C" void NativeInputDeviceInfo_t3032009285_marshal_com_back(const NativeInputDeviceInfo_t3032009285_marshaled_com& marshaled, NativeInputDeviceInfo_t3032009285& unmarshaled)
- {
- int32_t unmarshaled_deviceId_temp_0 = 0;
- unmarshaled_deviceId_temp_0 = marshaled.___deviceId_0;
- unmarshaled.set_deviceId_0(unmarshaled_deviceId_temp_0);
- unmarshaled.set_deviceDescriptor_1(il2cpp_codegen_marshal_bstring_result(marshaled.___deviceDescriptor_1));
- }
- // Conversion method for clean up from marshalling of: UnityEngineInternal.Input.NativeInputDeviceInfo
- extern "C" void NativeInputDeviceInfo_t3032009285_marshal_com_cleanup(NativeInputDeviceInfo_t3032009285_marshaled_com& marshaled)
- {
- il2cpp_codegen_marshal_free_bstring(marshaled.___deviceDescriptor_1);
- marshaled.___deviceDescriptor_1 = NULL;
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void UnityEngineInternal.Input.NativeInputSystem::.cctor()
- extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem__cctor_m2718866957 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
- {
- {
- NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293(NULL /*static, unused*/, (bool)0, /*hidden argument*/NULL);
- return;
- }
- }
- // System.Void UnityEngineInternal.Input.NativeInputSystem::NotifyUpdate(UnityEngineInternal.Input.NativeInputUpdateType)
- extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem_NotifyUpdate_m2959317749 (RuntimeObject * __this /* static, unused */, int32_t ___updateType0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_method (NativeInputSystem_NotifyUpdate_m2959317749_MetadataUsageId);
- s_Il2CppMethodInitialized = true;
- }
- NativeUpdateCallback_t2379345390 * V_0 = NULL;
- {
- IL2CPP_RUNTIME_CLASS_INIT(NativeInputSystem_t922881982_il2cpp_TypeInfo_var);
- NativeUpdateCallback_t2379345390 * L_0 = ((NativeInputSystem_t922881982_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_t922881982_il2cpp_TypeInfo_var))->get_onUpdate_0();
- V_0 = L_0;
- NativeUpdateCallback_t2379345390 * L_1 = V_0;
- if (!L_1)
- {
- goto IL_0014;
- }
- }
- {
- NativeUpdateCallback_t2379345390 * L_2 = V_0;
- int32_t L_3 = ___updateType0;
- NullCheck(L_2);
- NativeUpdateCallback_Invoke_m2703513789(L_2, L_3, /*hidden argument*/NULL);
- }
- IL_0014:
- {
- return;
- }
- }
- // System.Void UnityEngineInternal.Input.NativeInputSystem::NotifyEvents(System.Int32,System.IntPtr)
- extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem_NotifyEvents_m2206082579 (RuntimeObject * __this /* static, unused */, int32_t ___eventCount0, intptr_t ___eventData1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_method (NativeInputSystem_NotifyEvents_m2206082579_MetadataUsageId);
- s_Il2CppMethodInitialized = true;
- }
- NativeEventCallback_t83445637 * V_0 = NULL;
- {
- IL2CPP_RUNTIME_CLASS_INIT(NativeInputSystem_t922881982_il2cpp_TypeInfo_var);
- NativeEventCallback_t83445637 * L_0 = ((NativeInputSystem_t922881982_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_t922881982_il2cpp_TypeInfo_var))->get_onEvents_1();
- V_0 = L_0;
- NativeEventCallback_t83445637 * L_1 = V_0;
- if (!L_1)
- {
- goto IL_0015;
- }
- }
- {
- NativeEventCallback_t83445637 * L_2 = V_0;
- int32_t L_3 = ___eventCount0;
- intptr_t L_4 = ___eventData1;
- NullCheck(L_2);
- NativeEventCallback_Invoke_m3430740557(L_2, L_3, L_4, /*hidden argument*/NULL);
- }
- IL_0015:
- {
- return;
- }
- }
- // System.Void UnityEngineInternal.Input.NativeInputSystem::NotifyDeviceDiscovered(UnityEngineInternal.Input.NativeInputDeviceInfo)
- extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem_NotifyDeviceDiscovered_m207573541 (RuntimeObject * __this /* static, unused */, NativeInputDeviceInfo_t3032009285 ___deviceInfo0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_method (NativeInputSystem_NotifyDeviceDiscovered_m207573541_MetadataUsageId);
- s_Il2CppMethodInitialized = true;
- }
- NativeDeviceDiscoveredCallback_t3494240628 * V_0 = NULL;
- {
- IL2CPP_RUNTIME_CLASS_INIT(NativeInputSystem_t922881982_il2cpp_TypeInfo_var);
- NativeDeviceDiscoveredCallback_t3494240628 * L_0 = ((NativeInputSystem_t922881982_StaticFields*)il2cpp_codegen_static_fields_for(NativeInputSystem_t922881982_il2cpp_TypeInfo_var))->get_s_OnDeviceDiscoveredCallback_2();
- V_0 = L_0;
- NativeDeviceDiscoveredCallback_t3494240628 * L_1 = V_0;
- if (!L_1)
- {
- goto IL_0014;
- }
- }
- {
- NativeDeviceDiscoveredCallback_t3494240628 * L_2 = V_0;
- NativeInputDeviceInfo_t3032009285 L_3 = ___deviceInfo0;
- NullCheck(L_2);
- NativeDeviceDiscoveredCallback_Invoke_m2547691835(L_2, L_3, /*hidden argument*/NULL);
- }
- IL_0014:
- {
- return;
- }
- }
- // System.Void UnityEngineInternal.Input.NativeInputSystem::set_hasDeviceDiscoveredCallback(System.Boolean)
- extern "C" IL2CPP_METHOD_ATTR void NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293 (RuntimeObject * __this /* static, unused */, bool ___value0, const RuntimeMethod* method)
- {
- typedef void (*NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293_ftn) (bool);
- static NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293_ftn _il2cpp_icall_func;
- if (!_il2cpp_icall_func)
- _il2cpp_icall_func = (NativeInputSystem_set_hasDeviceDiscoveredCallback_m4093248293_ftn)il2cpp_codegen_resolve_icall ("UnityEngineInternal.Input.NativeInputSystem::set_hasDeviceDiscoveredCallback(System.Boolean)");
- _il2cpp_icall_func(___value0);
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- extern "C" void DelegatePInvokeWrapper_NativeUpdateCallback_t2379345390 (NativeUpdateCallback_t2379345390 * __this, int32_t ___updateType0, const RuntimeMethod* method)
- {
- typedef void (DEFAULT_CALL *PInvokeFunc)(int32_t);
- PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
- // Native function invocation
- il2cppPInvokeFunc(___updateType0);
- }
- // System.Void UnityEngineInternal.Input.NativeUpdateCallback::.ctor(System.Object,System.IntPtr)
- extern "C" IL2CPP_METHOD_ATTR void NativeUpdateCallback__ctor_m1482494726 (NativeUpdateCallback_t2379345390 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
- {
- __this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
- __this->set_method_3(___method1);
- __this->set_m_target_2(___object0);
- }
- // System.Void UnityEngineInternal.Input.NativeUpdateCallback::Invoke(UnityEngineInternal.Input.NativeInputUpdateType)
- extern "C" IL2CPP_METHOD_ATTR void NativeUpdateCallback_Invoke_m2703513789 (NativeUpdateCallback_t2379345390 * __this, int32_t ___updateType0, const RuntimeMethod* method)
- {
- if(__this->get_prev_9() != NULL)
- {
- NativeUpdateCallback_Invoke_m2703513789((NativeUpdateCallback_t2379345390 *)__this->get_prev_9(), ___updateType0, method);
- }
- Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
- RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
- RuntimeObject* targetThis = __this->get_m_target_2();
- il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
- bool ___methodIsStatic = MethodIsStatic(targetMethod);
- if (___methodIsStatic)
- {
- if (il2cpp_codegen_method_parameter_count(targetMethod) == 1)
- {
- // open
- {
- typedef void (*FunctionPointerType) (RuntimeObject *, int32_t, const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(NULL, ___updateType0, targetMethod);
- }
- }
- else
- {
- // closed
- {
- typedef void (*FunctionPointerType) (RuntimeObject *, void*, int32_t, const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___updateType0, targetMethod);
- }
- }
- }
- else
- {
- {
- // closed
- if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
- {
- if (il2cpp_codegen_method_is_generic_instance(targetMethod))
- {
- if (il2cpp_codegen_method_is_interface_method(targetMethod))
- GenericInterfaceActionInvoker1< int32_t >::Invoke(targetMethod, targetThis, ___updateType0);
- else
- GenericVirtActionInvoker1< int32_t >::Invoke(targetMethod, targetThis, ___updateType0);
- }
- else
- {
- if (il2cpp_codegen_method_is_interface_method(targetMethod))
- InterfaceActionInvoker1< int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___updateType0);
- else
- VirtActionInvoker1< int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___updateType0);
- }
- }
- else
- {
- typedef void (*FunctionPointerType) (void*, int32_t, const RuntimeMethod*);
- ((FunctionPointerType)targetMethodPointer)(targetThis, ___updateType0, targetMethod);
- }
- }
- }
- }
- // System.IAsyncResult UnityEngineInternal.Input.NativeUpdateCallback::BeginInvoke(UnityEngineInternal.Input.NativeInputUpdateType,System.AsyncCallback,System.Object)
- extern "C" IL2CPP_METHOD_ATTR RuntimeObject* NativeUpdateCallback_BeginInvoke_m1903744170 (NativeUpdateCallback_t2379345390 * __this, int32_t ___updateType0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___object2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_method (NativeUpdateCallback_BeginInvoke_m1903744170_MetadataUsageId);
- s_Il2CppMethodInitialized = true;
- }
- void *__d_args[2] = {0};
- __d_args[0] = Box(NativeInputUpdateType_t3942820534_il2cpp_TypeInfo_var, &___updateType0);
- return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback1, (RuntimeObject*)___object2);
- }
- // System.Void UnityEngineInternal.Input.NativeUpdateCallback::EndInvoke(System.IAsyncResult)
- extern "C" IL2CPP_METHOD_ATTR void NativeUpdateCallback_EndInvoke_m4221164378 (NativeUpdateCallback_t2379345390 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
- {
- il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
|