using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;

namespace Obi.CrossPlatformInput
{
	// Token: 0x0200050B RID: 1291
	public class InputAxisScrollbar : MonoBehaviour
	{
		// Token: 0x06009278 RID: 37496 RVA: 0x0025B2FC File Offset: 0x002594FC
		[CallerCount(5585)]
		[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InputAxisScrollbar.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009279 RID: 37497 RVA: 0x0025B340 File Offset: 0x00259540
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 613976, XrefRangeEnd = 613982, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void HandleInput(float value)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref value;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InputAxisScrollbar.NativeMethodInfoPtr_HandleInput_Public_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x0600927A RID: 37498 RVA: 0x0025B394 File Offset: 0x00259594
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe InputAxisScrollbar()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<InputAxisScrollbar>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(InputAxisScrollbar.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600927B RID: 37499 RVA: 0x0025B3E0 File Offset: 0x002595E0
		// Note: this type is marked as 'beforefieldinit'.
		static InputAxisScrollbar()
		{
			Il2CppClassPointerStore<InputAxisScrollbar>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi.CrossPlatformInput", "InputAxisScrollbar");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<InputAxisScrollbar>.NativeClassPtr);
			InputAxisScrollbar.NativeFieldInfoPtr_axis = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<InputAxisScrollbar>.NativeClassPtr, "axis");
			InputAxisScrollbar.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InputAxisScrollbar>.NativeClassPtr, 100674696);
			InputAxisScrollbar.NativeMethodInfoPtr_HandleInput_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InputAxisScrollbar>.NativeClassPtr, 100674697);
			InputAxisScrollbar.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<InputAxisScrollbar>.NativeClassPtr, 100674698);
		}

		// Token: 0x0600927C RID: 37500 RVA: 0x0000351C File Offset: 0x0000171C
		public InputAxisScrollbar(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700319C RID: 12700
		// (get) Token: 0x0600927D RID: 37501 RVA: 0x0025B460 File Offset: 0x00259660
		// (set) Token: 0x0600927E RID: 37502 RVA: 0x0025B489 File Offset: 0x00259689
		public unsafe string axis
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(InputAxisScrollbar.NativeFieldInfoPtr_axis);
				return IL2CPP.Il2CppStringToManaged(*intPtr);
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(InputAxisScrollbar.NativeFieldInfoPtr_axis), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x040061AA RID: 25002
		private static readonly IntPtr NativeFieldInfoPtr_axis;

		// Token: 0x040061AB RID: 25003
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x040061AC RID: 25004
		private static readonly IntPtr NativeMethodInfoPtr_HandleInput_Public_Void_Single_0;

		// Token: 0x040061AD RID: 25005
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
