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

// Token: 0x020001E9 RID: 489
public class MagicWall : SceneEvent
{
	// Token: 0x06004E3F RID: 20031 RVA: 0x001383AC File Offset: 0x001365AC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572039, XrefRangeEnd = 572060, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void InitData(SceneEventManager SEM)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(SEM);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MagicWall.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004E40 RID: 20032 RVA: 0x00138410 File Offset: 0x00136610
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572060, XrefRangeEnd = 572067, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void ReleaseEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), MagicWall.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004E41 RID: 20033 RVA: 0x00138460 File Offset: 0x00136660
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572067, XrefRangeEnd = 572085, 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), MagicWall.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004E42 RID: 20034 RVA: 0x001384B0 File Offset: 0x001366B0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572085, XrefRangeEnd = 572086, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe MagicWall()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<MagicWall>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MagicWall.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004E43 RID: 20035 RVA: 0x001384FC File Offset: 0x001366FC
	// Note: this type is marked as 'beforefieldinit'.
	static MagicWall()
	{
		Il2CppClassPointerStore<MagicWall>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "MagicWall");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<MagicWall>.NativeClassPtr);
		MagicWall.NativeFieldInfoPtr_EffectMagicWall = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MagicWall>.NativeClassPtr, "EffectMagicWall");
		MagicWall.NativeFieldInfoPtr_g_Effect = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MagicWall>.NativeClassPtr, "g_Effect");
		MagicWall.NativeFieldInfoPtr_g_BCWall = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MagicWall>.NativeClassPtr, "g_BCWall");
		MagicWall.NativeFieldInfoPtr_PlaySE = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<MagicWall>.NativeClassPtr, "PlaySE");
		MagicWall.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MagicWall>.NativeClassPtr, 100668557);
		MagicWall.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MagicWall>.NativeClassPtr, 100668558);
		MagicWall.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MagicWall>.NativeClassPtr, 100668559);
		MagicWall.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MagicWall>.NativeClassPtr, 100668560);
	}

	// Token: 0x06004E44 RID: 20036 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public MagicWall(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001BFD RID: 7165
	// (get) Token: 0x06004E45 RID: 20037 RVA: 0x001385CC File Offset: 0x001367CC
	// (set) Token: 0x06004E46 RID: 20038 RVA: 0x00138600 File Offset: 0x00136800
	public unsafe GameObject EffectMagicWall
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MagicWall.NativeFieldInfoPtr_EffectMagicWall);
			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(MagicWall.NativeFieldInfoPtr_EffectMagicWall), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001BFE RID: 7166
	// (get) Token: 0x06004E47 RID: 20039 RVA: 0x00138628 File Offset: 0x00136828
	// (set) Token: 0x06004E48 RID: 20040 RVA: 0x0013865C File Offset: 0x0013685C
	public unsafe EffectPool g_Effect
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MagicWall.NativeFieldInfoPtr_g_Effect);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new EffectPool(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(MagicWall.NativeFieldInfoPtr_g_Effect), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001BFF RID: 7167
	// (get) Token: 0x06004E49 RID: 20041 RVA: 0x00138684 File Offset: 0x00136884
	// (set) Token: 0x06004E4A RID: 20042 RVA: 0x001386B8 File Offset: 0x001368B8
	public unsafe BoxCollider g_BCWall
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MagicWall.NativeFieldInfoPtr_g_BCWall);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new BoxCollider(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(MagicWall.NativeFieldInfoPtr_g_BCWall), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C00 RID: 7168
	// (get) Token: 0x06004E4B RID: 20043 RVA: 0x001386E0 File Offset: 0x001368E0
	// (set) Token: 0x06004E4C RID: 20044 RVA: 0x00138708 File Offset: 0x00136908
	public unsafe bool PlaySE
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MagicWall.NativeFieldInfoPtr_PlaySE);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(MagicWall.NativeFieldInfoPtr_PlaySE)) = value;
		}
	}

	// Token: 0x040033C5 RID: 13253
	private static readonly IntPtr NativeFieldInfoPtr_EffectMagicWall;

	// Token: 0x040033C6 RID: 13254
	private static readonly IntPtr NativeFieldInfoPtr_g_Effect;

	// Token: 0x040033C7 RID: 13255
	private static readonly IntPtr NativeFieldInfoPtr_g_BCWall;

	// Token: 0x040033C8 RID: 13256
	private static readonly IntPtr NativeFieldInfoPtr_PlaySE;

	// Token: 0x040033C9 RID: 13257
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x040033CA RID: 13258
	private static readonly IntPtr NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0;

	// Token: 0x040033CB RID: 13259
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040033CC RID: 13260
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
