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

// Token: 0x02000335 RID: 821
public class csMouseOrbit : MonoBehaviour
{
	// Token: 0x06006EFD RID: 28413 RVA: 0x001C2CD8 File Offset: 0x001C0ED8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584078, XrefRangeEnd = 584090, 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: 0x06006EFE RID: 28414 RVA: 0x001C2D1C File Offset: 0x001C0F1C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584090, XrefRangeEnd = 584108, 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: 0x06006EFF RID: 28415 RVA: 0x001C2D60 File Offset: 0x001C0F60
	[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: 0x06006F00 RID: 28416 RVA: 0x001C2DE8 File Offset: 0x001C0FE8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584108, XrefRangeEnd = 584109, 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: 0x06006F01 RID: 28417 RVA: 0x001C2E34 File Offset: 0x001C1034
	// 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, 100671550);
		csMouseOrbit.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, 100671551);
		csMouseOrbit.NativeMethodInfoPtr_ClampAngle_Private_Single_Single_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, 100671552);
		csMouseOrbit.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<csMouseOrbit>.NativeClassPtr, 100671553);
	}

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

	// Token: 0x1700265A RID: 9818
	// (get) Token: 0x06006F03 RID: 28419 RVA: 0x001C2F68 File Offset: 0x001C1168
	// (set) Token: 0x06006F04 RID: 28420 RVA: 0x001C2F9C File Offset: 0x001C119C
	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: 0x1700265B RID: 9819
	// (get) Token: 0x06006F05 RID: 28421 RVA: 0x001C2FC4 File Offset: 0x001C11C4
	// (set) Token: 0x06006F06 RID: 28422 RVA: 0x001C2FEC File Offset: 0x001C11EC
	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: 0x1700265C RID: 9820
	// (get) Token: 0x06006F07 RID: 28423 RVA: 0x001C3010 File Offset: 0x001C1210
	// (set) Token: 0x06006F08 RID: 28424 RVA: 0x001C3038 File Offset: 0x001C1238
	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: 0x1700265D RID: 9821
	// (get) Token: 0x06006F09 RID: 28425 RVA: 0x001C305C File Offset: 0x001C125C
	// (set) Token: 0x06006F0A RID: 28426 RVA: 0x001C3084 File Offset: 0x001C1284
	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: 0x1700265E RID: 9822
	// (get) Token: 0x06006F0B RID: 28427 RVA: 0x001C30A8 File Offset: 0x001C12A8
	// (set) Token: 0x06006F0C RID: 28428 RVA: 0x001C30D0 File Offset: 0x001C12D0
	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: 0x1700265F RID: 9823
	// (get) Token: 0x06006F0D RID: 28429 RVA: 0x001C30F4 File Offset: 0x001C12F4
	// (set) Token: 0x06006F0E RID: 28430 RVA: 0x001C311C File Offset: 0x001C131C
	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: 0x17002660 RID: 9824
	// (get) Token: 0x06006F0F RID: 28431 RVA: 0x001C3140 File Offset: 0x001C1340
	// (set) Token: 0x06006F10 RID: 28432 RVA: 0x001C3168 File Offset: 0x001C1368
	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: 0x17002661 RID: 9825
	// (get) Token: 0x06006F11 RID: 28433 RVA: 0x001C318C File Offset: 0x001C138C
	// (set) Token: 0x06006F12 RID: 28434 RVA: 0x001C31B4 File Offset: 0x001C13B4
	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: 0x17002662 RID: 9826
	// (get) Token: 0x06006F13 RID: 28435 RVA: 0x001C31D8 File Offset: 0x001C13D8
	// (set) Token: 0x06006F14 RID: 28436 RVA: 0x001C3200 File Offset: 0x001C1400
	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: 0x040049C5 RID: 18885
	private static readonly IntPtr NativeFieldInfoPtr_Target;

	// Token: 0x040049C6 RID: 18886
	private static readonly IntPtr NativeFieldInfoPtr_distance;

	// Token: 0x040049C7 RID: 18887
	private static readonly IntPtr NativeFieldInfoPtr_xSpeed;

	// Token: 0x040049C8 RID: 18888
	private static readonly IntPtr NativeFieldInfoPtr_ySpeed;

	// Token: 0x040049C9 RID: 18889
	private static readonly IntPtr NativeFieldInfoPtr_yMinLimit;

	// Token: 0x040049CA RID: 18890
	private static readonly IntPtr NativeFieldInfoPtr_yMaxLimit;

	// Token: 0x040049CB RID: 18891
	private static readonly IntPtr NativeFieldInfoPtr_x;

	// Token: 0x040049CC RID: 18892
	private static readonly IntPtr NativeFieldInfoPtr_y;

	// Token: 0x040049CD RID: 18893
	private static readonly IntPtr NativeFieldInfoPtr_CameraDist;

	// Token: 0x040049CE RID: 18894
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x040049CF RID: 18895
	private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

	// Token: 0x040049D0 RID: 18896
	private static readonly IntPtr NativeMethodInfoPtr_ClampAngle_Private_Single_Single_Single_Single_0;

	// Token: 0x040049D1 RID: 18897
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
