using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;

// Token: 0x020001E0 RID: 480
public class TeleportEnable : SceneEvent
{
	// Token: 0x06004BE7 RID: 19431 RVA: 0x0012DA0C File Offset: 0x0012BC0C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546359, XrefRangeEnd = 546369, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OpenEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), TeleportEnable.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004BE8 RID: 19432 RVA: 0x0012DA5C File Offset: 0x0012BC5C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546369, XrefRangeEnd = 546370, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe TeleportEnable()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<TeleportEnable>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(TeleportEnable.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004BE9 RID: 19433 RVA: 0x0012DAA8 File Offset: 0x0012BCA8
	// Note: this type is marked as 'beforefieldinit'.
	static TeleportEnable()
	{
		Il2CppClassPointerStore<TeleportEnable>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "TeleportEnable");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<TeleportEnable>.NativeClassPtr);
		TeleportEnable.NativeFieldInfoPtr_T = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<TeleportEnable>.NativeClassPtr, "T");
		TeleportEnable.NativeFieldInfoPtr_Enable = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<TeleportEnable>.NativeClassPtr, "Enable");
		TeleportEnable.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TeleportEnable>.NativeClassPtr, 100668310);
		TeleportEnable.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TeleportEnable>.NativeClassPtr, 100668311);
	}

	// Token: 0x06004BEA RID: 19434 RVA: 0x00117370 File Offset: 0x00115570
	public TeleportEnable(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B5B RID: 7003
	// (get) Token: 0x06004BEB RID: 19435 RVA: 0x0012DB28 File Offset: 0x0012BD28
	// (set) Token: 0x06004BEC RID: 19436 RVA: 0x0012DB5C File Offset: 0x0012BD5C
	public unsafe Il2CppReferenceArray<Teleport> T
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TeleportEnable.NativeFieldInfoPtr_T);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<Teleport>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(TeleportEnable.NativeFieldInfoPtr_T), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001B5C RID: 7004
	// (get) Token: 0x06004BED RID: 19437 RVA: 0x0012DB84 File Offset: 0x0012BD84
	// (set) Token: 0x06004BEE RID: 19438 RVA: 0x0012DBAC File Offset: 0x0012BDAC
	public unsafe bool Enable
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TeleportEnable.NativeFieldInfoPtr_Enable);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TeleportEnable.NativeFieldInfoPtr_Enable)) = value;
		}
	}

	// Token: 0x0400320D RID: 12813
	private static readonly IntPtr NativeFieldInfoPtr_T;

	// Token: 0x0400320E RID: 12814
	private static readonly IntPtr NativeFieldInfoPtr_Enable;

	// Token: 0x0400320F RID: 12815
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003210 RID: 12816
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
