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

// Token: 0x020001B5 RID: 437
public class AttackableMagicWall_Lightning : AttackableObject
{
	// Token: 0x06004AEE RID: 19182 RVA: 0x0012BB8C File Offset: 0x00129D8C
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void HitPhysical(AttackData AD)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(AD);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), AttackableMagicWall_Lightning.NativeMethodInfoPtr_HitPhysical_Public_Virtual_Void_AttackData_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004AEF RID: 19183 RVA: 0x0012BBF0 File Offset: 0x00129DF0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569531, XrefRangeEnd = 569533, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void HitMagic(AttackData AD)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(AD);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), AttackableMagicWall_Lightning.NativeMethodInfoPtr_HitMagic_Public_Virtual_Void_AttackData_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004AF0 RID: 19184 RVA: 0x0012BC54 File Offset: 0x00129E54
	[CallerCount(15)]
	[CachedScanResults(RefRangeStart = 569516, RefRangeEnd = 569531, XrefRangeStart = 569516, XrefRangeEnd = 569531, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe AttackableMagicWall_Lightning()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<AttackableMagicWall_Lightning>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(AttackableMagicWall_Lightning.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004AF1 RID: 19185 RVA: 0x0012BCA0 File Offset: 0x00129EA0
	// Note: this type is marked as 'beforefieldinit'.
	static AttackableMagicWall_Lightning()
	{
		Il2CppClassPointerStore<AttackableMagicWall_Lightning>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "AttackableMagicWall_Lightning");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<AttackableMagicWall_Lightning>.NativeClassPtr);
		AttackableMagicWall_Lightning.NativeFieldInfoPtr_PS = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AttackableMagicWall_Lightning>.NativeClassPtr, "PS");
		AttackableMagicWall_Lightning.NativeFieldInfoPtr_BC = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AttackableMagicWall_Lightning>.NativeClassPtr, "BC");
		AttackableMagicWall_Lightning.NativeMethodInfoPtr_HitPhysical_Public_Virtual_Void_AttackData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AttackableMagicWall_Lightning>.NativeClassPtr, 100668360);
		AttackableMagicWall_Lightning.NativeMethodInfoPtr_HitMagic_Public_Virtual_Void_AttackData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AttackableMagicWall_Lightning>.NativeClassPtr, 100668361);
		AttackableMagicWall_Lightning.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AttackableMagicWall_Lightning>.NativeClassPtr, 100668362);
	}

	// Token: 0x06004AF2 RID: 19186 RVA: 0x00071BAC File Offset: 0x0006FDAC
	public AttackableMagicWall_Lightning(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001ADF RID: 6879
	// (get) Token: 0x06004AF3 RID: 19187 RVA: 0x0012BD34 File Offset: 0x00129F34
	// (set) Token: 0x06004AF4 RID: 19188 RVA: 0x0012BD68 File Offset: 0x00129F68
	public unsafe ParticleSystem PS
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AttackableMagicWall_Lightning.NativeFieldInfoPtr_PS);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new ParticleSystem(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(AttackableMagicWall_Lightning.NativeFieldInfoPtr_PS), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001AE0 RID: 6880
	// (get) Token: 0x06004AF5 RID: 19189 RVA: 0x0012BD90 File Offset: 0x00129F90
	// (set) Token: 0x06004AF6 RID: 19190 RVA: 0x0012BDC4 File Offset: 0x00129FC4
	public unsafe BoxCollider BC
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AttackableMagicWall_Lightning.NativeFieldInfoPtr_BC);
			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(AttackableMagicWall_Lightning.NativeFieldInfoPtr_BC), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040031A6 RID: 12710
	private static readonly IntPtr NativeFieldInfoPtr_PS;

	// Token: 0x040031A7 RID: 12711
	private static readonly IntPtr NativeFieldInfoPtr_BC;

	// Token: 0x040031A8 RID: 12712
	private static readonly IntPtr NativeMethodInfoPtr_HitPhysical_Public_Virtual_Void_AttackData_0;

	// Token: 0x040031A9 RID: 12713
	private static readonly IntPtr NativeMethodInfoPtr_HitMagic_Public_Virtual_Void_AttackData_0;

	// Token: 0x040031AA RID: 12714
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
