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

// Token: 0x0200038D RID: 909
public class csMouseOrbit : MonoBehaviour
{
	// Token: 0x06007750 RID: 30544 RVA: 0x001E5A20 File Offset: 0x001E3C20
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616379, XrefRangeEnd = 616391, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(csMouseOrbit.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007751 RID: 30545 RVA: 0x001E5A64 File Offset: 0x001E3C64
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616391, XrefRangeEnd = 616409, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void LateUpdate()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(csMouseOrbit.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007752 RID: 30546 RVA: 0x001E5AA8 File Offset: 0x001E3CA8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe float ClampAngle(float ag, float min, float max)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref ag;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref min;
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref max;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(csMouseOrbit.NativeMethodInfoPtr_ClampAngle_Private_Single_Single_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x06007753 RID: 30547 RVA: 0x001E5B30 File Offset: 0x001E3D30
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616409, XrefRangeEnd = 616410, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe csMouseOrbit()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(csMouseOrbit.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007754 RID: 30548 RVA: 0x001E5B7C File Offset: 0x001E3D7C
	// Note: this type is marked as 'beforefieldinit'.
	static csMouseOrbit()
	{
		Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "csMouseOrbit");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr);
		csMouseOrbit.NativeFieldInfoPtr_Target = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, "Target");
		csMouseOrbit.NativeFieldInfoPtr_distance = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, "distance");
		csMouseOrbit.NativeFieldInfoPtr_xSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, "xSpeed");
		csMouseOrbit.NativeFieldInfoPtr_ySpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, "ySpeed");
		csMouseOrbit.NativeFieldInfoPtr_yMinLimit = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, "yMinLimit");
		csMouseOrbit.NativeFieldInfoPtr_yMaxLimit = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, "yMaxLimit");
		csMouseOrbit.NativeFieldInfoPtr_x = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, "x");
		csMouseOrbit.NativeFieldInfoPtr_y = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, "y");
		csMouseOrbit.NativeFieldInfoPtr_CameraDist = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, "CameraDist");
		csMouseOrbit.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, 100672263);
		csMouseOrbit.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, 100672264);
		csMouseOrbit.NativeMethodInfoPtr_ClampAngle_Private_Single_Single_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, 100672265);
		csMouseOrbit.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, 100672266);
	}

	// Token: 0x06007755 RID: 30549 RVA: 0x0000351C File Offset: 0x0000171C
	public csMouseOrbit(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170028F5 RID: 10485
	// (get) Token: 0x06007756 RID: 30550 RVA: 0x001E5CB0 File Offset: 0x001E3EB0
	// (set) Token: 0x06007757 RID: 30551 RVA: 0x001E5CE4 File Offset: 0x001E3EE4
	public unsafe Transform Target
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_Target);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Transform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_Target), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x170028F6 RID: 10486
	// (get) Token: 0x06007758 RID: 30552 RVA: 0x001E5D0C File Offset: 0x001E3F0C
	// (set) Token: 0x06007759 RID: 30553 RVA: 0x001E5D34 File Offset: 0x001E3F34
	public unsafe float distance
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_distance);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_distance)) = value;
		}
	}

	// Token: 0x170028F7 RID: 10487
	// (get) Token: 0x0600775A RID: 30554 RVA: 0x001E5D58 File Offset: 0x001E3F58
	// (set) Token: 0x0600775B RID: 30555 RVA: 0x001E5D80 File Offset: 0x001E3F80
	public unsafe float xSpeed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_xSpeed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_xSpeed)) = value;
		}
	}

	// Token: 0x170028F8 RID: 10488
	// (get) Token: 0x0600775C RID: 30556 RVA: 0x001E5DA4 File Offset: 0x001E3FA4
	// (set) Token: 0x0600775D RID: 30557 RVA: 0x001E5DCC File Offset: 0x001E3FCC
	public unsafe float ySpeed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_ySpeed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_ySpeed)) = value;
		}
	}

	// Token: 0x170028F9 RID: 10489
	// (get) Token: 0x0600775E RID: 30558 RVA: 0x001E5DF0 File Offset: 0x001E3FF0
	// (set) Token: 0x0600775F RID: 30559 RVA: 0x001E5E18 File Offset: 0x001E4018
	public unsafe float yMinLimit
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_yMinLimit);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_yMinLimit)) = value;
		}
	}

	// Token: 0x170028FA RID: 10490
	// (get) Token: 0x06007760 RID: 30560 RVA: 0x001E5E3C File Offset: 0x001E403C
	// (set) Token: 0x06007761 RID: 30561 RVA: 0x001E5E64 File Offset: 0x001E4064
	public unsafe float yMaxLimit
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_yMaxLimit);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_yMaxLimit)) = value;
		}
	}

	// Token: 0x170028FB RID: 10491
	// (get) Token: 0x06007762 RID: 30562 RVA: 0x001E5E88 File Offset: 0x001E4088
	// (set) Token: 0x06007763 RID: 30563 RVA: 0x001E5EB0 File Offset: 0x001E40B0
	public unsafe float x
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_x);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_x)) = value;
		}
	}

	// Token: 0x170028FC RID: 10492
	// (get) Token: 0x06007764 RID: 30564 RVA: 0x001E5ED4 File Offset: 0x001E40D4
	// (set) Token: 0x06007765 RID: 30565 RVA: 0x001E5EFC File Offset: 0x001E40FC
	public unsafe float y
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_y);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_y)) = value;
		}
	}

	// Token: 0x170028FD RID: 10493
	// (get) Token: 0x06007766 RID: 30566 RVA: 0x001E5F20 File Offset: 0x001E4120
	// (set) Token: 0x06007767 RID: 30567 RVA: 0x001E5F48 File Offset: 0x001E4148
	public unsafe float CameraDist
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_CameraDist);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(csMouseOrbit.NativeFieldInfoPtr_CameraDist)) = value;
		}
	}

	// Token: 0x04004F6E RID: 20334
	private static readonly IntPtr NativeFieldInfoPtr_Target;

	// Token: 0x04004F6F RID: 20335
	private static readonly IntPtr NativeFieldInfoPtr_distance;

	// Token: 0x04004F70 RID: 20336
	private static readonly IntPtr NativeFieldInfoPtr_xSpeed;

	// Token: 0x04004F71 RID: 20337
	private static readonly IntPtr NativeFieldInfoPtr_ySpeed;

	// Token: 0x04004F72 RID: 20338
	private static readonly IntPtr NativeFieldInfoPtr_yMinLimit;

	// Token: 0x04004F73 RID: 20339
	private static readonly IntPtr NativeFieldInfoPtr_yMaxLimit;

	// Token: 0x04004F74 RID: 20340
	private static readonly IntPtr NativeFieldInfoPtr_x;

	// Token: 0x04004F75 RID: 20341
	private static readonly IntPtr NativeFieldInfoPtr_y;

	// Token: 0x04004F76 RID: 20342
	private static readonly IntPtr NativeFieldInfoPtr_CameraDist;

	// Token: 0x04004F77 RID: 20343
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004F78 RID: 20344
	private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

	// Token: 0x04004F79 RID: 20345
	private static readonly IntPtr NativeMethodInfoPtr_ClampAngle_Private_Single_Single_Single_Single_0;

	// Token: 0x04004F7A RID: 20346
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
