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

// Token: 0x0200021D RID: 541
public class TeleportEnable : SceneEvent
{
	// Token: 0x06005118 RID: 20760 RVA: 0x0014322C File Offset: 0x0014142C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574460, XrefRangeEnd = 574462, 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: 0x06005119 RID: 20761 RVA: 0x0014327C File Offset: 0x0014147C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574462, XrefRangeEnd = 574463, 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: 0x0600511A RID: 20762 RVA: 0x001432C8 File Offset: 0x001414C8
	// 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, 100668747);
		TeleportEnable.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TeleportEnable>.NativeClassPtr, 100668748);
	}

	// Token: 0x0600511B RID: 20763 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public TeleportEnable(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001CDE RID: 7390
	// (get) Token: 0x0600511C RID: 20764 RVA: 0x00143348 File Offset: 0x00141548
	// (set) Token: 0x0600511D RID: 20765 RVA: 0x0014337C File Offset: 0x0014157C
	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: 0x17001CDF RID: 7391
	// (get) Token: 0x0600511E RID: 20766 RVA: 0x001433A4 File Offset: 0x001415A4
	// (set) Token: 0x0600511F RID: 20767 RVA: 0x001433CC File Offset: 0x001415CC
	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: 0x0400358E RID: 13710
	private static readonly IntPtr NativeFieldInfoPtr_T;

	// Token: 0x0400358F RID: 13711
	private static readonly IntPtr NativeFieldInfoPtr_Enable;

	// Token: 0x04003590 RID: 13712
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003591 RID: 13713
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
