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

namespace commanastationwww.eternaltemple
{
	// Token: 0x0200059B RID: 1435
	public class FallowPlayerCamera : MonoBehaviour
	{
		// Token: 0x0600986E RID: 39022 RVA: 0x0027201C File Offset: 0x0027021C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617853, XrefRangeEnd = 617857, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FallowPlayerCamera.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600986F RID: 39023 RVA: 0x00272060 File Offset: 0x00270260
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617857, XrefRangeEnd = 617861, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void LateUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FallowPlayerCamera.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

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

		// Token: 0x06009871 RID: 39025 RVA: 0x002720F0 File Offset: 0x002702F0
		// Note: this type is marked as 'beforefieldinit'.
		static FallowPlayerCamera()
		{
			Il2CppClassPointerStore<FallowPlayerCamera>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "commanastationwww.eternaltemple", "FallowPlayerCamera");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FallowPlayerCamera>.NativeClassPtr);
			FallowPlayerCamera.NativeFieldInfoPtr_player = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FallowPlayerCamera>.NativeClassPtr, "player");
			FallowPlayerCamera.NativeFieldInfoPtr_offset = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FallowPlayerCamera>.NativeClassPtr, "offset");
			FallowPlayerCamera.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FallowPlayerCamera>.NativeClassPtr, 100675154);
			FallowPlayerCamera.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FallowPlayerCamera>.NativeClassPtr, 100675155);
			FallowPlayerCamera.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FallowPlayerCamera>.NativeClassPtr, 100675156);
		}

		// Token: 0x06009872 RID: 39026 RVA: 0x0000351C File Offset: 0x0000171C
		public FallowPlayerCamera(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17003397 RID: 13207
		// (get) Token: 0x06009873 RID: 39027 RVA: 0x00272184 File Offset: 0x00270384
		// (set) Token: 0x06009874 RID: 39028 RVA: 0x002721B8 File Offset: 0x002703B8
		public unsafe GameObject player
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FallowPlayerCamera.NativeFieldInfoPtr_player);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new GameObject(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(FallowPlayerCamera.NativeFieldInfoPtr_player), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003398 RID: 13208
		// (get) Token: 0x06009875 RID: 39029 RVA: 0x002721E0 File Offset: 0x002703E0
		// (set) Token: 0x06009876 RID: 39030 RVA: 0x00272208 File Offset: 0x00270408
		public unsafe Vector3 offset
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FallowPlayerCamera.NativeFieldInfoPtr_offset);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FallowPlayerCamera.NativeFieldInfoPtr_offset)) = value;
			}
		}

		// Token: 0x0400663B RID: 26171
		private static readonly IntPtr NativeFieldInfoPtr_player;

		// Token: 0x0400663C RID: 26172
		private static readonly IntPtr NativeFieldInfoPtr_offset;

		// Token: 0x0400663D RID: 26173
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x0400663E RID: 26174
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x0400663F RID: 26175
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
