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

// Token: 0x020000E6 RID: 230
public class NullSwordEnergy : NullChargeTrack
{
	// Token: 0x060032EE RID: 13038 RVA: 0x000C9614 File Offset: 0x000C7814
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 517532, XrefRangeEnd = 517738, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), NullSwordEnergy.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060032EF RID: 13039 RVA: 0x000C9664 File Offset: 0x000C7864
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetCollisionEnemyEffect(EffectPool Effect)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(Effect);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NullSwordEnergy.NativeMethodInfoPtr_SetCollisionEnemyEffect_Public_Void_EffectPool_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060032F0 RID: 13040 RVA: 0x000C96C0 File Offset: 0x000C78C0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 517738, XrefRangeEnd = 517748, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void SetTarget(Vector3 v3Target)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref v3Target;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), NullSwordEnergy.NativeMethodInfoPtr_SetTarget_Public_Virtual_Void_Vector3_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

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

	// Token: 0x060032F2 RID: 13042 RVA: 0x000C976C File Offset: 0x000C796C
	// Note: this type is marked as 'beforefieldinit'.
	static NullSwordEnergy()
	{
		Il2CppClassPointerStore<NullSwordEnergy>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "NullSwordEnergy");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<NullSwordEnergy>.NativeClassPtr);
		NullSwordEnergy.NativeFieldInfoPtr_g_CollisionEnemyPool = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NullSwordEnergy>.NativeClassPtr, "g_CollisionEnemyPool");
		NullSwordEnergy.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NullSwordEnergy>.NativeClassPtr, 100666456);
		NullSwordEnergy.NativeMethodInfoPtr_SetCollisionEnemyEffect_Public_Void_EffectPool_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NullSwordEnergy>.NativeClassPtr, 100666457);
		NullSwordEnergy.NativeMethodInfoPtr_SetTarget_Public_Virtual_Void_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NullSwordEnergy>.NativeClassPtr, 100666458);
		NullSwordEnergy.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NullSwordEnergy>.NativeClassPtr, 100666459);
	}

	// Token: 0x060032F3 RID: 13043 RVA: 0x000C9800 File Offset: 0x000C7A00
	public NullSwordEnergy(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170012D2 RID: 4818
	// (get) Token: 0x060032F4 RID: 13044 RVA: 0x000C980C File Offset: 0x000C7A0C
	// (set) Token: 0x060032F5 RID: 13045 RVA: 0x000C9840 File Offset: 0x000C7A40
	public unsafe EffectPool g_CollisionEnemyPool
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NullSwordEnergy.NativeFieldInfoPtr_g_CollisionEnemyPool);
			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(NullSwordEnergy.NativeFieldInfoPtr_g_CollisionEnemyPool), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040021AF RID: 8623
	private static readonly IntPtr NativeFieldInfoPtr_g_CollisionEnemyPool;

	// Token: 0x040021B0 RID: 8624
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Virtual_Void_0;

	// Token: 0x040021B1 RID: 8625
	private static readonly IntPtr NativeMethodInfoPtr_SetCollisionEnemyEffect_Public_Void_EffectPool_0;

	// Token: 0x040021B2 RID: 8626
	private static readonly IntPtr NativeMethodInfoPtr_SetTarget_Public_Virtual_Void_Vector3_0;

	// Token: 0x040021B3 RID: 8627
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
