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

namespace commanastationwww.eternaltemple
{
	// Token: 0x020005F3 RID: 1523
	public class FallowPlayerCamera : MonoBehaviour
	{
		// Token: 0x0600A0C1 RID: 41153 RVA: 0x00294D58 File Offset: 0x00292F58
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 650134, XrefRangeEnd = 650138, 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: 0x0600A0C2 RID: 41154 RVA: 0x00294D9C File Offset: 0x00292F9C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 650138, XrefRangeEnd = 650142, 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: 0x0600A0C3 RID: 41155 RVA: 0x00294DE0 File Offset: 0x00292FE0
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x0600A0C4 RID: 41156 RVA: 0x00294E2C File Offset: 0x0029302C
		// 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, 100675867);
			FallowPlayerCamera.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FallowPlayerCamera>.NativeClassPtr, 100675868);
			FallowPlayerCamera.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FallowPlayerCamera>.NativeClassPtr, 100675869);
		}

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

		// Token: 0x17003632 RID: 13874
		// (get) Token: 0x0600A0C6 RID: 41158 RVA: 0x00294EC0 File Offset: 0x002930C0
		// (set) Token: 0x0600A0C7 RID: 41159 RVA: 0x00294EF4 File Offset: 0x002930F4
		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: 0x17003633 RID: 13875
		// (get) Token: 0x0600A0C8 RID: 41160 RVA: 0x00294F1C File Offset: 0x0029311C
		// (set) Token: 0x0600A0C9 RID: 41161 RVA: 0x00294F44 File Offset: 0x00293144
		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: 0x04006BE4 RID: 27620
		private static readonly IntPtr NativeFieldInfoPtr_player;

		// Token: 0x04006BE5 RID: 27621
		private static readonly IntPtr NativeFieldInfoPtr_offset;

		// Token: 0x04006BE6 RID: 27622
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04006BE7 RID: 27623
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x04006BE8 RID: 27624
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
