using System; using Il2CppInterop.Common.Attributes; using Il2CppInterop.Runtime; using UnityEngine; namespace Obi.CrossPlatformInput.PlatformSpecific { // Token: 0x0200056F RID: 1391 public class MobileInput : VirtualInput { // Token: 0x06009B5E RID: 39774 RVA: 0x00280794 File Offset: 0x0027E994 [CallerCount(5)] [CachedScanResults(RefRangeStart = 646547, RefRangeEnd = 646552, XrefRangeStart = 646539, XrefRangeEnd = 646547, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe void AddButton(string name) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MobileInput.NativeMethodInfoPtr_AddButton_Private_Void_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } } // Token: 0x06009B5F RID: 39775 RVA: 0x002807F0 File Offset: 0x0027E9F0 [CallerCount(5)] [CachedScanResults(RefRangeStart = 646560, RefRangeEnd = 646565, XrefRangeStart = 646552, XrefRangeEnd = 646560, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe void AddAxes(string name) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MobileInput.NativeMethodInfoPtr_AddAxes_Private_Void_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } } // Token: 0x06009B60 RID: 39776 RVA: 0x0028084C File Offset: 0x0027EA4C [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 646565, XrefRangeEnd = 646572, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe override float GetAxis(string name, bool raw) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); IntPtr* ptr; checked { ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); } ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref raw; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MobileInput.NativeMethodInfoPtr_GetAxis_Public_Virtual_Single_String_Boolean_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); return *IL2CPP.il2cpp_object_unbox(intPtr); } // Token: 0x06009B61 RID: 39777 RVA: 0x002808D4 File Offset: 0x0027EAD4 [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 646572, XrefRangeEnd = 646581, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe override void SetButtonDown(string name) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MobileInput.NativeMethodInfoPtr_SetButtonDown_Public_Virtual_Void_String_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } } // Token: 0x06009B62 RID: 39778 RVA: 0x00280938 File Offset: 0x0027EB38 [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 646581, XrefRangeEnd = 646590, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe override void SetButtonUp(string name) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MobileInput.NativeMethodInfoPtr_SetButtonUp_Public_Virtual_Void_String_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } } // Token: 0x06009B63 RID: 39779 RVA: 0x0028099C File Offset: 0x0027EB9C [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 646590, XrefRangeEnd = 646597, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe override void SetAxisPositive(string name) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MobileInput.NativeMethodInfoPtr_SetAxisPositive_Public_Virtual_Void_String_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } } // Token: 0x06009B64 RID: 39780 RVA: 0x00280A00 File Offset: 0x0027EC00 [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 646597, XrefRangeEnd = 646604, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe override void SetAxisNegative(string name) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MobileInput.NativeMethodInfoPtr_SetAxisNegative_Public_Virtual_Void_String_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } } // Token: 0x06009B65 RID: 39781 RVA: 0x00280A64 File Offset: 0x0027EC64 [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 646604, XrefRangeEnd = 646611, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe override void SetAxisZero(string name) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MobileInput.NativeMethodInfoPtr_SetAxisZero_Public_Virtual_Void_String_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } } // Token: 0x06009B66 RID: 39782 RVA: 0x00280AC8 File Offset: 0x0027ECC8 [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 646611, XrefRangeEnd = 646618, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe override void SetAxis(string name, float value) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); IntPtr* ptr; checked { ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); } ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref value; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MobileInput.NativeMethodInfoPtr_SetAxis_Public_Virtual_Void_String_Single_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } // Token: 0x06009B67 RID: 39783 RVA: 0x00280B40 File Offset: 0x0027ED40 [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 646618, XrefRangeEnd = 646627, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe override bool GetButtonDown(string name) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MobileInput.NativeMethodInfoPtr_GetButtonDown_Public_Virtual_Boolean_String_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); return *IL2CPP.il2cpp_object_unbox(intPtr); } } // Token: 0x06009B68 RID: 39784 RVA: 0x00280BB4 File Offset: 0x0027EDB4 [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 646627, XrefRangeEnd = 646636, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe override bool GetButtonUp(string name) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MobileInput.NativeMethodInfoPtr_GetButtonUp_Public_Virtual_Boolean_String_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); return *IL2CPP.il2cpp_object_unbox(intPtr); } } // Token: 0x06009B69 RID: 39785 RVA: 0x00280C28 File Offset: 0x0027EE28 [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 646636, XrefRangeEnd = 646643, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe override bool GetButton(string name) { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(name); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MobileInput.NativeMethodInfoPtr_GetButton_Public_Virtual_Boolean_String_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); return *IL2CPP.il2cpp_object_unbox(intPtr); } } // Token: 0x06009B6A RID: 39786 RVA: 0x00280C9C File Offset: 0x0027EE9C [CallerCount(0)] public unsafe override Vector3 MousePosition() { IL2CPP.Il2CppObjectBaseToPtrNotNull(this); IntPtr* ptr = null; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MobileInput.NativeMethodInfoPtr_MousePosition_Public_Virtual_Vector3_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); return *IL2CPP.il2cpp_object_unbox(intPtr); } // Token: 0x06009B6B RID: 39787 RVA: 0x00280CF8 File Offset: 0x0027EEF8 [CallerCount(2)] [CachedScanResults(RefRangeStart = 646644, RefRangeEnd = 646646, XrefRangeStart = 646643, XrefRangeEnd = 646644, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe MobileInput() : this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore.NativeClassPtr)) { IntPtr* ptr = null; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MobileInput.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } // Token: 0x06009B6C RID: 39788 RVA: 0x00280D44 File Offset: 0x0027EF44 // Note: this type is marked as 'beforefieldinit'. static MobileInput() { Il2CppClassPointerStore.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi.CrossPlatformInput.PlatformSpecific", "MobileInput"); IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore.NativeClassPtr); MobileInput.NativeMethodInfoPtr_AddButton_Private_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675464); MobileInput.NativeMethodInfoPtr_AddAxes_Private_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675465); MobileInput.NativeMethodInfoPtr_GetAxis_Public_Virtual_Single_String_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675466); MobileInput.NativeMethodInfoPtr_SetButtonDown_Public_Virtual_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675467); MobileInput.NativeMethodInfoPtr_SetButtonUp_Public_Virtual_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675468); MobileInput.NativeMethodInfoPtr_SetAxisPositive_Public_Virtual_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675469); MobileInput.NativeMethodInfoPtr_SetAxisNegative_Public_Virtual_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675470); MobileInput.NativeMethodInfoPtr_SetAxisZero_Public_Virtual_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675471); MobileInput.NativeMethodInfoPtr_SetAxis_Public_Virtual_Void_String_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675472); MobileInput.NativeMethodInfoPtr_GetButtonDown_Public_Virtual_Boolean_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675473); MobileInput.NativeMethodInfoPtr_GetButtonUp_Public_Virtual_Boolean_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675474); MobileInput.NativeMethodInfoPtr_GetButton_Public_Virtual_Boolean_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675475); MobileInput.NativeMethodInfoPtr_MousePosition_Public_Virtual_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675476); MobileInput.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675477); } // Token: 0x06009B6D RID: 39789 RVA: 0x00280E8C File Offset: 0x0027F08C public MobileInput(IntPtr pointer) : base(pointer) { } // Token: 0x040067C5 RID: 26565 private static readonly IntPtr NativeMethodInfoPtr_AddButton_Private_Void_String_0; // Token: 0x040067C6 RID: 26566 private static readonly IntPtr NativeMethodInfoPtr_AddAxes_Private_Void_String_0; // Token: 0x040067C7 RID: 26567 private static readonly IntPtr NativeMethodInfoPtr_GetAxis_Public_Virtual_Single_String_Boolean_0; // Token: 0x040067C8 RID: 26568 private static readonly IntPtr NativeMethodInfoPtr_SetButtonDown_Public_Virtual_Void_String_0; // Token: 0x040067C9 RID: 26569 private static readonly IntPtr NativeMethodInfoPtr_SetButtonUp_Public_Virtual_Void_String_0; // Token: 0x040067CA RID: 26570 private static readonly IntPtr NativeMethodInfoPtr_SetAxisPositive_Public_Virtual_Void_String_0; // Token: 0x040067CB RID: 26571 private static readonly IntPtr NativeMethodInfoPtr_SetAxisNegative_Public_Virtual_Void_String_0; // Token: 0x040067CC RID: 26572 private static readonly IntPtr NativeMethodInfoPtr_SetAxisZero_Public_Virtual_Void_String_0; // Token: 0x040067CD RID: 26573 private static readonly IntPtr NativeMethodInfoPtr_SetAxis_Public_Virtual_Void_String_Single_0; // Token: 0x040067CE RID: 26574 private static readonly IntPtr NativeMethodInfoPtr_GetButtonDown_Public_Virtual_Boolean_String_0; // Token: 0x040067CF RID: 26575 private static readonly IntPtr NativeMethodInfoPtr_GetButtonUp_Public_Virtual_Boolean_String_0; // Token: 0x040067D0 RID: 26576 private static readonly IntPtr NativeMethodInfoPtr_GetButton_Public_Virtual_Boolean_String_0; // Token: 0x040067D1 RID: 26577 private static readonly IntPtr NativeMethodInfoPtr_MousePosition_Public_Virtual_Vector3_0; // Token: 0x040067D2 RID: 26578 private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0; } }