using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;
using Il2CppSystem.Collections;
using Obi;
using UnityEngine;

// Token: 0x020003BF RID: 959
public class ObiActorTeleport : MonoBehaviour
{
	// Token: 0x06007A11 RID: 31249 RVA: 0x001F008C File Offset: 0x001EE28C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618118, XrefRangeEnd = 618125, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiActorTeleport.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007A12 RID: 31250 RVA: 0x001F00D0 File Offset: 0x001EE2D0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618125, XrefRangeEnd = 618130, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe IEnumerator Teleport()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiActorTeleport.NativeMethodInfoPtr_Teleport_Private_IEnumerator_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new IEnumerator(intPtr3) : null;
	}

	// Token: 0x06007A13 RID: 31251 RVA: 0x001F0128 File Offset: 0x001EE328
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe ObiActorTeleport()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiActorTeleport>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiActorTeleport.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007A14 RID: 31252 RVA: 0x001F0174 File Offset: 0x001EE374
	// Note: this type is marked as 'beforefieldinit'.
	static ObiActorTeleport()
	{
		Il2CppClassPointerStore<ObiActorTeleport>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ObiActorTeleport");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObiActorTeleport>.NativeClassPtr);
		ObiActorTeleport.NativeFieldInfoPtr_actor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiActorTeleport>.NativeClassPtr, "actor");
		ObiActorTeleport.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiActorTeleport>.NativeClassPtr, 100672467);
		ObiActorTeleport.NativeMethodInfoPtr_Teleport_Private_IEnumerator_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiActorTeleport>.NativeClassPtr, 100672468);
		ObiActorTeleport.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiActorTeleport>.NativeClassPtr, 100672469);
	}

	// Token: 0x06007A15 RID: 31253 RVA: 0x0000351C File Offset: 0x0000171C
	public ObiActorTeleport(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170029CF RID: 10703
	// (get) Token: 0x06007A16 RID: 31254 RVA: 0x001F01F4 File Offset: 0x001EE3F4
	// (set) Token: 0x06007A17 RID: 31255 RVA: 0x001F0228 File Offset: 0x001EE428
	public unsafe ObiActor actor
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiActorTeleport.NativeFieldInfoPtr_actor);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new ObiActor(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiActorTeleport.NativeFieldInfoPtr_actor), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x0400511A RID: 20762
	private static readonly IntPtr NativeFieldInfoPtr_actor;

	// Token: 0x0400511B RID: 20763
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x0400511C RID: 20764
	private static readonly IntPtr NativeMethodInfoPtr_Teleport_Private_IEnumerator_0;

	// Token: 0x0400511D RID: 20765
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x020003C0 RID: 960
	[ObfuscatedName("ObiActorTeleport/<Teleport>d__2")]
	public sealed class _Teleport_d__2 : Il2CppSystem.Object
	{
		// Token: 0x06007A18 RID: 31256 RVA: 0x001F0250 File Offset: 0x001EE450
		[CallerCount(350)]
		[CachedScanResults(RefRangeStart = 11975, RefRangeEnd = 12325, XrefRangeStart = 11975, XrefRangeEnd = 12325, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe _Teleport_d__2(int <>1__state)
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr))
		{
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref <>1__state;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr__ctor_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x06007A19 RID: 31257 RVA: 0x001F02B0 File Offset: 0x001EE4B0
		[CallerCount(5874)]
		[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void System_IDisposable_Dispose()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007A1A RID: 31258 RVA: 0x001F02F4 File Offset: 0x001EE4F4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618104, XrefRangeEnd = 618113, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe bool MoveNext()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}

		// Token: 0x170029D3 RID: 10707
		// (get) Token: 0x06007A1B RID: 31259 RVA: 0x001F0344 File Offset: 0x001EE544
		public unsafe Il2CppSystem.Object Current
		{
			[CallerCount(10)]
			[CachedScanResults(RefRangeStart = 7527, RefRangeEnd = 7537, XrefRangeStart = 7527, XrefRangeEnd = 7537, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				IntPtr intPtr3 = intPtr;
				return (intPtr3 != 0) ? new Il2CppSystem.Object(intPtr3) : null;
			}
		}

		// Token: 0x06007A1C RID: 31260 RVA: 0x001F039C File Offset: 0x001EE59C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618113, XrefRangeEnd = 618118, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void System_Collections_IEnumerator_Reset()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x170029D4 RID: 10708
		// (get) Token: 0x06007A1D RID: 31261 RVA: 0x001F03E0 File Offset: 0x001EE5E0
		public unsafe Il2CppSystem.Object Current
		{
			[CallerCount(10)]
			[CachedScanResults(RefRangeStart = 7527, RefRangeEnd = 7537, XrefRangeStart = 7527, XrefRangeEnd = 7537, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				IntPtr intPtr3 = intPtr;
				return (intPtr3 != 0) ? new Il2CppSystem.Object(intPtr3) : null;
			}
		}

		// Token: 0x06007A1E RID: 31262 RVA: 0x001F0438 File Offset: 0x001EE638
		// Note: this type is marked as 'beforefieldinit'.
		static _Teleport_d__2()
		{
			Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<ObiActorTeleport>.NativeClassPtr, "<Teleport>d__2");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr);
			ObiActorTeleport._Teleport_d__2.NativeFieldInfoPtr___1__state = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr, "<>1__state");
			ObiActorTeleport._Teleport_d__2.NativeFieldInfoPtr___2__current = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr, "<>2__current");
			ObiActorTeleport._Teleport_d__2.NativeFieldInfoPtr___4__this = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr, "<>4__this");
			ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr__ctor_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr, 100672470);
			ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr, 100672471);
			ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr, 100672472);
			ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr, 100672473);
			ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr, 100672474);
			ObiActorTeleport._Teleport_d__2.NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiActorTeleport._Teleport_d__2>.NativeClassPtr, 100672475);
		}

		// Token: 0x06007A1F RID: 31263 RVA: 0x0000A74C File Offset: 0x0000894C
		public _Teleport_d__2(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170029D0 RID: 10704
		// (get) Token: 0x06007A20 RID: 31264 RVA: 0x001F0518 File Offset: 0x001EE718
		// (set) Token: 0x06007A21 RID: 31265 RVA: 0x001F0540 File Offset: 0x001EE740
		public unsafe int __1__state
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiActorTeleport._Teleport_d__2.NativeFieldInfoPtr___1__state);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiActorTeleport._Teleport_d__2.NativeFieldInfoPtr___1__state)) = value;
			}
		}

		// Token: 0x170029D1 RID: 10705
		// (get) Token: 0x06007A22 RID: 31266 RVA: 0x001F0564 File Offset: 0x001EE764
		// (set) Token: 0x06007A23 RID: 31267 RVA: 0x001F0598 File Offset: 0x001EE798
		public unsafe Il2CppSystem.Object __2__current
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiActorTeleport._Teleport_d__2.NativeFieldInfoPtr___2__current);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppSystem.Object(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiActorTeleport._Teleport_d__2.NativeFieldInfoPtr___2__current), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170029D2 RID: 10706
		// (get) Token: 0x06007A24 RID: 31268 RVA: 0x001F05C0 File Offset: 0x001EE7C0
		// (set) Token: 0x06007A25 RID: 31269 RVA: 0x001F05F4 File Offset: 0x001EE7F4
		public unsafe ObiActorTeleport __4__this
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiActorTeleport._Teleport_d__2.NativeFieldInfoPtr___4__this);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new ObiActorTeleport(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiActorTeleport._Teleport_d__2.NativeFieldInfoPtr___4__this), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x0400511E RID: 20766
		private static readonly IntPtr NativeFieldInfoPtr___1__state;

		// Token: 0x0400511F RID: 20767
		private static readonly IntPtr NativeFieldInfoPtr___2__current;

		// Token: 0x04005120 RID: 20768
		private static readonly IntPtr NativeFieldInfoPtr___4__this;

		// Token: 0x04005121 RID: 20769
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_0;

		// Token: 0x04005122 RID: 20770
		private static readonly IntPtr NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0;

		// Token: 0x04005123 RID: 20771
		private static readonly IntPtr NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0;

		// Token: 0x04005124 RID: 20772
		private static readonly IntPtr NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0;

		// Token: 0x04005125 RID: 20773
		private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0;

		// Token: 0x04005126 RID: 20774
		private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0;
	}
}
