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

// Token: 0x0200010C RID: 268
public class NullSwordEnergy : NullChargeTrack
{
	// Token: 0x0600360B RID: 13835 RVA: 0x000D6CC0 File Offset: 0x000D4EC0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 542475, XrefRangeEnd = 542681, 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: 0x0600360C RID: 13836 RVA: 0x000D6D10 File Offset: 0x000D4F10
	[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: 0x0600360D RID: 13837 RVA: 0x000D6D6C File Offset: 0x000D4F6C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 542681, XrefRangeEnd = 542691, 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: 0x0600360E RID: 13838 RVA: 0x000D6DCC File Offset: 0x000D4FCC
	[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: 0x0600360F RID: 13839 RVA: 0x000D6E18 File Offset: 0x000D5018
	// 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, 100666741);
		NullSwordEnergy.NativeMethodInfoPtr_SetCollisionEnemyEffect_Public_Void_EffectPool_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NullSwordEnergy>.NativeClassPtr, 100666742);
		NullSwordEnergy.NativeMethodInfoPtr_SetTarget_Public_Virtual_Void_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NullSwordEnergy>.NativeClassPtr, 100666743);
		NullSwordEnergy.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NullSwordEnergy>.NativeClassPtr, 100666744);
	}

	// Token: 0x06003610 RID: 13840 RVA: 0x000D6EAC File Offset: 0x000D50AC
	public NullSwordEnergy(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170013B3 RID: 5043
	// (get) Token: 0x06003611 RID: 13841 RVA: 0x000D6EB8 File Offset: 0x000D50B8
	// (set) Token: 0x06003612 RID: 13842 RVA: 0x000D6EEC File Offset: 0x000D50EC
	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: 0x040023CA RID: 9162
	private static readonly IntPtr NativeFieldInfoPtr_g_CollisionEnemyPool;

	// Token: 0x040023CB RID: 9163
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Virtual_Void_0;

	// Token: 0x040023CC RID: 9164
	private static readonly IntPtr NativeMethodInfoPtr_SetCollisionEnemyEffect_Public_Void_EffectPool_0;

	// Token: 0x040023CD RID: 9165
	private static readonly IntPtr NativeMethodInfoPtr_SetTarget_Public_Virtual_Void_Vector3_0;

	// Token: 0x040023CE RID: 9166
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
