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

// Token: 0x020001B2 RID: 434
public class MagicWall : SceneEvent
{
	// Token: 0x06004944 RID: 18756 RVA: 0x00123948 File Offset: 0x00121B48
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544147, XrefRangeEnd = 544168, 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: 0x06004945 RID: 18757 RVA: 0x001239AC File Offset: 0x00121BAC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544168, XrefRangeEnd = 544183, 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: 0x06004946 RID: 18758 RVA: 0x001239FC File Offset: 0x00121BFC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544183, XrefRangeEnd = 544201, 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: 0x06004947 RID: 18759 RVA: 0x00123A4C File Offset: 0x00121C4C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544201, XrefRangeEnd = 544202, 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: 0x06004948 RID: 18760 RVA: 0x00123A98 File Offset: 0x00121C98
	// 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, 100668142);
		MagicWall.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MagicWall>.NativeClassPtr, 100668143);
		MagicWall.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MagicWall>.NativeClassPtr, 100668144);
		MagicWall.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MagicWall>.NativeClassPtr, 100668145);
	}

	// Token: 0x06004949 RID: 18761 RVA: 0x00117370 File Offset: 0x00115570
	public MagicWall(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001A86 RID: 6790
	// (get) Token: 0x0600494A RID: 18762 RVA: 0x00123B68 File Offset: 0x00121D68
	// (set) Token: 0x0600494B RID: 18763 RVA: 0x00123B9C File Offset: 0x00121D9C
	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: 0x17001A87 RID: 6791
	// (get) Token: 0x0600494C RID: 18764 RVA: 0x00123BC4 File Offset: 0x00121DC4
	// (set) Token: 0x0600494D RID: 18765 RVA: 0x00123BF8 File Offset: 0x00121DF8
	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: 0x17001A88 RID: 6792
	// (get) Token: 0x0600494E RID: 18766 RVA: 0x00123C20 File Offset: 0x00121E20
	// (set) Token: 0x0600494F RID: 18767 RVA: 0x00123C54 File Offset: 0x00121E54
	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: 0x17001A89 RID: 6793
	// (get) Token: 0x06004950 RID: 18768 RVA: 0x00123C7C File Offset: 0x00121E7C
	// (set) Token: 0x06004951 RID: 18769 RVA: 0x00123CA4 File Offset: 0x00121EA4
	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: 0x04003068 RID: 12392
	private static readonly IntPtr NativeFieldInfoPtr_EffectMagicWall;

	// Token: 0x04003069 RID: 12393
	private static readonly IntPtr NativeFieldInfoPtr_g_Effect;

	// Token: 0x0400306A RID: 12394
	private static readonly IntPtr NativeFieldInfoPtr_g_BCWall;

	// Token: 0x0400306B RID: 12395
	private static readonly IntPtr NativeFieldInfoPtr_PlaySE;

	// Token: 0x0400306C RID: 12396
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x0400306D RID: 12397
	private static readonly IntPtr NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0;

	// Token: 0x0400306E RID: 12398
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x0400306F RID: 12399
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
